X-Git-Url: http://erislabs.net/gitweb/?a=blobdiff_plain;f=ChangeLog;h=2c8bd845254f0cd39e9347e463d78ff3b7808b05;hb=e37fe028c558a3d0a80b347b745e162f549ea295;hp=c302a51e1e684a6703ece0239413b00095232f61;hpb=7dfbd2504fc25649b478872b2f98705ec76a332e;p=gnulib.git diff --git a/ChangeLog b/ChangeLog index c302a51e1..2c8bd8452 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,395 @@ +2007-03-19 Paul Eggert + + Add limited support for Solaris 10 ZFS-style ACLs: just enough to + handle file_has_acl. + * lib/acl-internal.h, lib/acl_entries.c, lib/file-has-acl.c: New files. + * lib/acl.c: Move header inclusions and related macro defns into + lib/acl-internal.h. + (S_ISLNK): Remove defn, since that's now done for us. + (file_has_acl): Move to lib/file-has-acl.c. + Call acl_trivial if available. This is the crucial part of the fix. + (acl_entries): Move to lib/acl_entries.c. Now extern, since it's + shared within the library. Rewrite a bit, partly to make it compatible + with the GNU coding style. + * m4/acl.m4 (AC_FUNC_ACL): Add AC_LIBOBJ([file-has-acl]). + Remove unnecessary double-quotes. + Don't test for acl_to_text; the build will catch that. + Replace acl_entries if it doesn't exist and it is needed. + Check for -lsec and acl_trivial (as used on Solaris 10). + * modules/acl (Files): Add lib/acl-internal.h, lib/acl_entries.c, + lib/file-has-acl.c. + (Depends-on): Add sys_stat, for S_ISLNK. + +2007-03-19 Ben Pfaff + + * doc/gnulib.texi: Fix typos. + Suggested by Thien-Thi Nguyen . + +2007-03-19 Paul Eggert + + * lib/getcwd.c (__getcwd): Remove redundant comparison of buf to NULL. + If size is zero here, buf must be zero. + +2007-03-19 Simon Josefsson + + * des.c: Remove weak_keys_chksum. Reported by Bruno Haible + . + +2007-03-18 Bruno Haible + + * lib/vasnprintf.c (VASNPRINTF): Undo first part of last patch. + Suggested by Eric Blake. + +2007-03-18 Ben Pfaff + + * doc/relocatable.texi: Recommend using as prefix a directory + that does not exist and will never be created. Based on + discussion with Bruno Haible, Ralf Wildenhues, Matthew Woehlke, + and others. + +2007-03-17 Bruno Haible + + * lib/fchownat.c: Include lchown.h. + +2007-03-17 Bruno Haible + + Fix endless loop when the given allocated size was > INT_MAX. + * lib/vasnprintf.c (EOVERFLOW): New fallback definition. + (VASNPRINTF): Fail with EOVERFLOW when the given allocated size is + larger than INT_MAX, or when it grow to a value larger than INT_MAX. + * lib/vsprintf.c (vsprintf): Don't pass a size > INT_MAX to vasnprintf. + * lib/sprintf.c (sprintf): Likewise. + +2007-03-17 Bruno Haible + + * tests/test-argp-2.sh (func_compare): Output a context diff. + +2007-03-17 Bruno Haible + + * m4/locale-fr.m4 (gt_LOCALE_FR, gt_LOCALE_FR_UTF8): Check also the + locale's decimal-point character. + +2007-03-17 Bruno Haible + + * lib/vasnprintf.c (VASNPRINTF): Clear out the memory used for arg_mem + before comparing it. Needed because on some platforms (e.g. x86) a + 'long double' occupies less bytes than sizeof (long double). + +2007-03-17 Bruno Haible + + * tests/test-crc.c (main): Make printf statements 64-bit clean. + * tests/test-gc-pbkdf2-sha1.c (main): Likewise. + * tests/test-getaddrinfo.c (simple): Likewise. + * tests/test-read-file.c (main): Likewise. + +2007-03-17 Bruno Haible + + * tests/test-dirname.c (main): Make printf statements 64-bit clean. + +2007-03-17 Bruno Haible + + * tests/test-xvasprintf.c (test_xvasprintf, test_xasprintf): Remove + unused variable. + +2007-03-17 Bruno Haible + + * tests/test-c-strcasecmp.c: Include c-strcase.h. + * tests/test-c-strncasecmp.c: Likewise. + +2007-03-17 Bruno Haible + + * modules/stdlib (Depends-on): Add unistd. + * lib/stdlib_.h: Include if mkstemp is desired. + Needed for MacOS X 10.3. + +2007-03-17 Bruno Haible + + * lib/unistr/u-strdup.h: Include . + +2007-03-17 Bruno Haible + + * lib/unistr/u-cpy-alloc.h: Include . + +2007-03-17 Bruno Haible + + * gnulib-tool (func_import): Update .cvsignore and .gitignore files + to reflect files copied from gnulib (with or without modifications). + Suggested by Jim Meyering. + +2007-03-17 Eric Blake + + * NEWS: Document stdlib change from 2007-02-18. + +2007-03-17 Jim Meyering + + Detect use of AC_CONFIG_AUX_DIR also when its argument is quoted. + * build-aux/bootstrap: Put ""s around use of $build_aux, in case + someone uses a name containing shell meta-characters. + Reported by Alfred M. Szmidt. + + * build-aux/bootstrap: Don't use \> in grep regexp. For HP-UX. + +2007-03-16 Alfred M. Szmidt + + * build-aux/bootstrap (with_gettext): New variable. Run autopoint + and copy gettext configuration files only if configure.ac contains + a use of AM_GNU_GETTEXT_VERSION. + +2007-03-16 Alfred M. Szmidt + + * build-aux/bootstrap (gnulib_name): New variable. + (gnulib_tool_options): Use it. + +2007-03-13 Simon Josefsson + + * tests/test-des.c: Use new namespace. + +2007-03-15 Bruno Haible + + * lib/dummy.c (gl_dummy_symbol): Renamed from 'dummy'. + Reported by James Youngman . + +2007-03-15 Bruno Haible + + * lib/glob.c (glob): Add 'restrict' so that prototype matches the + declared prototype. Needed with cc on OSF/1 5.1. + +2007-03-15 Bruno Haible + + * lib/gl_list.h (gl_listelement_dispose_fn): New type. + (gl_list_create_empty, gl_list_create): Add dispose_fn argument. + (struct gl_list_implementation): Add dispose_fn argument to the + 'create_empty', 'create' methods. + (struct gl_list_impl_base): Add field 'dispose_fn'. + * lib/gl_list.c (gl_list_create_empty, gl_list_create): Add dispose_fn + argument. + * lib/gl_array_list.c (gl_array_create_empty, gl_array_create): Add + dispose_fn argument. + (gl_array_remove_node, gl_array_remove_at, gl_array_list_free): Call + dispose_fn on the dropped values. + * lib/gl_carray_list.c (gl_carray_create_empty, gl_carray_create): Add + dispose_fn argument. + (gl_carray_remove_at, gl_carray_list_free): Call dispose_fn on the + dropped values. + * lib/gl_anyavltree_list2.h (gl_tree_create): Add dispose_fn argument. + (gl_tree_remove_node): Call dispose_fn on the dropped value. + * lib/gl_anyrbtree_list2.h (gl_tree_create): Add dispose_fn argument. + (gl_tree_remove_node): Call dispose_fn on the dropped value. + * lib/gl_anytree_list2.h (gl_tree_create_empty): Add dispose_fn + argument. + (gl_tree_list_free): Call dispose_fn on the dropped values. + * lib/gl_anytreehash_list2.h (gl_tree_list_free): Call dispose_fn on + the dropped values. + * lib/gl_anylinked_list2.h (gl_linked_create_empty, gl_linked_create): + Add dispose_fn argument. + (gl_linked_remove_node, gl_linked_remove_at, gl_linked_list_free): + Call dispose_fn on the dropped values. + * lib/gl_sublist.c (gl_sublist_create_empty, gl_sublist_create_fill): + Add dispose_fn argument. + (gl_sublist_create): Initialize the 'dispose_fn' field. + * lib/clean-temp.c (create_temp_dir, register_fd): Update. + * tests/test-array_list.c (main): Update. + * tests/test-carray_list.c (main): Update. + * tests/test-avltree_list.c (main): Update. + * tests/test-rbtree_list.c (main): Update. + * tests/test-avltreehash_list.c (main): Update. + * tests/test-rbtreehash_list.c (main): Update. + * tests/test-linked_list.c (main): Update. + * tests/test-linkedhash_list.c (main): Update. + * tests/test-array_oset.c (main): Update. + +2007-03-15 Bruno Haible + + * lib/gl_oset.h (gl_setelement_dispose_fn): New type. + (gl_oset_create_empty): Add dispose_fn argument. + (struct gl_oset_implementation): Add dispose_fn argument to + 'create_empty' method. + (struct gl_oset_impl_base): Add dispose_fn field. + * lib/gl_oset.c (gl_oset_create_empty): Add dispose_fn argument. + * lib/gl_array_oset.c (gl_array_create_empty): Add dispose_fn argument. + (gl_array_remove_at, gl_array_free): Call dispose_fn on the dropped + values. + * lib/gl_anytree_oset.h (gl_tree_create_empty): Add dispose_fn argument. + (gl_tree_oset_free): Call dispose_fn on the dropped values. + * lib/gl_avltree_oset.c (gl_tree_remove_node): Call dispose_fn on the + dropped value. + * lib/gl_rbtree_oset.c (gl_tree_remove_node): Call dispose_fn on the + dropped value. + * tests/test-array_oset.c (main): Update. + * tests/test-avltree_oset.c (main): Update. + * tests/test-rbtree_oset.c (main): Update. + * lib/gl_anytreehash_list1.h (add_to_bucket): Update. + +2007-03-13 Bruno Haible + + * tests/test-stdbool.c (i): Update after last patch. + +2007-03-12 Bruno Haible + + * lib/quotearg.c: Include early, before the definition of + the iswprint macro. Needed on Solaris 2.5.1. + +2007-03-12 Bruno Haible + + * tests/test-printf-frexp.c (main): Declare x as volatile. + +2007-03-12 Simon Josefsson + + * doc/gnulib.texi (Build robot for gnulib): New section. + +2007-03-12 Jim Meyering + + * build-aux/bootstrap: New file. + * build-aux/bootstrap.conf: New file, from coreutils. + +2007-03-11 Bruno Haible + + * m4/cycle-check.m4 (gl_CYCLE_CHECK): Require AC_C_INLINE. + +2007-03-12 Simon Josefsson + + * lib/des.h, lib/des.c, lib/gc-gnulib.c: Use gl_ namespace, to + avoid collisions with 'des_setkey'. Reported by Bruno Haible + . Also change 'tripledes_' to '3des_'. + +2007-03-11 Bruno Haible + + * m4/locale-tr.m4 (gt_LOCALE_TR_UTF8): If the test program fails to + compile, set LOCALE_TR_UTF8 to 'none' instead of empty. + +2007-03-11 Bruno Haible + + * lib/stdint_.h (INT64_MIN, INTMAX_MIN): Avoid using the ~INT..._MAX + formula. Needed for SunPRO C 5.0. + +2007-03-11 Bruno Haible + + * modules/long-options (Depends-on): Add getopt. + +2007-03-11 Bruno Haible + + * modules/modechange (Depends-on): Add stdbool. + +2007-03-11 Bruno Haible + + * modules/i-ring (Depends-on): Add stdbool. + +2007-03-11 Bruno Haible + + * modules/gc-des (Depends-on): Add stdbool. + +2007-03-11 Bruno Haible + + * m4/mktime.m4 (gl_PREREQ_MKTIME): Require AC_C_INLINE. + +2007-03-11 Bruno Haible + + * m4/mempcpy.m4 (gl_FUNC_MEMPCPY): Require AC_C_RESTRICT. + +2007-03-11 Bruno Haible + + * lib/unistr/u32-mbtouc-unsafe.c (u32_mbtouc_unsafe): Fix syntax error. + +2007-03-11 Bruno Haible + + * lib/vasnprintf.c (sprintf): Undefine. + +2007-03-11 Bruno Haible + + * lib/isnan.c (rpl_isnan, rpl_isnanl): Work around bug regarding + initializers in SunPRO C and Compaq C compilers. + +2007-03-11 Bruno Haible + + * lib/gl_array_oset.c (gl_array_iterator_next): Make pointer + decrementing code ANSI C compliant. + +2007-03-11 Bruno Haible + + * lib/dummy.c [__sun]: Define a dummy variable, not just a typedef. + Needed for Solaris 2.5.1 ranlib and SunPRO C 5.0. + +2007-03-11 Bruno Haible + + * tests/test-stdbool.c (s, d, e, xlcbug): Disable checks that gnulib's + substitute doesn't pass. + +2007-03-11 Bruno Haible + + * lib/vasnprintf.c (snprintf): Undefine. Avoids an endless recursion. + +2007-03-11 Bruno Haible + + * gnulib-tool (func_create_megatestdir): Create also an autobuild + script, for submission to autobuild.josefsson.org. + +2007-03-10 Bruno Haible + + * modules/canonicalize-lgpl-tests: New file. + * tests/test-canonicalize-lgpl.sh: New file. + * tests/test-canonicalize-lgpl.c: New file. + + * modules/c-strcase-tests: New file. + * tests/test-c-strcase.sh: New file. + * tests/test-c-strcasecmp.c: New file. + * tests/test-c-strncasecmp.c: New file. + + * modules/atexit-tests: New file. + * tests/test-atexit.sh: New file. + * tests/test-atexit.c: New file. + +2007-03-10 Bruno Haible + + * tests/test-binary-io.sh: Use temporary filenames that are not so + likely to clash with those of other tests (in a parallel make). + * tests/test-binary-io.c: Likewise. + +2007-03-10 Bruno Haible + + * lib/fseterr.c (fseterr): Port to Solaris/SPARC64. Deactivate the + fallback; use #error instead. + Suggested by Simon Josefsson. + +2007-03-10 Bruno Haible + + * gnulib-tool (func_create_testdir): Treat MOSTLYCLEANFILES like + CLEANFILES. Put spaces in each line of $cleaned_files, not only the + first and the last. + +2007-03-10 Bruno Haible + + * lib/stdint_.h (uint_least64_t): Fix typo in last patch. + +2007-03-10 Bruno Haible + + * modules/snprintf-posix-tests (EXTRA_DIST): New variable. Needed for + "make distcheck". + * modules/sprintf-posix-tests (EXTRA_DIST): Likewise. + * modules/vsnprintf-posix-tests (EXTRA_DIST): Likewise. + * modules/vsprintf-posix-tests (EXTRA_DIST): Likewise. + +2007-03-10 Bruno Haible + + * modules/allocsa-tests (test_allocsa_SOURCES): Remove redundant + variable. + * modules/dirname-tests (test_dirname_SOURCES): Remove redundant + variable. + +2007-03-09 Eric Blake + and Matthew Woehlke (tiny change) + + * lib/stdint_.h (int64_t, uint64_t): Don't undefine if 64-bit + types are not being provided by gnulib. + (GL_INT64_T, GL_UINT64_T): New witnesses of whether gnulib 64-bit + types are supported. + +2007-03-10 Bruno Haible + + * lib/stdio_.h (__attribute__): New macro. + (fprintf, vfprintf, printf, vprintf, snprintf, vsnprintf, sprintf, + vsprintf): Specify __attribute__ __format__ for GCC. + Suggested by Eric Blake. + 2007-03-09 Bruno Haible * modules/printf-posix-tests: New file. @@ -10,7 +402,8 @@ * m4/stdio_h.m4 (gl_STDIO_H_DEFAULTS): Set also GNULIB_PRINTF_POSIX, REPLACE_PRINTF. * lib/stdio_.h (printf): New declaration. - (format, __format__, ____printf____, ____scanf____): New macros. + (format, __format__, ____printf____, ____scanf____, ____strftime____, + ____strfmon____): New macros. * modules/stdio (Makefile.am): Substitute also GNULIB_PRINTF_POSIX, REPLACE_PRINTF.