X-Git-Url: http://erislabs.net/gitweb/?a=blobdiff_plain;f=ChangeLog;h=bd4daf8e228fab6ee91be173509c2cd8a868e790;hb=9b863cbe091485e27568961d23bde16e0ff7dbdb;hp=1ea7dc91ed7e63855ea457a756642ece5cd370e5;hpb=f2baeec957662d9b146c8f8e81fca1be5637a7cc;p=gnulib.git diff --git a/ChangeLog b/ChangeLog index 1ea7dc91e..bd4daf8e2 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,709 @@ +2008-01-09 Ralf Wildenhues + + Support AIX 6.1 and higher. + * build-aux/config.libpath: Likewise. + * build-aux/config.rpath: Likewise. + +2008-01-08 Jim Meyering + Bruno Haible + + * lib/printf-parse.c (PRINTF_PARSE): Handle a size specifier "q" + on MacOS X and a size specifier "I64" on mingw. Needed for PRIdMAX. + Reported by Peter Fales in + . + +2008-01-08 Bruno Haible + + * modules/unictype/category-of (Depends-on): Add + unictype/category-none. + * modules/unictype/category-and-tests (Depends-on): Add + unictype/category-{L,N,Lu,Nd}. + * modules/unictype/category-and-not-tests (Depends-on): Likewise. + * modules/unictype/category-or-tests (Depends-on): Add + unictype/category-{L,N}. + * modules/unictype/category-name-tests (Depends-on): Add + unictype/category-{Z,Nl}. + Reported by Simon Josefsson. + +2008-01-08 Bruno Haible + + * lib/str-kmp.h (knuth_morris_pratt_unibyte): Document the calling + convention better. + * lib/mbsstr.c (knuth_morris_pratt_multibyte): Likewise. + * lib/mbscasestr.c (knuth_morris_pratt_multibyte): Likewise. + Reported by Peter Miller . + +2008-01-08 Bruno Haible + + * m4/wcwidth.m4 (gl_FUNC_WCWIDTH): Test also U+3000. Needed to + detect bug on OpenBSD 4.0. + * doc/functions/wcwidth.texi: Document the OpenBSD bug. + +2008-01-08 Eric Blake + + Rewrite memmem to guarantee linear complexity without malloc. + * lib/memmem.c (memmem): Use Two-Way rather than + Knuth-Morris-Pratt, to allow O(1) space usage. + (critical_factorization, two_way_short_needle) + (two_way_long_needle): New functions. + (knuth_morris_pratt): Delete. + * modules/memmem (Depends-on): No longer need malloca or stdbool. + Add stdint. + * tests/test-memmem.c (main): Add tests for periodic needle and + sublinear performance. + * doc/functions/memmem.texi (memmem): Document other deficiencies + in cygwin and older glibc. + +2008-01-08 Bruno Haible + + * modules/memmem-tests (Makefile.am): Remove TESTS_ENVIRONMENT + augmentation. + +2008-01-08 Mike Frysinger + + Add a configure time option: --disable-acl. + * m4/acl.m4 (gl_FUNC_ACL): Wrap all ACL logic in a call to + AC_ARG_ENABLE(acl). + +2008-01-06 Simon Josefsson + + * tests/test-localename.c: Don't include obsolete "setenv.h". + + * modules/localename-tests (Depends-on): Need unsetenv. + +2008-01-08 Ralf Wildenhues + + * DEPENDENCIES: Require Texinfo version 4.6 or newer. + +2008-01-06 Colin Watson + + * users.txt: Add man-db. + +2008-01-07 Bruno Haible + + * doc/gnulib-intro.texi (Library vs Reusable Code): Restore the + previous section name. + +2008-01-07 Bruno Haible + + * lib/progname.c (set_program_name): Don't strip off a leading + "lt-" prefix outside a .libs directory. + Suggested by Paul Eggert. + +2008-01-01 Sylvain Beucler + Bruno Haible + + Improve memory cleanup in 'relocatable' module. + * lib/relocatable.h (compute_curr_prefix): Change return type to + 'char *'. + * lib/relocatable.c (compute_curr_prefix): Change return type to + 'char *'. Free curr_installdir after use. + (relocate): Free curr_prefix_better after use. + * lib/progreloc.c (prepare_relocate): Free curr_prefix after use. + +2008-01-01 Bruno Haible + + * tests/test-wcwidth.c (main): Relax test of U+2060. Avoids a test + failure on older glibc systems. + Reported by Peter Fales . + +2008-01-05 Eric Blake + + Avoid quadratic system memmem. + * m4/memmem.m4 (gl_FUNC_MEMMEM): Check for quadratic memmem. + Reported by Ralf Wildenhues. + + Fix memmem test for mingw. + * modules/memmem-tests (configure.ac): Check for alarm. + * tests/test-memmem.c (main): Avoid alarm on platforms that lack + it. + * doc/functions/memmem.texi: New file. + * doc/gnulib.texi (Function Substitutes): Add memmem. + Reported by Bruno Haible. + +2008-01-04 Bruno Haible + + * m4/strcase.m4 (gl_FUNC_STRCASECMP, gl_FUNC_STRNCASECMP): + Require gl_HEADER_STRINGS_H_DEFAULTS, not + gl_HEADER_STRING_H_DEFAULTS. + +2008-01-04 Eric Blake + + Shorten duration of memmem test. + * tests/test-memmem.c (main): Use alarm to declare failure if test + is taking too long. + Reported by Ralf Wildenhues. + +2007-12-21 Simon Josefsson + + * modules/relocatable-prog-wrapper (Depends-on): Add intprops and + string, needed by strerror. + +2008-01-03 Colin Watson + Bruno Haible + + * doc/gnulib-tool.texi (Localization): New section. + +2008-01-02 Bruno Haible + + * lib/memmem.c (knuth_morris_pratt, memmem): Change all 'char *' + variables to 'unsigned char *' type. + Reported by Paul Eggert. + +2008-01-02 Jim Meyering + + * lib/version-etc.c (COPYRIGHT_YEAR): Increase for new year. + +2007-12-31 Jim Meyering + + Avoid use of private FTS type name. + * lib/fts.c (fts_sort): Use FTSENT rather than "struct _ftsent". + +2007-12-30 Karl Berry + + * doc/gnulib.texi (Library vs. Reusable Code): remove period, to + work around defect in Texinfo and/or the standalone Info browser. + +2007-12-30 Bruno Haible + + Unify 5 copies of the KMP code. + * lib/str-kmp.h: New file. + * lib/c-strcasestr.c: Include str-kmp.h. + (knuth_morris_pratt): Remove function. + (c_strcasestr): Update. + * lib/c-strstr.c: Include str-kmp.h. + (knuth_morris_pratt): Remove function. + (c_strcasestr): Update. + * lib/mbscasestr.c: Include str-kmp.h. + (knuth_morris_pratt_unibyte): Remove function. + * lib/mbsstr.c: Include str-kmp.h. + (knuth_morris_pratt_unibyte): Remove function. + * lib/strcasestr.c: Include str-kmp.h. + (knuth_morris_pratt): Remove function. + (strcasestr): Update. + * modules/c-strcasestr (Files): Add lib/str-kmp.h. + * modules/c-strstr (Files): Likewise. + * modules/mbscasestr (Files): Likewise. + * modules/mbsstr (Files): Likewise. + * modules/strcasestr (Files): Likewise. + Suggested by Paul Eggert. + +2007-12-30 Bruno Haible + + * lib/xmalloca.c (xmmalloca): Don't define if HAVE_ALLOCA is not + defined. + +2007-12-30 Bruno Haible + + * lib/xmalloca.h: Include xalloc.h. + (xnmalloca): New macro. + +2007-12-30 Bruno Haible + + * lib/malloca.h (nmalloca): New macro. + * lib/c-strcasestr.c (knuth_morris_pratt): Use it. + * lib/c-strstr.c (knuth_morris_pratt): Likewise. + * lib/mbscasestr.c (knuth_morris_pratt_unibyte, + knuth_morris_pratt_multibyte): Likewise. + * lib/mbsstr.c (knuth_morris_pratt_unibyte, + knuth_morris_pratt_multibyte): Likewise. + * lib/memmem.c (knuth_morris_pratt): Likewise. + * lib/strcasestr.c (knuth_morris_pratt): Likewise. + +2007-12-25 Bruno Haible + + Fixup after 2007-10-17 commit. Ensure that 'glob' stays under LGPLv2+. + * lib/glob.c: Don't include openat.h. + (link_exists2_p): Add back the code that deals with the + !GLOB_ALTDIRFUNC case. + (link_exists_p) [!_LIBC && !HAVE_FSTATAT]: Just call link_exists2_p and + let it do the filename concatenation. + * m4/glob.m4 (gl_PREREQ_GLOB): Add check for fstatat. + * modules/glob (Depends-on): Remove openat. + +2007-12-31 Bruno Haible + + * modules/dirfd (License): Change to LGPLv2+. + Approved by Jim Meyering. + +2007-12-29 Paul Eggert + + * lib/memmem.c (knuth_morris_pratt): Check for size_t overflow + when multiplying M by sizeof (size_t). + +2007-12-10 Martin Lambers + + Override getpagesize on mingw. + * lib/getpagesize.c: New file. + * m4/getpagesize.m4 (gl_FUNC_GETPAGESIZE): Enable replacement on mingw. + * modules/getpagesize (Files): Add lib/getpagesize.c. + * lib/unistd.in.h (getpagesize): Declare if we are using a replacement. + * m4/unistd_h.m4 (gl_UNISTD_H_DEFAULTS): Initialize + REPLACE_GETPAGESIZE. + * modules/unistd (Makefile.am): Substitute REPLACE_GETPAGESIZE. + +2007-12-25 Bruno Haible + + * modules/localcharset (Notice): New field. + (configure.ac): Define LOCALCHARSET_TESTS_ENVIRONMENT. + Suggested by Ben Pfaff . + +2007-12-25 Paul Eggert + Bruno Haible + + Avoid using the syntax symbol() in formatted documentation. + * MODULES.html.sh (func_module): When replacing symbol() with a + hyperlink, remove the parentheses. Show an error if some remain. + Recognize and render the '...' syntax. + * doc/alloca-opt.texi: Remove parentheses from symbol reference. + Rework. Add paragraph about GCC's inlining. + * doc/alloca.texi: Likewise. + * doc/error.texi: Remove parentheses from symbol reference. + * doc/gnulib-intro.texi: Likewise. + * doc/gnulib.texi (alloca, alloca-opt): New nodes. + * modules/fnmatch (Description): Reword to say "the ... function". + * modules/full-read (Description): Likewise. + * modules/full-write (Description): Likewise. + * modules/safe-read (Description): Likewise. + * modules/safe-write (Description): Likewise. + * modules/strchrnul (Description): Likewise. + * modules/trim (Description): Likewise. + * modules/error (Description): Remove parentheses from symbol + references. + * modules/verror (Description): Likewise. + Reported by Karl Berry. + +2007-12-25 Bruno Haible + + Fixup after 2007-10-16 commit. + * lib/glob.c (glob_in_dir): Don't use ISO C99 syntax. + +2007-12-24 Bruno Haible + + Make --enable-relocatable work with DESTDIR. + * build-aux/install-reloc: Accept another argument 'destdir'. Use it + to compute installdir from destprog. + * m4/relocatable.m4 (gl_RELOCATABLE_BODY): In INSTALL_PROGRAM_ENV, + also set the RELOC_DESTDIR variable. + Reported by Левашев Иван . + +2007-12-24 Bruno Haible + + Fix link error due to xalloc_die(). + * lib/progreloc.c: When NO_XMALLOC is defined, use areadlink instead + of xreadlink. + * lib/relocwrapper.c: Update comments. + * build-aux/install-reloc: Remove xreadlink.c from file list. + * modules/relocatable-prog-wrapper (Files): Remove xreadlink.h and + xreadlink.c. + Reported by Левашев Иван . + +2007-12-24 Bruno Haible + + Split setenv module into setenv and unsetenv. Get rid of setenv.h. + * lib/setenv.h: Remove file. + * lib/stdlib.in.h (setenv, unsetenv): New declarations, moved here from + lib/setenv.h. + * modules/setenv (Files): Remove lib/setenv.h, lib/unsetenv.c. + (Depends-on): Add stdlib. + (configure.ac): Invoke gl_STDLIB_MODULE_INDICATOR. Don't invoke + gl_FUNC_UNSETENV. + (Include): Replace setenv.h with . + * modules/unsetenv: New file. + * lib/setenv.c: Include first, after alloca.h. + * lib/unsetenv.c: Include first. + * m4/setenv.m4 (gl_FUNC_SETENV, gl_FUNC_SETENV_SEPARATE): Require + gl_STDLIB_H_DEFAULTS. Conditionally set HAVE_SETENV to 0. + (gl_FUNC_UNSETENV): Require gl_STDLIB_H_DEFAULTS. Conditionally set + HAVE_UNSETENV to 0. Set VOID_UNSETENV as an AC_SUBSTed variable. + * modules/stdlib (Makefile.am): Substitute also GNULIB_SETENV, + HAVE_SETENV, GNULIB_UNSETENV, HAVE_UNSETENV, VOID_UNSETENV. + * m4/stdlib_h.m4 (gl_STDLIB_H_DEFAULTS): Initialize GNULIB_SETENV, + HAVE_SETENV, GNULIB_UNSETENV, HAVE_UNSETENV, VOID_UNSETENV. + * doc/functions/unsetenv.texi: Update. + * modules/xsetenv (Depends-on): Add unsetenv. + * modules/getdate (Depends-on): Likewise. + * lib/xsetenv.h: Include instead of setenv.h. + * lib/xsetenv.c: Don't include setenv.h. + * lib/getdate.y: Likewise. + * lib/relocwrapper.c: Likewise. + * modules/relocatable-prog-wrapper (Files): Remove lib/setenv.h. + (Depends-on): Add stdlib. + * NEWS: Mention the changes. + Reported by Левашев Иван . + +2007-12-23 Bruno Haible + + * lib/memmem.c (memmem): Use lowercase variable names. Tab + indentation. + +2007-12-23 Bruno Haible + + * lib/c-strcasestr.c: Add more comments. + * lib/c-strstr.c: Likewise. + * lib/mbscasestr.c: Likewise. + * lib/mbsstr.c: Likewise. + * lib/strcasestr.c: Likewise. + * lib/memmem.c: Likewise. + +2007-12-23 Bruno Haible + + * tests/test-memmem.c: Include first. + +2007-12-22 Bruno Haible + + * gnulib-tool (func_create_testdir): Change $auxdir while generating + the contents of $testsbase. + Reported by Ralf Wildenhues. + +2007-12-22 Bruno Haible + + * gnulib-tool (func_emit_tests_Makefile_am): Replace local_ldadd with + two variables local_ldadd_before, local_ldadd_last. + +2007-12-20 Eric Blake + + Work around circular library issue when cross-compiling. + * lib/progname.c (set_program_name): Use strncmp, not memcmp, so + that progname.o does not need to pull in rpl_memcmp. + +2007-12-19 Eric Blake + + Fix memmem to avoid O(n^2) worst-case complexity. + * lib/memmem.c (knuth_morris_pratt): New function. + (memmem): Use it if first few naive iterations fail. + * m4/memmem.m4 (gl_FUNC_MEMMEM): Detect cygwin bug. + * modules/memcmp (License): Set to LGPLv2+, not LGPL. + * modules/memchr (License): Likewise. + * modules/memmem (Depends-on): Add memcmp, memchr, stdbool, and + malloca. + * tests/test-memmem.c: Rewrite, borrowing ideas from + test-mbsstr1.c; the old version wouldn't even compile! + * modules/memmem-tests: New file. + * lib/string.in.h (rpl_memmem): Add declaration. + * modules/string (Makefile.am): Substitute REPLACE_MEMMEM. + * m4/string_h.m4 (gl_HEADER_STRING_H_DEFAULTS): Default for + REPLACE_MEMMEM. + +2007-12-18 Paul Eggert + + Fix problem with _GL_JUST_INCLUDE_SYSTEM_INTTYPES_H on VMS. + * lib/stdint.in.h (_GL_JUST_INCLUDE_SYSTEM_INTTYPES_H): Define + before any system include files, and undef after them all. This + should fix a problem on VMS reported by John E. Malmberg in + . + +2007-12-17 Eric Blake + + Revert addition of verify, for BSD/OS. + * lib/fseeko.c [!HAVE_FSEEKO]: Allow off_t > long, even though it + can't handle large files, for the sake of obsolete platforms. + * modules/fseeko (Depends-on): Remove verify. + * doc/functions/fseeko.texi (fseeko): Document BSD/OS limitation. + * doc/functions/ftello.texi (ftello): Likewise. + * doc/functions/fgetpos.texi (fgetpos): Likewise. + Reported by Larry Jones. + +2007-12-17 Petr Salinger + + getcwd.c: Use a more readable witness: HAVE_OPENAT_SUPPORT + * lib/getcwd.c: Define and use HAVE_OPENAT_SUPPORT, in place of AT_FDCWD. + +2007-12-17 Jim Meyering + + Port to GNU/kFreeBSD - FreeBSD kernel + GNU libc, + which has no openat syscall, yet does define AT_FDCWD. + * lib/getcwd.c: Undef AT_FDCWD if there is no openat function. + * modules/getcwd (Depends-on): Add openat. + Reported by Petr Salinger. + +2007-12-17 Bruno Haible + + * m4/printf.m4 (gl_PRINTF_INFINITE_LONG_DOUBLE): Use GL_NOCRASH to + avoid a segmentation fault of the configure test on x86_64 systems. + +2007-12-15 Jim Meyering + + * build-aux/gnupload (GPG): Don't hard-code absolute name of gpg binary. + +2007-12-13 Eric Blake + + Another fseek test. + * tests/test-fseek.c (main): Also test ungetc handling. + * tests/test-fseeko.c (main): Likewise. + * modules/fseeko (Depends-on): Add verify. + * lib/fseeko.c [!HAVE_FSEEKO]: Verify that off_t is not too + large. + Reported by Larry Jones. + + Fix fseeko on mingw. + * lib/fseeko.c (rpl_fseeko) [_IOERR]: Reset EOF flag on successful + seek. + + Beef up fseek tests. + * tests/test-fseek.c (main): Also test eof handling. + * tests/test-fseeko.c (main): Likewise. + Reported by Larry Jones. + +2007-12-13 Larry Jones (tiny change) + + Fix fseeko on BSD-based platforms. + * lib/fseeko.c (rpl_fseeko) [__sferror]: Reset EOF flag on + successful seek. + +2007-12-12 Eric Blake + + Allow circular dependency of separate libtests.a + * gnulib-tool (func_emit_tests_Makefile_am): Add AM_LIBTOOLFLAGS + when use_libtests. + +2007-12-11 Eric Blake + + Fix bug with -0.0L in previous patch. + * lib/isnan.c (rpl_isnanl): Make robust to -0.0L and pad bits. + * tests/test-isnan.c (main): Also test on zeroes. + * tests/test-isnanf.c (main): Likewise. + * tests/test-isnanl.h (main): Likewise. + + Detect pseudo-denormals on x86 even when cross-compiling. + * lib/isnan.c (rpl_isnanl) [!KNOWN_EXPBIT0_LOCATION + && USE_LONG_DOUBLE && x86]: Add one more check to filter out + invalid bit patterns that happen to satisfy ==. + + Avoid link failures with separate libtests.a. + * gnulib-tool (func_emit_tests_Makefile_am): Also list local_ldadd + last, to satisfy circular dependencies. + +2007-12-11 Eric Blake + and Bruno Haible + + Fix OpenBSD 4.0 handling of long double. + * m4/float_h.m4 (gl_FLOAT_H): Also claim OpenBSD is broken. + * lib/float.in.h [__OpenBSD__]: Add fixes for OpenBSD. + * doc/headers/float.texi (float.h): Document OpenBSD bug. + +2007-12-11 Jim Meyering + + * users.txt: Add libvirt. + + Support versions of autoconf prior to 2.59c. + * gnulib-tool (func_emit_initmacro_done): Define m4_foreach_w + if it is not already defined. + +2007-12-09 Bruno Haible + + Let 'gnulib-tool --import' collect sources needed for the tests in + tests/ rather than in lib/. + * gnulib-tool (func_emit_tests_Makefile_am): Accept use_libtests + argument. If true, add rules to generate libtests.a, and put libtests.a + into $(LDADD). Consider source files in subdirectories and set + uses_subdirs. + (func_emit_initmacro_start, func_emit_initmacro_end, + func_emit_initmacro_done): Pass all arguments explicitly. + (func_import): Determine two module lists main_modules, + testsrelated_modules. Determine use_libtests. Determine two variables + sed_transform_main_lib_file, sed_transform_testsrelated_lib_file + instead of just sed_transform_lib_file. Determine two variables + main_files and testsrelated_files. Compute 'files' as the union of + both. Adjust sed_rewrite_old_files, sed_rewrite_new_files, + func_add_or_update. In the generated gnulib-comp.m4, collect the + object files for tests/ in different variables than those for lib/. + Substitute LIBTESTS_LIBDEPS. + (func_create_testdir): Combine the uses_subdirs results from + func_emit_lib_Makefile_am and from func_emit_tests_Makefile_am. + +2007-12-09 Bruno Haible + + * gnulib-tool (func_emit_tests_Makefile_am): Expand references to + the build-aux directory. + +2007-12-09 Bruno Haible + + * gnulib-tool (func_emit_tests_Makefile_am): Remove redundant code + introduced on 2006-09-09. + +2007-12-07 Jim Meyering + + Let these macros work also with autoconf-2.59. + * m4/getline.m4 (gl_FUNC_GETLINE): Require only autoconf-2.59. 2.60 + is not needed, since gnulib now permits use of AC_CHECK_DECLS_ONCE. + * m4/getdelim.m4 (gl_FUNC_GETDELIM): Likewise. + +2007-12-06 Jim Meyering + + Avoid a configure-time syntax error in gl_FUNC_ACL. + * m4/acl.m4 (gl_FUNC_ACL): Be careful to check for the acl_trivial + function in each branch, before testing the cache variable. + +2007-12-04 Eric Blake + + Make scripts executable. + * build-aux/config.guess: Add execute permissions. + * build-aux/config.sub: Likewise. + * build-aux/gendocs.sh: Likewise. + + Fix frexp on mingw. + * m4/frexp.m4 (gl_FUNC_FREXP_WORKS): Detect mingw bug when + cross-compiling. + * doc/functions/frexp.texi (frexp): Document the bug. + + Make cygwin fseeko check more reliable. + * m4/stdio_h.m4 (gl_STDIN_LARGE_OFFSET) [__CYGWIN__]: Use cygwin + version numbers, rather than unrelated feature check. + * doc/functions/fseeko.texi (fseeko): Tweak failure report. + * doc/functions/ftello.texi (ftello): Likewise. + Reported by Bruno Haible. + + * m4/strerror.m4: Bump version number. + +2007-12-03 Bruno Haible + + * doc/functions/mprotect.texi: Mention the mingw problem. + +2007-12-03 Eric Blake + + * m4/strerror.m4 (gl_FUNC_STRERROR_SEPARATE): Ensure + REPLACE_STRERROR is initialized before this macro. + +2007-12-03 Paul Eggert + + Add support for Solaris 10 ACLs. Also, ACLs are Gnulib, not Autoconf. + * modules/acl (configure.ac): Rename AC_FUNC_ACL to gl_FUNC_ACL. + * m4/acl.m4 (gl_FUNC_ACL): Renamed from AC_FUNC_ACL. On Solaris, + put -lsec in even for programs other than 'ls'. This fixes a problem + for gettext reported by Bruno Haible in + . + * lib/acl.c (copy_acl, qset_acl) [USE_ACL && defined ACL_NO_TRIVIAL]: + Add support for Solaris 10. This isn't efficient, but should get the + job done for now. + +2007-12-03 James Youngman + + * doc/regexprops-generic.texi: change "an close-group" to "a + close-group" and "illegal" to "not allowed". + +2007-11-23 Ralf Wildenhues + + * lib/unictype/pr_byname.c: Include unictype/pr_byname.h instead of + pr_byname.h. Needed for the rare case when the maintainer has done + "make maintainer-clean" in the source directory and then attempts a + build outside the source directory. + * lib/unictype/scripts.c: Include unictype/scripts_byname.h instead of + scripts_byname.h. + +2007-12-02 Martin Lambers + Bruno Haible + + * lib/getpagesize.h: Remove file. + * lib/unistd.in.h: Include declaration of getpagesize here. + * m4/getpagesize.m4 (gl_FUNC_GETPAGESIZE): Renamed from gl_GETPAGESIZE. + Invoke gl_UNISTD_H_DEFAULTS. Set HAVE_GETPAGESIZE, HAVE_OS_H, + HAVE_SYS_PARAM_H. + * m4/unistd_h.m4 (gl_UNISTD_H_DEFAULTS): Initialize GNULIB_GETPAGESIZE, + HAVE_GETPAGESIZE, HAVE_OS_H, HAVE_SYS_PARAM_H. + * modules/getpagesize (Files): Remove lib/getpagesize.h. + (Depends-on): Add unistd. + (configure.ac): Invoke gl_UNISTD_MODULE_INDICATOR. + (Include): Use instead of getpagesize.h. + * modules/unistd (Makefile.am): Substitute also GNULIB_GETPAGESIZE, + HAVE_GETPAGESIZE, HAVE_OS_H, HAVE_SYS_PARAM_H. + * m4/pagealign_alloc.m4 (gl_PREREQ_PAGEALIGN_ALLOC): Remove + gl_GETPAGESIZE invocation, already handled by module dependency. + * lib/pagealign_alloc.c: Don't include getpagesize.h. + +2007-12-02 Bruno Haible + + * modules/strings-tests: New file. + * tests/test-strings.c: New file. + + Move declarations of str{,n}casecmp from to . + * lib/strings.in.h: New file. + * lib/string.in.h (strcasecmp, strncasecmp): Remove declarations. + * m4/strings_h.m4: New file. + * m4/string_h.m4 (gl_HEADER_STRING_H_DEFAULTS): Remove initialization + of HAVE_STRCASECMP, HAVE_DECL_STRNCASECMP. + * modules/strings: New file. + * modules/string (Makefile.am): Update. + * modules/strcase (Include): Mention , not . + Reported by Karl Berry. + +2007-12-01 Eric Blake + + * m4/stdio_h.m4 (gl_STDIN_LARGE_OFFSET) [__CYGWIN__]: Rewrite to + accomodate fix in cygwin 1.5.25. + +2007-12-01 Jim Meyering + + Fix a bug that inhibited much of the utf8-optimization in regcomp.c. + * lib/regcomp.c (optimize_utf8): Fix a typo, s/idx/ctx_type/, + that would inhibit utf8-optimization of a regexp containing line- + or buffer-anchors, e.g., `^', `$'. + +2007-11-30 Bruno Haible + + * lib/lock.h (gl_recursive_lock_init) [PTHREAD && + PTHREAD_RECURSIVE_MUTEX_INITIALIZER]: Call + glthread_recursive_lock_init. + * lib/lock.c (glthread_recursive_lock_init) + [PTHREAD_RECURSIVE_MUTEX_INITIALIZER]: New function. + Reported by Yoann Vandoorselaere . + +2007-11-28 Paul Eggert + + New function qset_acl, like set_acl but with syscall semantics. + * lib/acl.h (qset_acl): New decl. + * lib/acl.c (qset_acl): New function. + (set_acl): Use new function. Use more-consistent diagnostics. + +2007-11-28 Jim Meyering + + * modules/physmem (License): Change from GPL to LGPLv2+. + +2007-11-26 Bruno Haible + + * lib/vasnprintf.c (decode_long_double): Don't abort if the + 'long double' type has excess precision. + Reported by Jim Meyering in + . + +2007-11-25 Ralf Wildenhues + + * doc/fdl.texi, doc/gpl-3.0.texi, doc/lgpl-3.0.texi: + Sync from . + * modules/agpl-3.0, doc/agpl-3.0.texi: New module, + with license text from same location. + * doc/maintain.texi, doc/standards.texi: Sync from + . + +2007-11-22 Ondřej Vašík + and Jim Meyering + + Adjust getdate' grammar to accept a slightly more regular language. + E.g., accept "YYYYMMDD +N days" as well as "YYYYMMDD N days". + Before, the former was rejected. + * lib/getdate.y (digits_to_date_time): New function, factored + out of ... + (number): ...here. Just call digits_to_date_time. + (hybrid): New non-terminal to handle an sequence consistently. + +2007-11-18 Jim Meyering + + Pull my changes from coreutils: + bootstrap: fix typo to enable use of $gnulib_tool_option_extras. + * build-aux/bootstrap (gnulib_tool_options): Add a space before the + use of $gnulib_tool_option_extras, so that it's separated from the + preceding argument. + + Fix bootstrap failure to handle files like lib/uniwidth/cjk.h. + * build-aux/bootstrap (cp_mark_as_generated): Create any required + parent destination directories before copying a file into place. + +2007-11-18 Sergey Poznyakoff + + bootstrap: work also with 4-argument variant of AC_INIT + * build-aux/bootstrap (gnulib_extra_files): Adjust sed command. + 2007-11-16 Paul Eggert Port test-getaddrinfo to Solaris. @@ -5,8 +711,8 @@ . * tests/test-getaddrinfo.c (simple): Add a comment asking for an explanation of setting 'hints'. - (SERV1, SERV2, SERV3): Don't use "http" and "https"; this doesn't - work in Solaris 10 and earlier. + Don't reject an implementation merely because it returns EAI_SERVICE. + (EAI_SERVICE): Define to 0 if not defined. 2007-11-15 Paul Eggert @@ -978,7 +1684,7 @@ Reported by Eric Blake. 2007-10-27 Ralf Wildenhues - Bruno Haible + Bruno Haible * modules/malloc (configure.ac): Define GNULIB_MALLOC_GNU always. * modules/realloc (configure.ac): Define GNULIB_REALLOC_GNU always. @@ -1325,7 +2031,7 @@ gl_LGPL macro. 2007-10-28 Ralf Wildenhues - Bruno Haible + Bruno Haible * lib/unistr.h (u8_uctomb_aux): Declare also if !HAVE_INLINE. (u16_uctomb_aux): Likewise. @@ -36672,6 +37378,6 @@ * m4/uintmax_t.m4: New file. * m4/Makefile.am (EXTRA_DIST): Add inttypes_h.m4 and uintmax_t.m4. -Copyright (C) 1997-2007 Free Software Foundation, Inc. +Copyright (C) 1997-2008 Free Software Foundation, Inc. Copying and distribution of this file, with or without modification, are permitted provided the copyright notice and this notice are preserved.