X-Git-Url: http://erislabs.net/gitweb/?a=blobdiff_plain;ds=sidebyside;f=ChangeLog;h=db34a309c737d49fbb85f65b0fa394a42a339fc1;hb=ef7ac3461d310630096bd41909677a597c810242;hp=09bece975eb37004aea14eb618b7910118fa8665;hpb=ae75893767727a7cd6b85c6bafe5cbe356d0f56b;p=gnulib.git diff --git a/ChangeLog b/ChangeLog index 09bece975..db34a309c 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,563 @@ +2010-05-05 Peter O'Gorman + + pread: Update documentation. + * doc/posix-functions/pread.texi: Mention the 'pread' module. + +2010-05-04 Eric Blake + + docs: update cygwin progress + * doc/posix-functions/wctob.texi (wctob): Cygwin 1.7.6 will fix + this bug. + * doc/glibc-functions/get_nprocs_conf.texi (get_nprocs_conf): + Added in cygwin 1.7.2. + * doc/glibc-functions/get_phys_pages.texi (get_phys_pages): + Likewise. + * doc/glibc-functions/get_avphys_pages.texi (get_avphys_pages): + Likewise. + * doc/glibc-functions/dup3.texi (dup3): Likewise. + * doc/glibc-functions/pipe2.texi (pipe2): Likewise. + * doc/glibc-functions/accept4.texi (accept4): Likewise. + * doc/posix-functions/strfmon.texi (strfmon): Likewise. + * doc/glibc-functions/get_nprocs.texi (get_nprocs): Likewise. + Mention nproc module. + * doc/glibc-functions/xdr_uint16_t.texi (xdr_uint16_t): Mention + bug in cygwin 1.7.5 addition. + * doc/glibc-functions/xdr_uint32_t.texi (xdr_uint32_t): Likewise. + * doc/glibc-functions/xdr_uint64_t.texi (xdr_uint64_t): Likewise. + * doc/glibc-functions/xdr_uint8_t.texi (xdr_uint8_t): Likewise. + * doc/glibc-functions/xdr_array.texi (xdr_array): Added in cygwin + 1.7.5. + * doc/glibc-functions/xdr_bool.texi (xdr_bool): Likewise. + * doc/glibc-functions/xdr_bytes.texi (xdr_bytes): Likewise. + * doc/glibc-functions/xdr_char.texi (xdr_char): Likewise. + * doc/glibc-functions/xdr_double.texi (xdr_double): Likewise. + * doc/glibc-functions/xdr_enum.texi (xdr_enum): Likewise. + * doc/glibc-functions/xdr_float.texi (xdr_float): Likewise. + * doc/glibc-functions/xdr_free.texi (xdr_free): Likewise. + * doc/glibc-functions/xdr_hyper.texi (xdr_hyper): Likewise. + * doc/glibc-functions/xdr_int.texi (xdr_int): Likewise. + * doc/glibc-functions/xdr_int16_t.texi (xdr_int16_t): Likewise. + * doc/glibc-functions/xdr_int32_t.texi (xdr_int32_t): Likewise. + * doc/glibc-functions/xdr_int64_t.texi (xdr_int64_t): Likewise. + * doc/glibc-functions/xdr_int8_t.texi (xdr_int8_t): Likewise. + * doc/glibc-functions/xdr_long.texi (xdr_long): Likewise. + * doc/glibc-functions/xdr_longlong_t.texi (xdr_longlong_t): + Likewise. + * doc/glibc-functions/xdr_netobj.texi (xdr_netobj): Likewise. + * doc/glibc-functions/xdr_opaque.texi (xdr_opaque): Likewise. + * doc/glibc-functions/xdr_pointer.texi (xdr_pointer): Likewise. + * doc/glibc-functions/xdr_reference.texi (xdr_reference): + Likewise. + * doc/glibc-functions/xdr_short.texi (xdr_short): Likewise. + * doc/glibc-functions/xdr_sizeof.texi (xdr_sizeof): Likewise. + * doc/glibc-functions/xdr_string.texi (xdr_string): Likewise. + * doc/glibc-functions/xdr_u_char.texi (xdr_u_char): Likewise. + * doc/glibc-functions/xdr_u_hyper.texi (xdr_u_hyper): Likewise. + * doc/glibc-functions/xdr_u_int.texi (xdr_u_int): Likewise. + * doc/glibc-functions/xdr_u_long.texi (xdr_u_long): Likewise. + * doc/glibc-functions/xdr_u_longlong_t.texi (xdr_u_longlong_t): + Likewise. + * doc/glibc-functions/xdr_u_short.texi (xdr_u_short): Likewise. + * doc/glibc-functions/xdr_union.texi (xdr_union): Likewise. + * doc/glibc-functions/xdr_vector.texi (xdr_vector): Likewise. + * doc/glibc-functions/xdr_void.texi (xdr_void): Likewise. + * doc/glibc-functions/xdr_wrapstring.texi (xdr_wrapstring): + Likewise. + * doc/glibc-functions/xdrmem_create.texi (xdrmem_create): + Likewise. + * doc/glibc-functions/xdrrec_create.texi (xdrrec_create): + Likewise. + * doc/glibc-functions/xdrrec_endofrecord.texi + (xdrrec_endofrecord): Likewise. + * doc/glibc-functions/xdrrec_eof.texi (xdrrec_eof): Likewise. + * doc/glibc-functions/xdrrec_skiprecord.texi (xdrrec_skiprecord): + Likewise. + * doc/glibc-functions/xdrstdio_create.texi (xdrstdio_create): + Likewise. + +2010-05-04 Jim Meyering + + gendocs.sh: make its "-s FILE" option more useful + * build-aux/gendocs.sh: When honoring the -s FILE option, update + $PACKAGE to reflect the probably-different basename of "FILE". + +2010-05-03 Giuseppe Scrivano + + bootstrap: don't ignore download_po_files failure + * build-aux/bootstrap (update_po_files): Don't ignore download_po_files + failure. + +2010-05-03 Jim Meyering + + maint.mk: allow to pass options to gendocs.sh + * top/maint.mk (web-manual): Pass gendocs_options_ to gendocs.sh. + (gendocs_options_): New overridable variable. + + gnu-web-doc-update: don't ignore configure or build failure + * build-aux/gnu-web-doc-update: Exit nonzero upon internal failure. + + announce-gen: backslash-escape '@'s in --help output + * build-aux/announce-gen: Fix syntax errors. + + maint.mk, announce-gen: allow project-specific announcement mail headers + * top/maint.mk (translation_project_): Define default. + (announcement_Cc_, announcement_mail_headers_): Likewise. + (announcement): Invoke announce-gen with new --mail-headers option. + * build-aux/announce-gen: New option: --mail-headers=HEADERS. + + test-xalloc-die: avoid unwarranted test failure on OpenSolaris 5.11 + * tests/test-xalloc-die.sh: Redirect stdout before stderr, (i.e., + "> out 2> err", rather than "2> err > out"). Otherwise, with /bin/sh + on OpenSolaris 5.11 snv_134, we would end up with a stray "1> out" + line in the "err2" output file when running "make check" in verbose + mode (i.e., with set -x enabled). + +2010-05-03 Bruno Haible + + wctob: Fix for weird platforms. + * lib/wctob.c (wctob): When wint_t is larger than wchar_t, check the + argument value. + +2010-05-03 Jim Meyering + + maint.mk: prohibit unwarranted use of + * top/maint.mk (sc_prohibit_strings_without_use): Reject inclusion of + strings.h in a file that does not also use strcasecmp, strncasecmp, + ffs or ffsll. + + maint.mk: remove obsolete comments + * top/maint.mk: Remove stale, commented-out rules. + +2010-05-02 Bruno Haible + + wcwidth: Declare also when it's aliased. + * lib/wchar.in.h (wcwidth): Don't test whether wcwidth is defined as a + macro. + +2010-05-02 Bruno Haible + + Fix regression from 2010-04-25. + * gnulib-tool (func_modules_transitive_closure): Check the status of + all modules, not only of the tests that are of the form foo-tests where + foo is a module. + +2010-05-02 Bruno Haible + + wctob: Work around nasty Cygwin 1.7.2 bug. + * m4/wctob.m4 (gl_FUNC_WCTOB): Detect the Cygwin bug. + * doc/posix-functions/wctob.texi: Mention the Cygwin bug. + +2010-05-01 Bruno Haible + + fpurge: Sharper test. + * tests/test-fpurge.c (main): Add one more ftell check. + * modules/fpurge-tests (Depends-on): Add ftell. + Suggested by Eric Blake. + +2010-05-01 Bruno Haible + + ftello: Another test. + * tests/test-ftello3.c: New file. + * modules/ftello-tests (Files): Add it. + (Makefile.am): Add it to TESTS and check_PROGRAMS. Augment + MOSTLYCLEANFILES. + + ftell: Another test. + * tests/test-ftell3.c: New file. + * modules/ftell-tests (Files): Add it. + (Makefile.am): Add it to TESTS and check_PROGRAMS. Augment + MOSTLYCLEANFILES. + +2010-05-01 Bruno Haible + + ftell, ftello: Work around Solaris bug. + * m4/ftello.m4 (gl_FUNC_FTELLO): Detect Solaris bug. + * lib/ftello.c: Include stdio-impl.h. + (ftello): On Solaris, when _IOWRT is set, compute the result without + looking at _IOREAD. + * modules/ftello (Files): Add lib/stdio-impl.h. + * doc/posix-functions/ftell.texi: Mention Solaris bug. + * doc/posix-functions/ftello.texi: Likewise. + Reported by Eric Blake. + +2010-05-01 Bruno Haible + + freading: Adapt to special meaning of _IOREAD flag on Solaris. + * lib/freading.c (freading): On Solaris, ignore the _IOREAD flag if + the _IOWRT flag is also set. + +2010-05-01 Bruno Haible + + Fix doc about a HP-UX stdio bug. + * doc/posix-functions/ftell.texi: Mark HP-UX bug as unfixed. + * doc/posix-functions/ftello.texi: Likewise. + +2010-05-01 Bruno Haible + + lseek test: Fix failure on Solaris. + * tests/test-lseek.sh: Partially revert 2010-04-20 commit. Consume all + output. + +2010-04-30 Jim Meyering + + bootstrap: don't ignore failure to generate po*/Makevars + * build-aux/bootstrap (with_gettext): Don't ignore failure + to create po/Makevars or runtime-po/Makevars. + +2010-04-29 Eric Blake + + headers: relax license to LGPLv2+ + * modules/fcntl-h (License): Relax license. + * modules/getopt-posix (License): Likewise. + * modules/locale (License): Likewise. + * modules/math (License): Likewise. + * modules/pty (License): Likewise. + * modules/sched (License): Likewise. + * modules/search (License): Likewise. + * modules/spawn (License): Likewise. + * modules/stdarg (License): Likewise. + * modules/sysexits (License): Likewise. + +2010-04-29 Jim Meyering + + inttypes: relax license to LGPLv2+ + * modules/inttypes (License): Relax license. + +2010-04-29 Simon Josefsson + + * top/maint.mk (indent): Run twice to produce idempotent results. + +2010-04-28 Bruno Haible + + getdate: Generate getdate.c in the source directory. + * modules/getdate (Makefile.am): Add rule for getdate.c. Augment + MOSTLYCLEANFILES. + Suggested by Daniel Richard G. and Ralf Wildenhues. + +2010-04-27 Andreas Gruenbacher (tiny change) + + * lib/utimens.c: On Tru64, the timestamp parameter of utimens(2) + is not declared as a const *; avoid warnings in that case. + +2010-04-28 Eric Blake + + canonicalize-lgpl: avoid compiler warning + * lib/canonicalize-lgpl.c (versioned_symbol): Avoid an 'empty + declaration' / 'extraneous semicolon' warning with some compilers. + Reported by Andreas Gruenbacher. + +2010-04-28 Jim Meyering + + init.sh: ensure a more reliable exit status when exiting via trap + * tests/init.sh (setup_): Don't rely on $? in signal handler. + Inspired by patches from Dmitry V. Levin. + Also trap on signal 3 (SIGQUIT). + +2010-04-27 Bruno Haible + + Update doc about utimes(). + * doc/posix-functions/utimes.texi: Mention the OSF/1 problem and the + 'utimens' module. + Reported by Andreas Gruenbacher . + +2010-04-27 Eric Blake + + full-read, full-write: relax license + * modules/full-read (License): Drop to LGPLv2+. + * modules/full-write (License): Likewise. + * modules/safe-read (License): Likewise. + * modules/safe-write (License): Likewise. + + pthread: mention library for linking + * modules/pthread (Link): Mention $(LIB_PTHREAD). + +2010-04-27 Jim Meyering + + maint.mk: fix a bug introduced in last change + * top/maint.mk (gl_assured_headers_): Now that all names are on + one line, use sed's "g" modifier. Note that while the \.in\.h LHS + is not anchored to end of word, it should be adequate. + + maint.mk: avoid side-effect in latest syntax-check + * top/maint.mk (sc_prohibit_always_true_header_tests): Rework not + to run commands via $(shell...), and hence to incur cost only when + the new rule is actually run. + + maint.mk: syntax-check: prohibit HAVE_
_H that are always true + Derive the list of guaranteed header names from gnulib/lib/*.in.h, + and use that to create a regexp used to detect all #if HAVE_..._H uses. + * top/maint.mk (sc_prohibit_always_true_header_tests): New rule. + (gl_assured_headers_, az_, AZ_): Define. + (gl_header_upper_case_or_, gl_have_header_regex_): Define. + +2010-04-26 Jim Meyering + Bruno Haible + + gnulib-common.m4: make glibc write diagnostics to stderr, not /dev/tty + * m4/gnulib-common.m4 (gl_COMMON_BODY): Set LIBC_FATAL_STDERR_. + Prompted by an exchange with Gilles Espinasse. + +2010-04-26 Jim Meyering + + git-version-gen: aesthetic tweak + * build-aux/git-version-gen: Use "$nl" rather than a literal, + so that the command remains on a single line. + +2010-04-26 Eric Blake + + git-version-gen: allow use on EBCDIC hosts + * build-aux/git-version-gen (dirty): Use literal rather than tying + ourselves to ascii. + Reported by Steve Goetze. + +2010-04-25 Bruno Haible + + netdb: Add support for GNULIB_POSIXCHECK. + * lib/netdb.in.h: Include warn-on-use.h. + (getaddrinfo, freeaddrinfo, gai_strerror, getnameinfo): Warn if these + functions are used when GNULIB_POSIXCHECK is defined and the + getaddrinfo module is not in use. + * m4/netdb_h.m4 (gl_HEADER_NETDB): Test whether getaddrinfo, + freeaddrinfo, gai_strerror, getnameinfo are declared. + * modules/netdb (Depends-on): Add warn-on-use. + (Makefile.am): Include warn-on-use.h in netdb.h. + +2010-04-24 Ian Beckwith + + build: avoid "make check" failure without .git/ directory + * Makefile (sc_prefer_ac_check_funcs_once): Skip this test when + there is no .git/ directory. + +2010-04-25 Bruno Haible + + ptsname: Fix misuse of ttyname_r. + * lib/ptsname.c (__ptsname_r): Use __ttyname_r's return value instead + of errno. + +2010-04-25 Bruno Haible + + ttyname_r: Make it work on Solaris 10. + * m4/ttyname_r.m4 (gl_FUNC_TTYNAME_R): Define HAVE_POSIXDECL_TTYNAME_R + if the system function has the POSIX declaration. Test whether the + function fails if the buffer is less than 128 bytes large. + * lib/ttyname_r.c (ttyname_r): Handle both possible declarations of the + system's ttyname_r function. Provide a reasonably large buffer. + * modules/ttyname_r (Depends-on): Add extensions. + * doc/posix-functions/ttyname_r.texi: Mention the Solaris problem. + +2010-04-25 Bruno Haible + + Use the 'extensions' module for some more functions on Solaris. + * doc/posix-functions/asctime_r.texi: Recommend to use the 'extensions' + module. + * doc/posix-functions/ctime_r.texi: Likewise. + * doc/posix-functions/getgrgid_r.texi: Likewise. + * doc/posix-functions/getgrnam_r.texi: Likewise. + * doc/posix-functions/getpwnam_r.texi: Likewise. + * doc/posix-functions/getpwuid_r.texi: Likewise. + * doc/posix-functions/readdir_r.texi: Likewise. + * doc/posix-functions/sigwait.texi: Likewise. + * m4/getlogin_r.m4 (gl_FUNC_GETLOGIN_R): Add comment. + * doc/posix-functions/getlogin_r.texi: Mark Solaris problem as fixed. + +2010-04-25 Bruno Haible + + ttyname_r: Make it work on MacOS X 10.4 and Solaris 10. + * m4/ttyname_r.m4 (gl_FUNC_TTYNAME_R): Test whether the system function + has the POSIX declaration. Set REPLACE_TTYNAME_R if not. + * lib/ttyname_r.c: Include . + (ttyname_r): Define using the system's ttyname_r function, if it exists + and not on Solaris. + * lib/unistd.in.h (ttyname_r): Replace function if REPLACE_TTYNAME_R is + set. + * m4/unistd_h.m4 (gl_UNISTD_H_DEFAULTS): Initialize REPLACE_TTYNAME_R. + * modules/unistd (Makefile.am): Substitute REPLACE_TTYNAME_R. + * doc/posix-functions/ttyname_r.texi: Mark the problem as fixed. + Reported by Simon Josefsson. + +2010-04-25 Bruno Haible + + Mention effects of _POSIX_PTHREAD_SEMANTICS on Solaris. + * doc/posix-functions/asctime_r.texi: Mention the Solaris problem. + * doc/posix-functions/ctime_r.texi: Likewise. + * doc/posix-functions/getgrgid_r.texi: Likewise. + * doc/posix-functions/getgrnam_r.texi: Likewise. + * doc/posix-functions/getlogin_r.texi: Likewise. + * doc/posix-functions/getpwnam_r.texi: Likewise. + * doc/posix-functions/getpwuid_r.texi: Likewise. + * doc/posix-functions/readdir_r.texi: Likewise. + * doc/posix-functions/sigwait.texi: Likewise. + * doc/posix-functions/ttyname_r.texi: Likewise. + Reported by Simon Josefsson. + +2010-04-25 Bruno Haible + + gnulib-tool: Don't include hairy tests of dependencies in testdirs. + * gnulib-tool (func_usage): Document that --with-*-tests options apply + also to --create-testdir. + (func_acceptable): Don't consider the status of *-tests modules here. + (func_modules_transitive_closure): Consider it here, before including a + test module. + (func_import, func_create_testdir): Set inc_all_direct_tests, + inc_all_indirect_tests. + * doc/gnulib.texi (Extra tests modules): Document new behaviour of + --create-testdir and --create-megatestdir. + +2010-04-25 Bruno Haible + + gnulib-tool: Add --without-*-tests options. + * gnulib-tool (func_usage): Document the --without-*-tests options. + (excl_cxx_tests, excl_longrunning_tests, excl_privileged_tests, + excl_unportable_tests): New variables. + Fail if they are specified with --import or --update. + (func_acceptable): Respect the excl_*_tests variables. + (func_import): Set the excl_*_tests variables to empty. + +2010-04-25 Simon Josefsson + Bruno Haible + + Work around a MacOS X 10.4 bug with openpty. + * doc/glibc-functions/openpty.texi: Mention the MacOS X 10.4 bug. + * tests/test-openpty.c (main): Close the master side explicitly. + +2010-04-25 Bruno Haible + + strnlen: Fix a C++ test error on MacOS X and Solaris. + * m4/strnlen.m4 (gl_FUNC_STRNLEN): Don't set REPLACE_STRNLEN to 1 if + the function is not declared. + Reported by Jarno Rajahalme and + Simon Josefsson. + +2010-04-24 Bruno Haible + + Avoid a gcc warning. + * tests/test-vasprintf.c (test_vasprintf, test_asprintf): Pass argument + of correct type for %08lx directive. + Reported by Eric Blake. + +2010-04-24 Bruno Haible + + vasnprintf: Correct errno value in case of out-of-memory. + * lib/vasnprintf.c (VASNPRINTF): Set errno to 0 before calling SNPRINTF + or sprintf. Use the errno value from SNPRINTF or sprintf. + Reported by Ian Beckwith . + +2010-04-24 Bruno Haible + + ansi-c++-opt: Find correct compiler when cross-compiling. + * m4/ansi-c++.m4 (gl_PROG_ANSI_CXX): Use AC_CHECK_TOOLS instead of + AC_CHECK_PROGS. + Reported by Simon Josefsson. + +2010-04-24 Giuseppe Scrivano + + vc-list-files: Add support for subversion + * build-aux/vc-list-files: Use "svn list" to generate the list of + files controlled by subversion. + +2010-04-23 Jim Meyering + + vc-list-files tests: convert to use init.sh + * tests/test-vc-list-files-cvs.sh: Invoke "$srcdir/init.sh" and + path_prepend_. + Use Exit, not exit. + Use skip_ rather than open coding it. + Remove trap set-up and compare definitions. + * tests/test-vc-list-files-git.sh: Likewise. + * modules/vc-list-files-tests (Files): Add tests/init.sh. + +2010-04-22 Simon Josefsson + + * top/maint.mk (sc_prohibit_backup_files): Prohibit checked in + backup files. + +2010-04-21 Simon Josefsson + + * tests/test-vasprintf.c (test_vasprintf, test_asprintf): Test %08lx. + +2010-04-20 Eric Blake + + tests: be robust to ignored SIGPIPE + * tests/test-select-in.sh: Consume all output. + * tests/test-lseek.sh: Check correct exit status, while avoiding + EPIPE. + +2010-04-20 Simon Josefsson + Bruno Haible + + visibility: Don't use -fvisibility if it leads to a warning. + * m4/visibility.m4 (gl_VISIBILITY): Check whether -Werror is usable. If + yes, don't pretend that visibility works if it leads to a warning. + Reported by Mike Gran . + +2010-04-20 Andreas Gruenbacher + + * build-aux/bootstrap: Use "git -h" for testing for supported options + instead of "git --help". The short-form option only shows a summary, + and doesn't layout the full man page. Grep for the full option name + in the summary, too. + +2010-04-19 Bruno Haible + + relocatable: Drop the need to define RELOCATABLE_STRIP in Makefile.am. + * m4/relocatable.m4 (gl_RELOCATABLE_BODY): Set RELOCATABLE_STRIP. + * doc/relocatable-maint.texi (Supporting Relocation): Remove the + mention of RELOCATABLE_STRIP. + Reported by Sylvain Beucler . + +2010-04-19 Bruno Haible + + * lib/diffseq.h: Fix typo in comment. + Reported by Eric Blake. + +2010-04-19 Bruno Haible + + ioctl: Move autoconf macro to a .m4 file. + * m4/ioctl.m4: New file, extracted from modules/ioctl. + * modules/ioctl (Files): Add it. + (configure.ac): Simply invoke gl_FUNC_IOCTL. + Reported by Ian Beckwith . + +2010-04-18 Andreas Gruenbacher + Bruno Haible + + diffseq: Accommodate use-case with abstract arrays. + * lib/diffseq.h (struct context): Remove xvec, yvec fields if ELEMENT + is not defined. + (diag, compareseq): Remove local variables xv, yv if ELEMENT is not + defined. Use local macro XREF_YREF_EQUAL instead of EQUAL. + +2010-04-18 Bruno Haible + + * doc/posix-headers/stdbool.texi: More precise wording. + +2010-04-17 Jim Meyering + + maint.mk: use gnu-style indentation in an embedded perl script + * top/maint.mk (detect_empty_lines_at_EOF_): Clean up formatting. + Rename variable: s/two/last_two_bytes/ + +2010-04-16 Eric Blake + + test-stdbool: skip test that fails with Solaris CC + * tests/test-stdbool.c (f): Skip test that causes compilation + error under buggy C++ compiler. + * lib/stdbool.in.h: Document the limitation. + * doc/posix-headers/stdbool.texi (stdbool.h): Likewise. + + setenv: allow compilation with C++ + * lib/setenv.c (__add_to_environ): Add a cast. Also, drop use of + register keyword. + + stdint: allow test to pass with C++ + * tests/test-stdint.c: Define __STDC_CONSTANT_MACROS, for glibc. + + getopt: allow compilation with C++ + * lib/getopt_int.h (__ordering): Hoist enum declaration outside + struct. + * lib/getopt.c (_getopt_internal_r): Use correct type. + Reported by Dagobert Michelson, via Joel E. Denny. + 2010-04-16 Bruno Haible Override netdb.h always.