X-Git-Url: http://erislabs.net/gitweb/?a=blobdiff_plain;f=ChangeLog;h=92973cbe38d9f71790a60778634b4ff89a857ee6;hb=cb361c968d771304ab68ed5cb8016a6b0c1b8cf2;hp=9758853c3a15d26b9be2209b993e82a5229ebde6;hpb=d99d629a5eb6049f78206277348adae3ce6a522d;p=gnulib.git diff --git a/ChangeLog b/ChangeLog index 9758853c3..92973cbe3 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,938 @@ +2010-01-06 Eric Blake + + maint.mk: detect incorrect GFDL usage + * top/maint.mk (_GFDL_regexp, sc_GFDL_version): New rule. + +2010-01-06 Jim Meyering + and Eric Blake + + maint.mk: ignore multi-line copyright in NEWS + * top/maint.mk (NEWS_hash): Add immunity to multi-line copyright. + +2010-01-06 Eric Blake + + select: add missing dependency + * modules/select-tests (Depends-on): Move sockets dependency... + * modules/select (Depends-on): ...here. + Reported by Ian Beckwith. + + doc: regenerate INSTALL + * doc/INSTALL: Reflect recent autoconf update. + * doc/INSTALL.ISO: Likewise. + * doc/INSTALL.UTF-8: Likewise. + + pread: fix compilation on glibc + * m4/pread.m4 (gl_FUNC_PREAD): Request all interfaces. + Reported by Ralf Wildenhues. + + dirent: fix test failure + * lib/dirent.in.h (includes): Guarantee ino_t. + Reported by Ralf Wildenhues. + +2010-01-06 Petr Salinger (tiny change) + + linkat, renameat: avoid bad free + * lib/at-func2.c (at_func2): Fix typo. + Reported via Ian Beckwith, from http://bugs.debian.org/561117. + +2010-01-06 Ralf Wildenhues + + cleanup after gl_FUNC_READLINK, for gl_FUNC_SYMLINK test + * m4/readlink.m4 (gl_FUNC_READLINK): Remove conftest.lnk2, + to avoid failure of symlink test later. + +2010-01-06 Eric Blake + + stdio, unistd: guarantee ssize_t + * lib/unistd.in.h (includes): Ensure that types required by POSIX + 2008 are exposed when needed. + * lib/stdio.in.h (includes): Likewise. + Reported by Ralf Wildenhues. + +2010-01-06 Paolo Bonzini + + nl_langinfo: do not call AC_CHECK_FUNC_ONCE inside if. + * m4/nl_langinfo.m4 (gl_FUNC_NL_LANGINFO): Do not call + AC_CHECK_FUNC_ONCE inside if, do not adjust ac_cv_func_nl_langinfo. + +2010-01-06 Jim Meyering + + readtokens: this module *does* require xalloc.h + It uses only functions that were omitted by the old syntax-check rule. + * lib/readtokens.c: Include "xalloc.h" once again. + * modules/readtokens (Depends-on): Add xalloc. + This reverts part of 0e0f8f12ec241c0f1c1f21f960bb5cf908a0fa3c. + +2010-01-05 Eric Blake + + maint: support 'make announcement' from a VPATH build + * top/maint.mk (announcement): Look for correct NEWS file. + +2010-01-05 Aurelien Jarno (tiny change) + + utimens (fdutimens): ignore a negative FD, per contract + * lib/utimens.c (fdutimens) [HAVE_FUTIMENS]: Call futimens only + when we have a valid file descriptor. Otherwise, using a brand + new glibc (with just-patched futimens that now fails with EBADF) + would cause this function to fail with ENOSYS. + Reported by Guillaume Ayoub in http://bugs.debian.org/563726. + See also http://bugzilla.redhat.com/552320. + +2010-01-05 Eric Blake + + strcase: document what it provides + * doc/posix-functions/strcasecmp.texi (strcasecmp): Mention the + gnulib module. + * doc/posix-functions/strncasecmp.texi (strncasecmp): Likewise. + Reported by Dilyan Palauzov . + +2010-01-05 Jim Meyering + + maint: remove useless inclusions of "xalloc.h" + * lib/getloadavg.c: Remove useless inclusion of "xalloc.h". + * lib/readtokens.c: Likewise. + * lib/same.c: Likewise. + * modules/getloadavg (Depends-on): Remove alloca. + * modules/readtokens: Likewise. + * modules/same: Likewise. + + maint.mk: include 4 more function names in alloca.h-checking regexp + * top/maint.mk (sc_prohibit_xalloc_without_use): Use more complete + regexp. Before, we would give a false-positive (saying alloca.h + is included unnecessarily) when the only uses involved omitted symbols. + + xalloc.h: use consistent formatting + * lib/xalloc.h: Move declarations to start in the first column. + +2010-01-05 Eric Blake + + mkdir: avoid xalloc + * lib/mkdir.c (includes): Drop unused header. + Reported by John W. Eaton. + +2010-01-04 Jim Meyering + + nl_langinfo: avoid configure-time syntax error + * m4/nl_langinfo.m4 (gl_FUNC_NL_LANGINFO): When we've already tested + for nl_langinfo.h, AC_CHECK_FUNCS_ONCE([nl_langinfo]) expands to + the empty string. Don't let that provoke a shell syntax error. + + regcomp, regexec, fnmatch: avoid array bounds read error + * lib/regcomp.c (build_equiv_class): From glibc: + Use only the low 24 bits of a findidx return value as an index + into the weights array. Patch by Ulrich Drepper: + http://sourceware.org/git/gitweb.cgi?p=glibc.git;a=commit;h=b7d1c5fa30 + * lib/regexec.c (check_node_accept_bytes): Likewise. + * lib/fnmatch_loop.c (FCT): Likewise. + + regcomp: skip collseq lookup when there are no rules + * lib/regcomp.c (lookup_collation_sequence_value): From glibc: + http://sourceware.org/git/gitweb.cgi?p=glibc.git;a=commitdiff;h=a532a41df58 + + regcomp: recognize ill-formed { } expressions + * lib/regcomp.c (parse_dup_op): From glibc: + http://sourceware.org/git/gitweb.cgi?p=glibc.git;a=commitdiff;h=a87cd2894cb + + regcomp: fix typo in comment + * lib/regcomp.c (duplicate_node_closure): Sync from glibc. + s/satisfy/satisfies/. + + regcomp: sync from glibc: remove dead store + * lib/regcomp.c (duplicate_node_closure): Remove useless + search_duplicated_node call and dead store. + + regcomp: sync from glibc; always use nl_langinfo + * lib/regcomp.c (init_dfa) [!LIBC]: Always use nl_langinfo (CODESET), + now that gnulib provides it. Recognize UTF8 as well as UTF-8. + * modules/regex (Depends-on): Add nl_langinfo. + +2010-01-04 Eric Blake + + fdopendir: fix configure test + * m4/fdopendir.m4 (gl_FUNC_FDOPENDIR): Check for existing file. + +2010-01-01 Bruno Haible + + wchar: Remove unused configure check. + * m4/wchar.m4 (gl_WCHAR_H): Don't test whether is standalone. + +2010-01-01 Eric Blake + + headers: make check of system header explicit + * m4/netdb_h.m4 (gl_HEADER_NETDB): Don't exploit knowledge of + gl_CHECK_NEXT_HEADER internals, but call AC_CHECK_HEADERS_ONCE + ourselves. + * m4/search_h.m4 (gl_SEARCH_H): Likewise. + * m4/sys_select_h.m4 (gl_HEADER_SYS_SELECT): Likewise. + * m4/sys_time_h.m4 (gl_HEADER_SYS_TIME_H_BODY): Likewise. + * m4/inttypes.m4 (gl_INTTYPES_H): Likewise, for gt_INTTYPES_PRI + internals. + * m4/wchar.m4 (gl_WCHAR_H): Skip followup test if header is + missing. + Suggested by Bruno Haible. + +2010-01-01 Jim Meyering + + ChangeLog: tweak to eliminate unnecessary copyright line + * ChangeLog: Remove a copyright line that was mistakenly updated + by today's update-copyright run. Reported by Eric Blake. + + test-update-copyright: don't let envvar setting cause test failure + * tests/test-update-copyright.sh: Set UPDATE_COPYRIGHT_MAX_LINE_LENGTH. + +2010-01-01 Bruno Haible + + localename: Avoid gcc warning. + * lib/localename.c (gl_locale_name_thread_unsafe): Don't define this + function if it is not used. + +2010-01-01 Jim Meyering + + update nearly all FSF copyright year lists to include 2010 + Use the same procedure as for 2009, outlined in + http://thread.gmane.org/gmane.comp.lib.gnulib.bugs/20081 + + version-etc: set COPYRIGHT_YEAR to 2010 + * lib/version-etc.c (COPYRIGHT_YEAR): Manually update the enum. + +2009-12-31 Eric Blake + + doc: correct availability of cygwin 1.5.x getopt + * doc/posix-functions/optarg.texi (optarg): Cygwin supplies getopt + variables. + * doc/posix-functions/opterr.texi (opterr): Likewise. + * doc/posix-functions/optind.texi (optind): Likewise. + * doc/posix-functions/optopt.texi (optopt): Likewise. + * doc/posix-functions/tzname.texi (tzname): Likewise. + + openat: update maintainer + * modules/openat (Maintainer): Add myself. + + utimens: avoid shadowing warning + * lib/utimens.c (fdutimens, lutimens): Consolidate separate stat + buffers into one, to avoid shadowing, as well as avoiding a + redundant stat. + Reported by Jim Meyering. + + test-dup2: avoid compiler warning + * tests/test-dup2.c (is_inheritable): Only define if used. + +2010-01-01 Bruno Haible + + vasnprintf: Avoid passing an 'rpl_mbstate_t *' to the system's wcrtomb. + * lib/vasnprintf.c (VASNPRINTF): If GNULIB_defined_mbstate_t is + defined, use wctomb instead of wcrtomb. + +2010-01-01 Bruno Haible + + iconv: Reject native Solaris iconv. + * m4/iconv.m4 (AM_ICONV_LINK): Recognize native Solaris iconv() bug. + * doc/posix-functions/iconv.texi: Document native Solaris iconv() bug. + +2009-12-31 Bruno Haible + + * tests/test-signal.c (main): Remove test of 'SIG'. + +2009-12-31 Bruno Haible + + spawn: Fix incomplete fix. + * lib/spawn.in.h (posix_spawnattr_getflags, posix_spawnattr_setflags, + posix_spawnattr_getpgroup, posix_spawnattr_setpgroup): Correct the link + warnings for GNULIB_POSIXCHECK again. + Reported by Eric Blake. + +2009-12-31 Bruno Haible + + Avoid namespace pollution on glibc systems. + * lib/spawn.in.h: Don't include , on glibc systems. + * lib/sys_times.in.h: Don't include on glibc systems. + * lib/wchar.in.h: Don't include , , on + glibc systems. + +2009-12-31 Bruno Haible + + * m4/wchar.m4 (gl_WCHAR_H): Remove gl_STDDEF_H invocation. + (gl_REPLACE_WCHAR_H): Turn into a no-op. + * m4/arpa_inet_h.m4 (gl_REPLACE_ARPA_INET_H): Likewise. + * m4/dirent_h.m4 (gl_REPLACE_DIRENT_H): Likewise. + * m4/locale_h.m4 (gl_REPLACE_LOCALE_H): Likewise. + * m4/spawn_h.m4 (gl_REPLACE_SPAWN_H): Likewise. + * m4/sys_ioctl_h.m4 (gl_REPLACE_SYS_IOCTL_H): Likewise. + +2009-12-31 Bruno Haible + + * m4/sys_select_h.m4 (gl_HEADER_SYS_SELECT): Invoke + gl_CHECK_NEXT_HEADERS before testing ac_cv_header_sys_select_h, not + afterwards. + +2009-12-31 Bruno Haible + + * m4/sys_utsname_h.m4 (gl_SYS_UTSNAME_H_DEFAULTS): Don't set + SYS_UTSNAME_H. + +2009-12-31 Bruno Haible + + spawn: Fix misapplied patch. + * lib/spawn.in.h (posix_spawnattr_getflags, posix_spawnattr_setflags, + posix_spawnattr_getpgroup, posix_spawnattr_setpgroup): Correct the link + warnings for GNULIB_POSIXCHECK. + +2009-12-31 Bruno Haible + + times: Update after sys_times changed. + * m4/times.m4: New file, extracted from modules/times. Set HAVE_TIMES. + * modules/times (Files): Add it. + (configure.ac): Invoke gl_FUNC_TIMES. + +2009-12-31 Bruno Haible + + Use AC_C_INLINE where necessary. + * m4/chdir-long.m4 (gl_PREREQ_CHDIR_LONG): Require AC_C_INLINE. + * m4/fatal-signal.m4 (gl_FATAL_SIGNAL): Likewise. + * m4/fts.m4 (gl_FUNC_FTS_CORE): Likewise. + * m4/mbchar.m4 (gl_MBCHAR): Likewise. + * m4/mbfile.m4 (gl_MBFILE): Likewise. + * m4/mbiter.m4 (gl_MBITER): Likewise. + * m4/regex.m4 (gl_PREREQ_REGEX): Likewise. + * m4/stat.m4 (gl_FUNC_STAT): Likewise. + * m4/wait-process.m4 (gl_WAIT_PROCESS): Likewise. + * modules/u64 (configure.ac): Likewise. + +2009-12-31 Bruno Haible + + Use AC_C_INLINE instead of module 'inline' where possible. + * modules/inline (Description): Clarify purpose. + * m4/count-one-bits.m4 (gl_COUNT_ONE_BITS): Require AC_C_INLINE. + * modules/count-one-bits (Depends-on): Remove inline. + * m4/openat.m4 (gl_PREREQ_OPENAT): Require AC_C_INLINE. + * modules/openat (Depends-on): Remove inline. + * modules/fdutimensat (Depends-on, configure.ac): Require AC_C_INLINE + instead of depending on module 'inline'. + * modules/filevercmp (Depends-on, configure.ac): Likewise. + * modules/unicase/cased (Depends-on, configure.ac): Likewise. + * modules/unicase/ignorable (Depends-on, configure.ac): Likewise. + * modules/unictype/category-of (Depends-on, configure.ac): Likewise. + * modules/unictype/category-test (Depends-on, configure.ac): Likewise. + * modules/unictype/ctype-alnum (Depends-on, configure.ac): Likewise. + * modules/unictype/ctype-alpha (Depends-on, configure.ac): Likewise. + * modules/unictype/ctype-blank (Depends-on, configure.ac): Likewise. + * modules/unictype/ctype-cntrl (Depends-on, configure.ac): Likewise. + * modules/unictype/ctype-digit (Depends-on, configure.ac): Likewise. + * modules/unictype/ctype-graph (Depends-on, configure.ac): Likewise. + * modules/unictype/ctype-lower (Depends-on, configure.ac): Likewise. + * modules/unictype/ctype-print (Depends-on, configure.ac): Likewise. + * modules/unictype/ctype-punct (Depends-on, configure.ac): Likewise. + * modules/unictype/ctype-space (Depends-on, configure.ac): Likewise. + * modules/unictype/ctype-upper (Depends-on, configure.ac): Likewise. + * modules/unictype/ctype-xdigit (Depends-on, configure.ac): Likewise. + * modules/unictype/property-alphabetic (Depends-on, configure.ac): + Likewise. + * modules/unictype/property-ascii-hex-digit (Depends-on, + configure.ac): Likewise. + * modules/unictype/property-bidi-arabic-digit (Depends-on, + configure.ac): Likewise. + * modules/unictype/property-bidi-arabic-right-to-left (Depends-on, + configure.ac): Likewise. + * modules/unictype/property-bidi-block-separator (Depends-on, + configure.ac): Likewise. + * modules/unictype/property-bidi-boundary-neutral (Depends-on, + configure.ac): Likewise. + * modules/unictype/property-bidi-common-separator (Depends-on, + configure.ac): Likewise. + * modules/unictype/property-bidi-control (Depends-on, configure.ac): + Likewise. + * modules/unictype/property-bidi-embedding-or-override (Depends-on, + configure.ac): Likewise. + * modules/unictype/property-bidi-eur-num-separator (Depends-on, + configure.ac): Likewise. + * modules/unictype/property-bidi-eur-num-terminator (Depends-on, + configure.ac): Likewise. + * modules/unictype/property-bidi-european-digit (Depends-on, + configure.ac): Likewise. + * modules/unictype/property-bidi-hebrew-right-to-left (Depends-on, + configure.ac): Likewise. + * modules/unictype/property-bidi-left-to-right (Depends-on, + configure.ac): Likewise. + * modules/unictype/property-bidi-non-spacing-mark (Depends-on, + configure.ac): Likewise. + * modules/unictype/property-bidi-other-neutral (Depends-on, + configure.ac): Likewise. + * modules/unictype/property-bidi-pdf (Depends-on, configure.ac): + Likewise. + * modules/unictype/property-bidi-segment-separator (Depends-on, + configure.ac): Likewise. + * modules/unictype/property-bidi-whitespace (Depends-on, + configure.ac): Likewise. + * modules/unictype/property-combining (Depends-on, configure.ac): + Likewise. + * modules/unictype/property-composite (Depends-on, configure.ac): + Likewise. + * modules/unictype/property-currency-symbol (Depends-on, + configure.ac): Likewise. + * modules/unictype/property-dash (Depends-on, configure.ac): Likewise. + * modules/unictype/property-decimal-digit (Depends-on, configure.ac): + Likewise. + * modules/unictype/property-default-ignorable-code-point (Depends-on, + configure.ac): Likewise. + * modules/unictype/property-deprecated (Depends-on, configure.ac): + Likewise. + * modules/unictype/property-diacritic (Depends-on, configure.ac): + Likewise. + * modules/unictype/property-extender (Depends-on, configure.ac): + Likewise. + * modules/unictype/property-format-control (Depends-on, configure.ac): + Likewise. + * modules/unictype/property-grapheme-base (Depends-on, configure.ac): + Likewise. + * modules/unictype/property-grapheme-extend (Depends-on, configure.ac): + Likewise. + * modules/unictype/property-grapheme-link (Depends-on, configure.ac): + Likewise. + * modules/unictype/property-hex-digit (Depends-on, configure.ac): + Likewise. + * modules/unictype/property-hyphen (Depends-on, configure.ac): + Likewise. + * modules/unictype/property-id-continue (Depends-on, configure.ac): + Likewise. + * modules/unictype/property-id-start (Depends-on, configure.ac): + Likewise. + * modules/unictype/property-ideographic (Depends-on, configure.ac): + Likewise. + * modules/unictype/property-ids-binary-operator (Depends-on, + configure.ac): Likewise. + * modules/unictype/property-ids-trinary-operator (Depends-on, + configure.ac): Likewise. + * modules/unictype/property-ignorable-control (Depends-on, + configure.ac): Likewise. + * modules/unictype/property-iso-control (Depends-on, configure.ac): + Likewise. + * modules/unictype/property-join-control (Depends-on, configure.ac): + Likewise. + * modules/unictype/property-left-of-pair (Depends-on, configure.ac): + Likewise. + * modules/unictype/property-line-separator (Depends-on, configure.ac): + Likewise. + * modules/unictype/property-logical-order-exception (Depends-on, + configure.ac): Likewise. + * modules/unictype/property-lowercase (Depends-on, configure.ac): + Likewise. + * modules/unictype/property-math (Depends-on, configure.ac): Likewise. + * modules/unictype/property-non-break (Depends-on, configure.ac): + Likewise. + * modules/unictype/property-not-a-character (Depends-on, configure.ac): + Likewise. + * modules/unictype/property-numeric (Depends-on, configure.ac): + Likewise. + * modules/unictype/property-other-alphabetic (Depends-on, + configure.ac): Likewise. + * modules/unictype/property-other-default-ignorable-code-point + (Depends-on, configure.ac): Likewise. + * modules/unictype/property-other-grapheme-extend (Depends-on, + configure.ac): Likewise. + * modules/unictype/property-other-id-continue (Depends-on, + configure.ac): Likewise. + * modules/unictype/property-other-id-start (Depends-on, configure.ac): + Likewise. + * modules/unictype/property-other-lowercase (Depends-on, configure.ac): + Likewise. + * modules/unictype/property-other-math (Depends-on, configure.ac): + Likewise. + * modules/unictype/property-other-uppercase (Depends-on, configure.ac): + Likewise. + * modules/unictype/property-paired-punctuation (Depends-on, + configure.ac): Likewise. + * modules/unictype/property-paragraph-separator (Depends-on, + configure.ac): Likewise. + * modules/unictype/property-pattern-syntax (Depends-on, configure.ac): + Likewise. + * modules/unictype/property-pattern-white-space (Depends-on, + configure.ac): Likewise. + * modules/unictype/property-private-use (Depends-on, configure.ac): + Likewise. + * modules/unictype/property-punctuation (Depends-on, configure.ac): + Likewise. + * modules/unictype/property-quotation-mark (Depends-on, configure.ac): + Likewise. + * modules/unictype/property-radical (Depends-on, configure.ac): + Likewise. + * modules/unictype/property-sentence-terminal (Depends-on, + configure.ac): Likewise. + * modules/unictype/property-soft-dotted (Depends-on, configure.ac): + Likewise. + * modules/unictype/property-space (Depends-on, configure.ac): Likewise. + * modules/unictype/property-terminal-punctuation (Depends-on, + configure.ac): Likewise. + * modules/unictype/property-titlecase (Depends-on, configure.ac): + Likewise. + * modules/unictype/property-unassigned-code-value (Depends-on, + configure.ac): Likewise. + * modules/unictype/property-unified-ideograph (Depends-on, + configure.ac): Likewise. + * modules/unictype/property-uppercase (Depends-on, configure.ac): + Likewise. + * modules/unictype/property-variation-selector (Depends-on, + configure.ac): Likewise. + * modules/unictype/property-white-space (Depends-on, configure.ac): + Likewise. + * modules/unictype/property-xid-continue (Depends-on, configure.ac): + Likewise. + * modules/unictype/property-xid-start (Depends-on, configure.ac): + Likewise. + * modules/unictype/property-zero-width (Depends-on, configure.ac): + Likewise. + * modules/unictype/syntax-c-ident (Depends-on, configure.ac): Likewise. + * modules/unictype/syntax-java-ident (Depends-on, configure.ac): + Likewise. + +2009-12-31 Bruno Haible + + Remove unnecessary AC_C_INLINE invocation. + * m4/popen.m4 (gl_PREREQ_POPEN): Don't invoke AC_C_INLINE. Not needed + since 2009-08-21. + +2009-12-31 Jim Meyering + + maint.mk: don't require explicit gpg_key_ID in cfg.mk + * top/maint.mk (gpg_key_ID): Derive key ID from signed release tag. + With this change, we can all remove the gpg_key_ID = ... definition + from our respective cfg.mk files. + + maint.mk: create announcement template in ~/, not in /tmp + * top/maint.mk (emit_upload_commands): Adjust. + (release-prep): Emit into ~/announce-..., not /tmp/announce-... + Remove temporary file, .ci-msg. + +2009-12-31 Eric Blake + + link-warning: always build headers with link warnings + * modules/arpa_inet (Makefile.am): Always build replacement + header. + * modules/ctype (Makefile.am): Likewise. + * modules/dirent (Makefile.am): Likewise. + * modules/inttypes (Makefile.am): Likewise. + * modules/langinfo (Makefile.am): Likewise. + * modules/locale (Makefile.am): Likewise. + * modules/spawn (Makefile.am): Likewise. + * modules/sys_file (Makefile.am): Likewise. + * modules/sys_ioctl (Makefile.am): Likewise. + * modules/sys_select (Makefile.am): Likewise. + * modules/sys_socket (Makefile.am): Likewise. + * modules/sys_times (Makefile.am): Likewise. + * modules/sys_utsname (Makefile.am): Likewise. + * modules/sys_wait (Makefile.am): Likewise. + * modules/wchar (Makefile.am): Likewise. + * m4/arpa_inet_h.m4 (gl_HEADER_ARPA_INET) + (gl_ARPA_INET_H_DEFAULTS): Drop unneeded variable. + * m4/ctype.m4 (gl_CTYPE_H_DEFAULTS): Likewise. + * m4/isblank.m4 (gl_FUNC_ISBLANK): Likewise. + * m4/dirent_h.m4 (gl_REPLACE_DIRENT_H, gl_DIRENT_H_DEFAULTS): + Likewise. + * m4/inttypes.m4 (gl_INTTYPES_H): Likewise. + * m4/langinfo_h.m4 (gl_LANGINFO_H): Likewise. + * m4/locale_h.m4 (gl_REPLACE_LOCALE_H, gl_LOCALE_H_DEFAULTS): + Likewise. + * m4/spawn_h.m4 (gl_REPLACE_SPAWN_H, gl_SPAWN_H_DEFAULTS): + Likewise. + * m4/sys_file_h.m4 (gl_HEADER_SYS_FILE_H): Likewise. + * m4/sys_ioctl_h.m4 (gl_SYS_IOCTL_H, gl_REPLACE_SYS_IOCTL_H) + (gl_SYS_IOCTL_H_DEFAULTS): Likewise. + * m4/sys_select_h.m4 (gl_HEADER_SYS_SELECT): Likewise. + * m4/sys_times_h.m4 (gl_SYS_TIMES_H): Likewise. + * m4/sys_utsname_h.m4 (gl_SYS_UTSNAME_H) + (gl_SYS_UTSNAME_H_DEFAULTS): Likewise. + * m4/wchar.m4 (gl_WCHAR_H, gl_REPLACE_WCHAR_H) + (gl_WCHAR_H_DEFAULTS): Likewise. + +2009-12-31 Eric Blake + + signal, spawn: use link warnings + * lib/signal.in.h (sigset_t): Make unconditional. + (sigismember, sigemptyset, sigaddset, sigdelset, sigfillset) + (sigpending, sigprocmask, sigaction): Add link warnings. + * lib/spawn.in.h (posix_spawn, posix_spawnp, posix_spawnattr_init) + (posix_spawnattr_destroy, posix_spawnattr_getsigdefault) + (posix_spawnattr_setsigdefault, posix_spawnattr_getsigmask) + (posix_spawnattr_setsigmask, posix_spawnattr_getflags) + (posix_spawnattr_setflags, posix_spawnattr_getpgroup) + (posix_spawnattr_setpgroup, posix_spawnattr_getschedpolicy) + (posix_spawnattr_setschedpolicy, posix_spawnattr_getschedparam) + (posix_spawnattr_setschedparam, posix_spawn_file_actions_init) + (posix_spawn_file_actions_destroy) + (posix_spawn_file_actions_addopen) + (posix_spawn_file_actions_addclose) + (posix_spawwn_file_actions_adddup2): Likewise. + * m4/signal_h.m4 (gl_SIGNAL_H): Guarantee uid_t. + * tests/test-signal.c (main): Enhance test. + + spawn: improve wrapper support + * m4/spawn_h.m4 (gl_SPAWN_H): Check for type existence. + (gl_SPAWN_H_DEFAULTS): New defaults. + * modules/spawn (Makefile.am): Substitute them. + * lib/spawn.in.h: (posix_spawnattr_t, posix_spawn_file_actions_t): + Only declare if missing or broken. + + sys_times, sys_utsname: use include_next + * m4/sys_times_h.m4 (gl_SYS_TIMES_H): Support wrapping an existing + header. + (gl_SYS_TIMES_H_DEFAULTS): Add another variable. + * m4/sys_utsname_h.m4 (gl_SYS_UTSNAME_H) + (gl_SYS_UTSNAME_H_DEFAULTS): Likewise. + * modules/sys_times (Depends-on): Add include_next. + (Makefile.am): Substitute additional values. + * modules/sys_utsname (Depends-on, Makefile.am): Likewise. + * lib/sys_times.in.h (includes): Include native header, if + available. + * lib/sys_utsname.in.h (includes): Likewise. + * tests/test-sys_times.c (main): Enhance test. + + fdutimensat: revert prior patch + * modules/fdutimensat (Depends-on): Re-add inline; it is needed by + utimens.h. + Reported by Bruno Haible. + +2009-12-30 Eric Blake + + sys_wait: drop link-warning dependency + * modules/sys_wait (Depends-on, Makefile.am): Drop unneeded + link-warning efforts. + * lib/sys_wait.in.h: Likewise. + + fdutimensat: remove bogus dependency + * modules/fdutimensat (Depends-on): Drop inline. + + unistd: fix typo + * lib/unistd.in.h (linkat) [GNULIB_POSIXCHECK]: Fix typo. + +2009-12-30 Bruno Haible + + Fix compilation error with Solaris cc. + * lib/unicase/u8-is-invariant.c: Include . + * lib/unicase/u16-is-invariant.c: Likewise. + * lib/unicase/u32-is-invariant.c: Likewise. + Reported by Nelson H. F. Beebe . + +2009-12-30 Bruno Haible + + Fix test crash. + * tests/test-localename.c (test_locale_name_thread): Skip unavailable + locales. + Reported by Simon Josefsson . + +2009-12-30 Bruno Haible + + Fix compilation error on most platforms. + * tests/test-localename.c (categories): Define only if HAVE_NEWLOCALE. + Reported by Simon Josefsson + and Nelson H. F. Beebe . + +2009-12-30 Eric Blake + + futimens, utimensat: work around ntfs-3g bug + * lib/utimensat.c (rpl_utimensat): Drop attempts to cache whether + a ctime bug is present, and expand workaround to cover ntfs-3g. + * lib/utimens.c (fdutimens, lutimens): Likewise. + (utimensat_ctime_really, detect_ctime_bug): Drop cache mechanism. + (validate_timespec): Adjust return value. + * m4/futimens.m4 (gl_FUNC_FUTIMENS): Update comment. + * m4/utimensat.m4 (gl_FUNC_UTIMENSAT): Likewise. + Reported by ctrn3e8 . + +2009-12-29 Eric Blake + + link-warning: make usage consistent + * modules/ctype (Depends-on): Add link-warning. + (Makefile.am): Update rules accordingly. + * modules/langinfo (Depends-on, Makefile.am): Likewise. + * modules/locale (Depends-on, Makefile.am): Likewise. + * modules/sys_file (Makefile.am): Likewise. + * modules/getopt-posix (Makefile.am): Delete unused link warning + efforts. + * lib/ctype.in.h (GL_LINK_WARNING): Ensure definition before use. + * lib/langinfo.in.h (GL_LINK_WARNING): Likewise. + * lib/locale.in.h (GL_LINK_WARNING): Likewise. + * lib/sys_file.in.h (GL_LINK_WARNING): Likewise. + + stdio: remove unused variables + * m4/stdio_h.m4 (gl_STDIO_H_DEFAULTS): Remove unused variables. + * m4/fseeko.m4 (gl_FUNC_FSEEKO): Likewise. + * m4/ftello.m4 (gl_FUNC_FTELLO): Likewise. + + tests: test more substitute headers + * modules/ctype-tests: New file. + * modules/dirent-tests: Likewise. + * modules/spawn-tests: Likewise. + * modules/sys_file-tests: Likewise. + * modules/sys_ioctl-tests: Likewise. + * modules/sys_wait-tests: Likewise. + * tests/test-ctype.c: Likewise. + * tests/test-dirent.c: Likewise. + * tests/test-spawn.c: Likewise. + * tests/test-sys_file.c: Likewise. + * tests/test-sys_ioctl.c: Likewise. + * tests/test-sys_wait.c: Likewise. + * m4/spawn_h.m4 (gl_SPAWN_H): Replace header if it is missing. + * lib/sys_file.in.h (LOCK_SH, LOCK_EX, LOCK_UN, LOCK_NB): Provide + whether or not flock is in use. + + tests: remove License section from module + * modules/arpa_inet-tests: Remove unneeded section. + * modules/byteswap-tests: Likewise. + * modules/ceilf-tests: Likewise. + * modules/ceill-tests: Likewise. + * modules/crypto/des-tests: Likewise. + * modules/crypto/gc-arcfour-tests: Likewise. + * modules/crypto/gc-arctwo-tests: Likewise. + * modules/crypto/gc-des-tests: Likewise. + * modules/crypto/gc-hmac-md5-tests: Likewise. + * modules/crypto/gc-hmac-sha1-tests: Likewise. + * modules/crypto/gc-md2-tests: Likewise. + * modules/crypto/gc-md4-tests: Likewise. + * modules/crypto/gc-md5-tests: Likewise. + * modules/crypto/gc-pbkdf2-sha1-tests: Likewise. + * modules/crypto/gc-rijndael-tests: Likewise. + * modules/crypto/gc-sha1-tests: Likewise. + * modules/crypto/gc-tests: Likewise. + * modules/crypto/md2-tests: Likewise. + * modules/crypto/md4-tests: Likewise. + * modules/fcntl-h-tests: Likewise. + * modules/floorf-tests: Likewise. + * modules/floorl-tests: Likewise. + * modules/frexp-nolibm-tests: Likewise. + * modules/frexp-tests: Likewise. + * modules/frexpl-nolibm-tests: Likewise. + * modules/frexpl-tests: Likewise. + * modules/getaddrinfo-tests: Likewise. + * modules/inttypes-tests: Likewise. + * modules/isfinite-tests: Likewise. + * modules/isinf-tests: Likewise. + * modules/ldexpl-tests: Likewise. + * modules/locale-tests: Likewise. + * modules/math-tests: Likewise. + * modules/netdb-tests: Likewise. + * modules/netinet_in-tests: Likewise. + * modules/printf-frexp-tests: Likewise. + * modules/printf-frexpl-tests: Likewise. + * modules/priv-set-tests: Likewise. + * modules/random_r-tests: Likewise. + * modules/round-tests: Likewise. + * modules/roundf-tests: Likewise. + * modules/roundl-tests: Likewise. + * modules/search-tests: Likewise. + * modules/select-tests: Likewise. + * modules/signal-tests: Likewise. + * modules/stdbool-tests: Likewise. + * modules/stddef-tests: Likewise. + * modules/stdint-tests: Likewise. + * modules/stdio-tests: Likewise. + * modules/stdlib-tests: Likewise. + * modules/string-tests: Likewise. + * modules/strings-tests: Likewise. + * modules/sys_select-tests: Likewise. + * modules/sys_socket-tests: Likewise. + * modules/sys_stat-tests: Likewise. + * modules/sys_time-tests: Likewise. + * modules/sys_utsname-tests: Likewise. + * modules/sysexits-tests: Likewise. + * modules/time-tests: Likewise. + * modules/trunc-tests: Likewise. + * modules/truncf-tests: Likewise. + * modules/truncl-tests: Likewise. + * modules/tsearch-tests: Likewise. + * modules/unistd-tests: Likewise. + * modules/wchar-tests: Likewise. + * modules/wctype-tests: Likewise. + + tests: fix license on several tests + * tests/test-des.c: Update to GPLv3+. + * tests/test-flock.c: Likewise. + * tests/test-fsync.c: Likewise. + * tests/test-futimens.h: Likewise. + * tests/test-gc-arcfour.c: Likewise. + * tests/test-gc-arctwo.c: Likewise. + * tests/test-gc-des.c: Likewise. + * tests/test-gc-hmac-md5.c: Likewise. + * tests/test-gc-hmac-sha1.c: Likewise. + * tests/test-gc-md2.c: Likewise. + * tests/test-gc-md4.c: Likewise. + * tests/test-gc-md5.c: Likewise. + * tests/test-gc-pbkdf2-sha1.c: Likewise. + * tests/test-gc-rijndael.c: Likewise. + * tests/test-gc-sha1.c: Likewise. + * tests/test-gc.c: Likewise. + * tests/test-getcwd.c: Likewise. + * tests/test-link.c: Likewise. + * tests/test-link.h: Likewise. + * tests/test-lutimens.h: Likewise. + * tests/test-md2.c: Likewise. + * tests/test-md4.c: Likewise. + * tests/test-mkdir.h: Likewise. + * tests/test-rename.c: Likewise. + * tests/test-rename.h: Likewise. + * tests/test-safe-alloc.c: Likewise. + * tests/test-utimens-common.h: Likewise. + * tests/test-utimens.h: Likewise. + + maint: sync license texts + * config/srclist.txt: Add gpl-1.3.texi, lgpl-1.3.texi. + * doc/gpl-3.0.texi: Revert copyright year update. + * doc/lgpl-3.0.texi: Likewise. + +2009-12-29 Jim Meyering + + update nearly all FSF copyright year lists to include 2009 + The files named by the following are exempted: + grep -v '^#' config/srclist.txt|grep -v '^$' | while read src dst; do + test -f "$dst" && { echo "$dst"; continue; } + test -d "$dst" || continue + echo "$dst"/$(basename "$src") + done > exempt + git ls-files tests/unictype >> exempt + In the remaining files, convert to all-interval notation if + - there is already at least one year interval like 2000-2003 + - the file is maintained by me + - the file is in lib/uni*/, where that style already prevails + Otherwise, use update-copyright's default. + +2009-12-29 Simon Josefsson + and Eric Blake + + tests: don't require debug system() to pass + * tests/test-lstat.h (test_lstat_func): Move debug cleanup... + * tests/test-rmdir.h (test_rmdir_func): Likewise. + * tests/test-unlink.h (test_unlink_func): Likewise. + * tests/test-fstatat.c (main): ...into callers. + * tests/test-lstat.c (main): Likewise. + * tests/test-rmdir.c (main): Likewise. + * tests/test-unlink.c (main): Likewise. + * tests/test-unlinkat.c (main): Likewise. + * tests/test-areadlink-with-size.c (main): Don't require a + debug-only system call to pass, aiding cross-testing to mingw. + * tests/test-areadlink.c (main): Likewise. + * tests/test-areadlinkat-with-size.c (main): Likewise. + * tests/test-areadlinkat.c (main): Likewise. + * tests/test-canonicalize-lgpl.c (main): Likewise. + * tests/test-canonicalize.c (main): Likewise. + * tests/test-chown.c (main): Likewise. + * tests/test-fchownat.c (main): Likewise. + * tests/test-lchown.c (main): Likewise. + * tests/test-fdutimensat.c (main): Likewise. + * tests/test-futimens.c (main): Likewise. + * tests/test-link.c (main): Likewise. + * tests/test-linkat.c (main): Likewise. + * tests/test-mkdir.c (main): Likewise. + * tests/test-mkdirat.c (main): Likewise. + * tests/test-mkfifo.c (main): Likewise. + * tests/test-mkfifoat.c (main): Likewise. + * tests/test-mknod.c (main): Likewise. + * tests/test-readlink.c (main): Likewise. + * tests/test-remove.c (main): Likewise. + * tests/test-rename.c (main): Likewise. + * tests/test-renameat.c (main): Likewise. + * tests/test-symlink.c (main): Likewise. + * tests/test-symlinkat.c (main): Likewise. + * tests/test-utimens.c (main): Likewise. + * tests/test-utimensat.c (main): Likewise. + +2009-12-29 Simon Josefsson + + * modules/selinux-h (selinux/selinux.h, selinux/context.h): Depend + on $(UNUSED_PARAMETER_H) to avoid build failure. + +2009-12-28 Jim Meyering + + update-copyright: you may specify a max. line length other than 72 + * build-aux/update-copyright: Honor $UPDATE_COPYRIGHT_MAX_LINE_LENGTH. + + maint: use consistent FSF copyright line syntax + * lib/posixtm.c: Add missing comma in FSF copyright line. + * lib/posixtm.h: Likewise. + * lib/getugroups.c: Add missing ", Inc.". + + pmccabe2html: emit consistent FSF copyright; remove trailing blanks + * build-aux/pmccabe2html: Insert comma before "Inc." in emitted + FSF copyright line. Remove trailing blanks. + +2009-12-28 Eric Blake + + test-dup2: reduce dependencies + * modules/cloexec (Configure.ac): Set witness. + * modules/dup2-tests (Depends-on): Drop cloexec. + * tests/test-dup2.c (main): Skip portion of test if cloexec module + not present. + Suggested by Bruno Haible. + +2009-12-26 Bruno Haible + + Remove an unneeded dependency. + * modules/fseterr (Depends-on): Remove dup2. + +2009-12-26 Eric Blake + + tests: use macros.h in more places + * tests/macros.h (ASSERT): Depend on ASSERT_STREAM. + (ASSERT_STREAM): Provide default of stderr. + * tests/test-dirent-safer.c: Include macros.h, using alternate + stream for assertions. + * tests/test-dup-safer.c: Likewise. + * tests/test-freopen-safer.c: Likewise. + * tests/test-getopt.c: Likewise. + * tests/test-openat-safer.c: Likewise. + * tests/test-pipe.c: Likewise. + * tests/test-popen-safer.c: Likewise. + * modules/dirent-safer-tests (Files): Include macros.h. + * modules/unistd-safer-tests (Files): Likewise. + * modules/freopen-safer-tests (Files): Likewise. + * modules/getopt-posix-tests (Files): Likewise. + * modules/openat-safer-tests (Files): Likewise. + * modules/pipe-tests (Files): Likewise. + +2009-12-26 Bruno Haible + + javacomp: Portability fix. + * m4/javacomp.m4 (gt_JAVACOMP): Fix creation of conftestver.class so + that it also works on Solaris. + +2009-12-26 Bruno Haible + + localename: Fix storage allocation of gl_locale_name_thread's result. + * lib/localename.c (SIZE_BITS, string_hash, struct hash_node, + HASH_TABLE_SIZE, struniq_hash_table, struniq_lock, struniq): Define on + all platforms that have 'uselocale'. + (gl_locale_name_thread_unsafe): New function, extracted from + gl_locale_name_thread. + (gl_locale_name_thread): Call struniq on all platforms that have + 'uselocale'. + * tests/test-localename.c (test_locale_name_thread): Check that the + resulting strings are permanently allocated. + * modules/localename-tests (Depends-on): Add strdup. + +2009-12-26 Bruno Haible + + * tests/test-localename.c (categories): Fill in the strings. + +2009-12-26 Jim Meyering + + isdir: complete the removal of m4/isdir.m4 + * modules/isdir (configure.ac): Remove reference to gl_ISDIR. + + isdir: clean up, since at least grep still uses it + * lib/isdir.c: Include "isdir.h". + (S_ISDIR): Remove now-unneeded definition. + * modules/isdir (Files): Add lib/isdir.h. + * lib/isdir.h: New file, with declaration. + * m4/isdir.m4: Remove file -- unneeded. + +2009-12-25 Bruno Haible + + selinux-h: Make generated .h files standalone. + * lib/se-context.in.h: Arrange to include _GL_UNUSED_PARAMETER + definition. Use _GL_UNUSED_PARAMETER instead of _GL_UNUSED. + * lib/se-selinux.in.h: Likewise. + * modules/selinux-h (Depends-on): Add unused-parameter. + (Makefile.am): Insert definition of _GL_UNUSED_PARAMETER into + selinux/selinux.h and selinux/context.h. + Suggested by Eric Blake. + 2009-12-25 Bruno Haible Move gl_FCNTL_O_FLAGS to a separate .m4 file. @@ -8550,10 +9485,9 @@ --with-packager=Gentoo \ --with-packager-bug-report=http://bugs.gentoo.org/ \ --with-packager-version="patchset 1.6" - $ ./src/ls --version | head -n3 + $ ./src/ls --version | head -n2 ls (GNU coreutils) 7.1-dirty Packaged by Gentoo (patchset 1.6) - Copyright (C) 2009 Free Software Foundation, Inc. Note that the bug reporting info via --help doesn't show up because coreutils uses its own custom emit_bug_reporting_address() implementation in src/system.h. If it didn't, it'd look like: @@ -60164,7 +61098,7 @@ coding: utf-8 End: - Copyright (C) 1997-2009 Free Software Foundation, Inc. + Copyright (C) 1997-2010 Free Software Foundation, Inc. Copying and distribution of this file, with or without modification, are permitted provided the copyright notice