Remove vestiges of fts-lgpl module.
[gnulib.git] / ChangeLog
index 94e90f0..b863db0 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,718 @@
+2010-03-29  Bruno Haible  <bruno@clisp.org>
+
+       Remove vestiges of fts-lgpl module.
+       * lib/fts_.h: Assume GNULIB_FTS is 1.
+       * lib/fts.c: Likewise.
+       * modules/fts (configure.ac): Remove gl_MODULE_INDICATOR invocation.
+
+2010-03-28  Bruno Haible  <bruno@clisp.org>
+
+       Fix definition of tests witness macro.
+       * gnulib-tool (func_import): Fix definition of witness macro.
+
+2010-03-28  Bruno Haible  <bruno@clisp.org>
+
+       Fix ioctl's protoype on glibc systems.
+       * lib/sys_ioctl.in.h (ioctl): If REPLACE_IOCTL is 1, use a wrapper. Use
+       _GL_CXXALIAS_SYS, not _GL_CXXALIAS_SYS_CAST.
+       * lib/ioctl.c (rpl_ioctl) [HAVE_IOCTL]: New wrapper.
+       * modules/ioctl (configure.ac): Test whether ioctl has the POSIX
+       signature. If not, arrange to replace the ioctl function.
+       * m4/sys_ioctl_h.m4 (gl_SYS_IOCTL_H_DEFAULTS): Initialize
+       REPLACE_IOCTL.
+       * modules/sys_ioctl (Makefile.am): Substitute REPLACE_IOCTL.
+       * doc/posix-functions/ioctl.texi: Mention the glibc problem.
+       Reported by Ludovic Courtès <ludo@gnu.org>.
+
+2010-03-28  Javier Villavicencio  <the_paya@gentoo.org>
+
+       exclude: fix the case of globs vs. EXCLUDE_INCLUDE
+       * lib/exclude.c (excluded_file_pattern_p): Fix logic error that
+       made it so grep -r --include=GLOB* ... did not work.
+
+2010-03-26  Jim Meyering  <meyering@redhat.com>
+           Eric Blake  <eblake@redhat.com>
+
+       maint.mk: prohibit use of test's -o and -a operators
+       * top/maint.mk (sc_prohibit_test_minus_ao): New rule.
+
+2010-03-28  Bruno Haible  <bruno@clisp.org>
+
+       Remove unused GNULIB_XYZ macro definitions.
+       * modules/crypto/gc-camellia (configure.ac): Remove gl_MODULE_INDICATOR
+       invocation.
+
+2010-03-28  Bruno Haible  <bruno@clisp.org>
+
+       Mark privileged tests modules.
+       * modules/idpriv-drop-tests (Status): New section.
+       * modules/idpriv-droptemp-tests (Status): New section.
+
+2010-03-28  Bruno Haible  <bruno@clisp.org>
+
+       Split C++ tests into separate tests modules.
+       * modules/dirent-c++-tests: New file, extracted from
+       modules/dirent-tests.
+       * modules/dirent-tests: Depend on it.
+       * modules/fcntl-h-c++-tests: New file, extracted from
+       modules/fcntl-h-tests.
+       * modules/fcntl-h-tests: Depend on it.
+       * modules/glob-c++-tests: New file, extracted from modules/glob-tests.
+       * modules/glob-tests: Depend on it.
+       * modules/iconv-h-c++-tests: New file, extracted from
+       modules/iconv-h-tests.
+       * modules/iconv-h-tests: Depend on it.
+       * modules/langinfo-c++-tests: New file, extracted from
+       modules/langinfo-tests.
+       * modules/langinfo-tests: Depend on it.
+       * modules/locale-c++-tests: New file, extracted from
+       modules/locale-tests.
+       * modules/locale-tests: Depend on it.
+       * modules/math-c++-tests: New file, extracted from modules/math-tests.
+       * modules/math-tests: Depend on it.
+       * modules/pty-c++-tests: New file, extracted from modules/pty-tests.
+       * modules/pty-tests: Depend on it.
+       * modules/search-c++-tests: New file, extracted from
+       modules/search-tests.
+       * modules/search-tests: Depend on it.
+       * modules/signal-c++-tests: New file, extracted from
+       modules/signal-tests.
+       * modules/signal-tests: Depend on it.
+       * modules/spawn-c++-tests: New file, extracted from
+       modules/spawn-tests.
+       * modules/spawn-tests: Depend on it.
+       * modules/stdio-c++-tests: New file, extracted from
+       modules/stdio-tests.
+       * modules/stdio-tests: Depend on it.
+       * modules/stdlib-c++-tests: New file, extracted from
+       modules/stdlib-tests.
+       * modules/stdlib-tests: Depend on it.
+       * modules/string-c++-tests: New file, extracted from
+       modules/string-tests.
+       * modules/string-tests: Depend on it.
+       * modules/sys_ioctl-c++-tests: New file, extracted from
+       modules/sys_ioctl-tests.
+       * modules/sys_ioctl-tests: Depend on it.
+       * modules/sys_select-c++-tests: New file, extracted from
+       modules/sys_select-tests.
+       * modules/sys_select-tests: Depend on it.
+       * modules/sys_socket-c++-tests: New file, extracted from
+       modules/sys_socket-tests.
+       * modules/sys_socket-tests: Depend on it.
+       * modules/sys_stat-c++-tests: New file, extracted from
+       modules/sys_stat-tests.
+       * modules/sys_stat-tests: Depend on it.
+       * modules/sys_time-c++-tests: New file, extracted from
+       modules/sys_time-tests.
+       * modules/sys_time-tests: Depend on it.
+       * modules/time-c++-tests: New file, extracted from modules/time-tests.
+       * modules/time-tests: Depend on it.
+       * modules/unistd-c++-tests: New file, extracted from
+       modules/unistd-tests.
+       * modules/unistd-tests: Depend on it.
+       * modules/wchar-c++-tests: New file, extracted from
+       modules/wchar-tests.
+       * modules/wchar-tests: Depend on it.
+       * modules/wctype-c++-tests: New file, extracted from
+       modules/wctype-tests.
+       * modules/wctype-tests: Depend on it.
+       Reported by Simon Josefsson.
+
+2010-03-28  Bruno Haible  <bruno@clisp.org>
+
+       gnulib-tool: Allow 'foo-tests' module even if there is no module 'foo'.
+       * gnulib-tool (func_exists_module): New function, extracted from
+       func_verify_module.
+       (func_verify_module): Use it.
+       (func_get_dependencies): Synthetize a dependency from 'foo-tests' to
+       'foo' only if 'foo' exists.
+       * doc/gnulib.texi (Extra tests modules): Explain how to split a tests
+       module.
+
+2010-03-28  Bruno Haible  <bruno@clisp.org>
+
+       gnulib-tool: Add support for special categories of tests.
+       * gnulib-tool: New options --with-c++-tests, --with-longrunning-tests,
+       --with-privileged-tests, --with-unportable-tests, --with-all-tests.
+       (func_usage): Document them.
+       (inc_cxx_tests, inc_longrunning_tests, inc_privileged_tests,
+       inc_unportable_tests, inc_all_tests): New variables.
+       (func_acceptable): Consider these variables.
+       (func_modules_transitive_closure): Make it work when the 'Status' field
+       consists of multiple words.
+       (func_import): Store and restore the values of inc_cxx_tests,
+       inc_longrunning_tests, inc_privileged_tests, inc_unportable_tests,
+       inc_all_tests in gnulib-comp.m4.
+       (func_create_testdir): Set inc_all_tests to true.
+       * doc/gnulib.texi (Extra tests modules): New section.
+       Suggested by Jim Meyering.
+
+2010-03-28  Bruno Haible  <bruno@clisp.org>
+
+       ansi-c++-opt: Allow turning off the C++ build by default.
+       * m4/ansi-c++.m4 (gl_CXX_CHOICE): Let CXX_CHOICE default to 'no' if
+       gl_CXX_CHOICE_DEFAULT_NO is defined.
+       Requested by Eric Blake.
+
+2010-03-28  Bruno Haible  <bruno@clisp.org>
+
+       unistd: Avoid #define replacements in C++ mode.
+       * lib/unistd.in.h (socket, connect, accept, bind, getpeername,
+       getsockname, getsockopt, listen, recv, send, recvfrom, sendto,
+       setsockopt, shutdown, select): In C++, attach a warning to the function
+       if possible, rather than #defining the symbol to a dysfunctional alias.
+       Reported by John W. Eaton <jwe@gnu.org>.
+
+2010-03-28  Bruno Haible  <bruno@clisp.org>
+
+       Fix link errors on mingw.
+       * lib/sys_ioctl.in.h (ioctl): Fix declaration idiom.
+       * modules/sys_ioctl-tests (Makefile.am): Link test-sys_ioctl-c++ with
+       $(LIBSOCKET).
+       * modules/sys_select-tests (Makefile.am): Link test-sys_select-c++ with
+       $(LIBSOCKET).
+
+2010-03-28  Bruno Haible  <bruno@clisp.org>
+            Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
+
+       lib-ignore: Determine different options for different compilers.
+       * m4/lib-ignore.m4 (gl_IGNORE_UNUSED_LIBRARIES): Set a variable which
+       depends on the current language (C/C++/Fortran). Don't set LDFLAGS.
+       Add comments.
+       (_gl_IGNORE_UNUSED_LIBRARIES_OPTIONS): New macro.
+       * NEWS: Mention the change.
+
+2010-03-27  Bruno Haible  <bruno@clisp.org>
+
+       Remove unused GNULIB_XYZ macro definitions.
+       * modules/dup3 (configure.ac): Remove gl_MODULE_INDICATOR invocation.
+       * modules/fseek (configure.ac): Likewise.
+       * modules/ioctl (configure.ac): Likewise.
+       * modules/open (configure.ac): Likewise.
+       * modules/stdlib-safer (configure.ac): Likewise.
+
+2010-03-27  Bruno Haible  <bruno@clisp.org>
+
+       Add a remark about certain modules.
+       * modules/malloc (Comment): New section.
+       * modules/realloc (Comment): Likewise.
+       * modules/sigpipe (Comment): Likewise.
+
+2010-03-27  Bruno Haible  <bruno@clisp.org>
+
+       Resolve conflict between the two kinds of module indicators.
+       * m4/gnulib-common.m4 (gl_MODULE_INDICATOR_FOR_TESTS): Define
+       GNULIB_TEST_XYZ instead of GNULIB_XYZ.
+       * modules/canonicalize (configure.ac): Invoke
+       gl_MODULE_INDICATOR_FOR_TESTS.
+       * tests/test-canonicalize-lgpl.c: Test GNULIB_TEST_XYZ instead of
+       GNULIB_XYZ.
+       * tests/test-dirent-c++.cc: Likewise.
+       * tests/test-dirent-safer.c: Likewise.
+       * tests/test-dup2.c: Likewise.
+       * tests/test-fchdir.c: Likewise.
+       * tests/test-fcntl-h-c++.cc: Likewise.
+       * tests/test-getopt.c: Likewise.
+       * tests/test-getopt.h: Likewise.
+       * tests/test-langinfo-c++.cc: Likewise.
+       * tests/test-locale-c++.cc: Likewise.
+       * tests/test-math-c++.cc: Likewise.
+       * tests/test-pty-c++.cc: Likewise.
+       * tests/test-search-c++.cc: Likewise.
+       * tests/test-signal-c++.cc: Likewise.
+       * tests/test-spawn-c++.cc: Likewise.
+       * tests/test-stdio-c++.cc: Likewise.
+       * tests/test-stdlib-c++.cc: Likewise.
+       * tests/test-string-c++.cc: Likewise.
+       * tests/test-sys_ioctl-c++.cc: Likewise.
+       * tests/test-sys_select-c++.cc: Likewise.
+       * tests/test-sys_socket-c++.cc: Likewise.
+       * tests/test-sys_stat-c++.cc: Likewise.
+       * tests/test-sys_time-c++.cc: Likewise.
+       * tests/test-time-c++.cc: Likewise.
+       * tests/test-unistd-c++.cc: Likewise.
+       * tests/test-wchar-c++.cc: Likewise.
+       * tests/uninorm/test-u8-nfc.c: Likewise.
+       * tests/uninorm/test-u8-nfd.c: Likewise.
+       * tests/uninorm/test-u8-nfkc.c: Likewise.
+       * tests/uninorm/test-u8-nfkd.c: Likewise.
+       * tests/uninorm/test-u16-nfc.c: Likewise.
+       * tests/uninorm/test-u16-nfd.c: Likewise.
+       * tests/uninorm/test-u16-nfkc.c: Likewise.
+       * tests/uninorm/test-u16-nfkd.c: Likewise.
+       * tests/uninorm/test-u32-nfc.c: Likewise.
+       * tests/uninorm/test-u32-nfc-big.c: Likewise.
+       * tests/uninorm/test-u32-nfd.c: Likewise.
+       * tests/uninorm/test-u32-nfd-big.c: Likewise.
+       * tests/uninorm/test-u32-nfkc.c: Likewise.
+       * tests/uninorm/test-u32-nfkc-big.c: Likewise.
+       * tests/uninorm/test-u32-nfkd.c: Likewise.
+       * tests/uninorm/test-u32-nfkd-big.c: Likewise.
+       * tests/uninorm/test-u32-normalize-big.c: Likewise.
+
+2010-03-27  Bruno Haible  <bruno@clisp.org>
+
+       Distinguish two kinds of module indicators.
+       * m4/gnulib-common.m4 (gl_MODULE_INDICATOR_FOR_TESTS): Renamed from
+       gl_MODULE_INDICATOR.
+       (gl_MODULE_INDICATOR): New macro.
+       * m4/dirent_h.m4 (gl_DIRENT_MODULE_INDICATOR): Invoke
+       gl_MODULE_INDICATOR_FOR_TESTS instead of gl_MODULE_INDICATOR.
+       * m4/fcntl_h.m4 (gl_FCNTL_MODULE_INDICATOR): Likewise.
+       * m4/langinfo_h.m4 (gl_LANGINFO_MODULE_INDICATOR): Likewise.
+       * m4/locale_h.m4 (gl_LOCALE_MODULE_INDICATOR): Likewise.
+       * m4/math_h.m4 (gl_MATH_MODULE_INDICATOR): Likewise.
+       * m4/pty_h.m4 (gl_PTY_MODULE_INDICATOR): Likewise.
+       * m4/search_h.m4 (gl_SEARCH_MODULE_INDICATOR): Likewise.
+       * m4/signal_h.m4 (gl_SIGNAL_MODULE_INDICATOR): Likewise.
+       * m4/spawn_h.m4 (gl_SPAWN_MODULE_INDICATOR): Likewise.
+       * m4/stdio_h.m4 (gl_STDIO_MODULE_INDICATOR): Likewise.
+       * m4/stdlib_h.m4 (gl_STDLIB_MODULE_INDICATOR): Likewise.
+       * m4/string_h.m4 (gl_STRING_MODULE_INDICATOR): Likewise.
+       * m4/sys_ioctl_h.m4 (gl_SYS_IOCTL_MODULE_INDICATOR): Likewise.
+       * m4/sys_select_h.m4 (gl_SYS_SELECT_MODULE_INDICATOR): Likewise.
+       * m4/sys_socket_h.m4 (gl_SYS_SOCKET_MODULE_INDICATOR): Likewise.
+       * m4/sys_stat_h.m4 (gl_SYS_STAT_MODULE_INDICATOR): Likewise.
+       * m4/sys_time_h.m4 (gl_SYS_TIME_MODULE_INDICATOR): Likewise.
+       * m4/time_h.m4 (gl_TIME_MODULE_INDICATOR): Likewise.
+       * m4/unistd_h.m4 (gl_UNISTD_MODULE_INDICATOR): Likewise.
+       * m4/wchar_h.m4 (gl_WCHAR_MODULE_INDICATOR): Likewise.
+       * modules/cloexec (configure.ac): Likewise.
+       * modules/getopt-gnu (configure.ac): Likewise.
+       * modules/uninorm/u8-normalize (configure.ac): Likewise.
+       * modules/uninorm/u16-normalize (configure.ac): Likewise.
+       * modules/uninorm/u32-normalize (configure.ac): Likewise.
+       * modules/fdopendir (configure.ac): Invoke gl_MODULE_INDICATOR.
+
+2010-03-27  Bruno Haible  <bruno@clisp.org>
+
+       New module description field 'Comment'.
+       * gnulib-tool: New option --extract-comment.
+       (func_usage): Document it.
+       (sed_extract_prog, sed_extract_field_header): Support 'Comment' field.
+       (func_get_comment): New function.
+       * modules/TEMPLATE-EXTENDED: Add a blank Comment field.
+
+2010-03-27  Bruno Haible  <bruno@clisp.org>
+
+       Addendum to 2010-02-07 commit.
+       * gnulib-tool (func_usage): Document --extract-applicability option.
+
+2010-03-27  Bruno Haible  <bruno@clisp.org>
+
+       Use GNULIB_POSIXCHECK instead of GNULIB_PORTCHECK.
+       * lib/time.in.h (asctime, asctime_r, ctime, ctime_r): Test
+       GNULIB_POSIXCHECK, not GNULIB_PORTCHECK. Provide compile-time warnings
+       rather than link errors.
+
+2010-03-27  Bruno Haible  <bruno@clisp.org>
+
+       Avoid side effects from tests-related modules on the compilation of lib.
+       * m4/gnulib-common.m4 (gl_MODULE_INDICATOR_CONDITION): New macro.
+       (gl_MODULE_INDICATOR_SET_VARIABLE): Use its expansion as a value.
+       * gnulib-tool (func_emit_tests_Makefile_am): Accept a witness_macro
+       parameter. Emit into AM_CPPFLAGS a definition of the designated C
+       macro.
+       (func_import): Define a witness macro. Assign it a value that depends
+       on the current package. Override gl_MODULE_INDICATOR_CONDITION for the
+       tests-related modules.
+       (func_create_testdir): Update func_emit_tests_Makefile_am invocation.
+       Reported by Jim Meyering.
+
+2010-03-27  Bruno Haible  <bruno@clisp.org>
+
+       Factorize common .m4 code.
+       * m4/gnulib-common.m4 (gl_MODULE_INDICATOR_SET_VARIABLE): New macro.
+       * m4/arpa_inet_h.m4 (gl_ARPA_INET_MODULE_INDICATOR): Use it.
+       * m4/ctype.m4 (gl_CTYPE_MODULE_INDICATOR): Likewise.
+       * m4/dirent_h.m4 (gl_DIRENT_MODULE_INDICATOR): Likewise.
+       * m4/fcntl_h.m4 (gl_FCNTL_MODULE_INDICATOR): Likewise.
+       * m4/iconv_h.m4 (gl_ICONV_MODULE_INDICATOR): Likewise.
+       * m4/inttypes.m4 (gl_INTTYPES_MODULE_INDICATOR): Likewise.
+       * m4/langinfo_h.m4 (gl_LANGINFO_MODULE_INDICATOR): Likewise.
+       * m4/locale_h.m4 (gl_LOCALE_MODULE_INDICATOR): Likewise.
+       * m4/math_h.m4 (gl_MATH_MODULE_INDICATOR): Likewise.
+       * m4/netdb_h.m4 (gl_NETDB_MODULE_INDICATOR): Likewise.
+       * m4/pty_h.m4 (gl_PTY_MODULE_INDICATOR): Likewise.
+       * m4/search_h.m4 (gl_SEARCH_MODULE_INDICATOR): Likewise.
+       * m4/signal_h.m4 (gl_SIGNAL_MODULE_INDICATOR): Likewise.
+       * m4/spawn_h.m4 (gl_SPAWN_MODULE_INDICATOR): Likewise.
+       * m4/stddef_h.m4 (gl_STDDEF_MODULE_INDICATOR): Likewise.
+       * m4/stdio_h.m4 (gl_STDIO_MODULE_INDICATOR): Likewise.
+       * m4/stdlib_h.m4 (gl_STDLIB_MODULE_INDICATOR): Likewise.
+       * m4/string_h.m4 (gl_STRING_MODULE_INDICATOR): Likewise.
+       * m4/strings_h.m4 (gl_STRINGS_MODULE_INDICATOR): Likewise.
+       * m4/sys_file_h.m4 (gl_HEADER_SYS_FILE_MODULE_INDICATOR): Likewise.
+       * m4/sys_ioctl_h.m4 (gl_SYS_IOCTL_MODULE_INDICATOR): Likewise.
+       * m4/sys_select_h.m4 (gl_SYS_SELECT_MODULE_INDICATOR): Likewise.
+       * m4/sys_socket_h.m4 (gl_SYS_SOCKET_MODULE_INDICATOR): Likewise.
+       * m4/sys_stat_h.m4 (gl_SYS_STAT_MODULE_INDICATOR): Likewise.
+       * m4/sys_time_h.m4 (gl_SYS_TIME_MODULE_INDICATOR): Likewise.
+       * m4/sys_times_h.m4 (gl_SYS_TIMES_MODULE_INDICATOR): Likewise.
+       * m4/sys_utsname_h.m4 (gl_SYS_UTSNAME_MODULE_INDICATOR): Likewise.
+       * m4/sys_wait_h.m4 (gl_SYS_WAIT_MODULE_INDICATOR): Likewise.
+       * m4/time_h.m4 (gl_TIME_MODULE_INDICATOR): Likewise.
+       * m4/unistd_h.m4 (gl_UNISTD_MODULE_INDICATOR): Likewise.
+       * m4/wchar_h.m4 (gl_WCHAR_MODULE_INDICATOR): Likewise.
+
+2010-03-27  Bruno Haible  <bruno@clisp.org>
+
+       Fix a compilation error on Cygwin with g++ >= 4.3.
+       * lib/sys_stat.in.h (lchmod): Don't warn about the use of this function
+       if it is undefined or if we alias it to chmod.
+       (lstat): Don't warn about the use of this function if it is undefined
+       or if we alias it to stat.
+       Reported by Simon Josefsson.
+
+2010-03-27  Bruno Haible  <bruno@clisp.org>
+
+       * m4/getlogin.m4 (gl_FUNC_GETLOGIN): Renamed from gl_GETLOGIN.
+       * modules/getlogin (configure.ac): Update.
+
+       * m4/getlogin_r.m4 (gl_FUNC_GETLOGIN_R): Renamed from gl_GETLOGIN_R.
+       * modules/getlogin_r (configure.ac): Update.
+
+       * m4/inet_ntop.m4 (gl_FUNC_INET_NTOP): Renamed from gl_INET_NTOP.
+       * m4/getaddrinfo.m4 (gl_GETADDRINFO): Update.
+       * modules/inet_ntop (configure.ac): Update.
+
+       * m4/inet_pton.m4 (gl_FUNC_INET_PTON): Renamed from gl_INET_PTON.
+       * modules/inet_pton (configure.ac): Update.
+
+       * m4/mbslen.m4 (gl_FUNC_MBSLEN): Renamed from gl_MBSLEN.
+       * modules/mbslen (configure.ac): Update.
+
+       * m4/pty.m4 (gl_FUNC_FORKPTY): Renamed from gl_FORKPTY.
+       (gl_FUNC_OPENPTY): Renamed from gl_OPENPTY.
+       * modules/forkpty (configure.ac): Update.
+       * modules/openpty (configure.ac): Update.
+
+2010-03-26  Simon Josefsson  <simon@josefsson.org>
+
+       * top/maint.mk (sc_texinfo_acronym): Don't infloop if there is
+       no *.texi files.  Reported by Eric Blake <eblake@redhat.com>.
+
+2010-03-25  Eric Blake  <eblake@redhat.com>
+
+       maint: use pragma consistently across replacement headers
+       * lib/ctype.in.h (system_header): Hoist for consistent placement.
+       * lib/dirent.in.h (system_header): Likewise.
+       * lib/errno.in.h (system_header): Likewise.
+       * lib/float.in.h (system_header): Likewise.
+       * lib/getopt.in.h (system_header): Likewise.
+       * lib/iconv.in.h (system_header): Likewise.
+       * lib/inttypes.in.h (system_header): Likewise.
+       * lib/langinfo.in.h (system_header): Likewise.
+       * lib/locale.in.h (system_header): Likewise.
+       * lib/math.in.h (system_header): Likewise.
+       * lib/netdb.in.h (system_header): Likewise.
+       * lib/netinet_in.in.h (system_header): Likewise.
+       * lib/pty.in.h (system_header): Likewise.
+       * lib/sched.in.h (system_header): Likewise.
+       * lib/se-selinux.in.h (system_header): Likewise.
+       * lib/search.in.h (system_header): Likewise.
+       * lib/spawn.in.h (system_header): Likewise.
+       * lib/stdarg.in.h (system_header): Likewise.
+       * lib/stdint.in.h (system_header): Likewise.
+       * lib/string.in.h (system_header): Likewise.
+       * lib/strings.in.h (system_header): Likewise.
+       * lib/sys_file.in.h (system_header): Likewise.
+       * lib/sys_ioctl.in.h (system_header): Likewise.
+       * lib/sys_socket.in.h (system_header): Likewise.
+       * lib/sys_times.in.h (system_header): Likewise.
+       * lib/sys_utsname.in.h (system_header): Likewise.
+       * lib/sys_wait.in.h (system_header): Likewise.
+       * lib/sysexits.in.h (system_header): Likewise.
+       * lib/unistd.in.h (system_header): Likewise.
+       * lib/wctype.in.h (system_header): Likewise.
+
+       arpa/inet: fix mingw compilation warning
+       * lib/arpa_inet.in.h (system_header): Hoist to be unconditional.
+       Reported by Matthew Bolte.
+
+2010-03-25  Bruno Haible  <bruno@clisp.org>
+
+       Avoid collision between gnulib wrapper and libintl wrapper.
+       * lib/printf.c (printf): Don't define if a printf wrapper is already
+       defined in intl/printf.c.
+       Reported by Michel Boaventura <michel@michelboaventura.com>.
+
+2010-03-25  Bruno Haible  <bruno@clisp.org>
+
+       Use ANSI C.
+       * lib/readutmp.h (getutent): Provide ANSI C prototype.
+
+2010-03-25  Bruno Haible  <bruno@clisp.org>
+
+       Minor formatting changes.
+       * lib/acosl.c: Insert space before function argument list.
+       * lib/argz.c: Likewise.
+       * lib/asinl.c: Likewise.
+       * lib/expl.c: Likewise.
+       * lib/gen-uni-tables.c: Likewise.
+       * lib/gettext.h: Likewise.
+       * lib/glthread/lock.h: Likewise.
+       * lib/tanl.c: Likewise.
+       * lib/uniname/uniname.c: Likewise.
+       * tests/test-idpriv-drop.c: Likewise.
+       * tests/test-idpriv-droptemp.c: Likewise.
+       * tests/test-lock.c: Likewise.
+       * tests/test-tls.c: Likewise.
+       * lib/argp-help.c: Insert space before function-like macro argument
+       list.
+       * lib/memcmp.c: Likewise.
+       * tests/test-base64.c: Likewise.
+       * lib/localename.c: Insert space before sizeof's argument list.
+       * lib/safe-alloc.h: Likewise.
+       * lib/file-set.h: Insert space before macro argument list.
+       * tests/test-argp.c: Likewise.
+       * lib/argp-namefrob.h: Insert space before function parameter list.
+       * lib/getaddrinfo.c: Likewise.
+       * lib/netdb.in.h: Likewise.
+       * lib/parse-duration.h: Likewise.
+       * lib/parse-duration.c: Likewise.
+       * lib/poll.c: Likewise.
+       * lib/select.c: Likewise.
+       * lib/trim.h: Likewise.
+       * tests/test-usleep.c: Likewise.
+       * lib/ldexpl.c: Insert space before function parameter list and before
+       function argument list.
+       * lib/logl.c: Likewise.
+       * lib/sqrtl.c: Likewise.
+       * lib/trim.c: Likewise.
+       * lib/cosl.c: Use GNU style indentation. Insert space before function
+       argument list.
+       * lib/sinl.c: Likewise.
+       * lib/tsearch.c: Insert space after 'for'.
+       Reported by Jim Meyering.
+
+2010-03-23  Pádraig Brady  <P@draigBrady.com>  (tiny change)
+
+       * maint.mk (sc_Wundef_boolean): Check for the presence of the
+       config header before grepping, as it's not present before
+       autoreconf/configure are run.  Reported by Simon Josefsson.
+
+2010-03-23  Bruno Haible  <bruno@clisp.org>
+
+       pt_chown: Make it work with automake < 1.11.
+       * modules/pt_chown (Makefile.am): Define pkglibexecdir.
+       Reported by Simon Josefsson.
+
+2010-03-23  Bruno Haible  <bruno@clisp.org>
+
+       pt_chown: Don't depend on GPLed modules.
+       * lib/pt_chown.c: Don't include idpriv.h.
+       (main): Don't drop privileges.
+       * modules/pt_chown (Depends-on): Remove idpriv-drop.
+       Reported by Simon Josefsson.
+
+2010-03-24  Simon Josefsson  <simon@josefsson.org>
+
+       * top/maint.mk (sc_texinfo_acronym): Add rule, based on
+       suggestions from karl@freefriends.org (Karl Berry).
+
+2010-03-22  Eric Blake  <eblake@redhat.com>
+
+       gethostname: further tweaks
+       * lib/unistd.in.h (includes): Only worry about <winsock2.h> if we
+       are overriding gethostname.
+       Suggested by Bruno Haible.
+
+2010-03-21  Bruno Haible  <bruno@clisp.org>
+
+       Fix comments.
+       * lib/forkpty.c (rpl_forkpty): Fix comment.
+       * lib/openpty.c (rpl_openpty): Likewise.
+       Reported by Eric Blake.
+
+2010-03-22  Eric Blake  <eblake@redhat.com>
+
+       gethostname: fix build on mingw
+       * lib/unistd.in.h (includes): Work around fact that mingw
+       <winsock2.h> re-includes <unistd.h>, by avoiding any
+       redeclarations if we are being included by <winsock2.h>.
+       Reported by Matthias Bolte.
+
+2010-03-21  Bruno Haible  <bruno@clisp.org>
+
+       forkpty: Provide replacement on AIX, HP-UX, IRIX, Solaris.
+       * lib/forkpty.c (forkpty): New replacement function, from glibc with
+       modifications.
+       * lib/pty.in.h (forkpty): Update declaration. Add comments.
+       * m4/pty.m4 (gl_FORKPTY): If forkpty is not declared, arrange to
+       provide the replacement.
+       * modules/forkpty (Depends-on): Add openpty, login_tty.
+       * m4/pty_h.m4 (gl_PTY_H_DEFAULTS): Initialize HAVE_FORKPTY.
+       * modules/pty (Makefile.am): Substitute HAVE_FORKPTY.
+       * doc/glibc-functions/forkpty.texi: More supported platforms.
+       * config/srclist.txt: Add forkpty.c (commented).
+
+2010-03-21  Bruno Haible  <bruno@clisp.org>
+
+       * modules/forkpty-tests: Use the common TEMPLATE-TESTS.
+       (Makefile.am): Verify that PTY_LIB is defined.
+
+       * modules/openpty-tests: Use the common TEMPLATE-TESTS.
+
+2010-03-21  Bruno Haible  <bruno@clisp.org>
+
+       Tests for module 'login_tty'.
+       * modules/login_tty-tests: New file.
+       * tests/test-login_tty.c: New file.
+
+       New module 'login_tty'.
+       * lib/login_tty.c: New file.
+       * m4/pty.m4 (gl_FUNC_LOGIN_TTY): New macro.
+       * modules/login_tty: New file.
+       * doc/glibc-functions/login_tty.texi: Mention the new module.
+
+2010-03-21  Bruno Haible  <bruno@clisp.org>
+
+       login_tty: Documentation.
+       * doc/glibc-functions/login_tty.texi: New file.
+       * doc/gnulib.texi (Glibc <utmp.h>): Include it.
+
+2010-03-21  Bruno Haible  <bruno@clisp.org>
+
+       pty: Consistent macro naming.
+       * m4/pty_h.m4 (gl_PTY_H): Renamed from gl_PTY.
+       * m4/pty.m4 (gl_FORKPTY, gl_OPENPTY): Update.
+       * modules/pty (configure.ac): Update.
+
+2010-03-21  Bruno Haible  <bruno@clisp.org>
+
+       Tests for openpty: Make stricter.
+       * tests/test-openpty.c (main): Add test of canonical processing and
+       erase.
+       * modules/openpty-tests (Makefile.am): Verify that PTY_LIB is defined.
+
+       openpty: Provide replacement on AIX, HP-UX, IRIX, Solaris.
+       * lib/openpty.c (openpty): New replacement function.
+       * lib/pty.in.h: Include <termios.h>.
+       (openpty): Update declaration. Add comments.
+       * m4/pty.m4 (gl_OPENPTY): Require AC_USE_SYSTEM_EXTENSIONS. If openpty
+       is not declared, arrange to provide the replacement. Check for _getpty
+       and posix_openpt.
+       * modules/openpty (Depends-on): Add extensions, fcntl-h, ioctl.
+       * m4/pty_h.m4 (gl_PTY_H_DEFAULTS): Initialize HAVE_OPENPTY.
+       * modules/pty (Makefile.am): Substitute HAVE_OPENPTY.
+       * modules/pty-tests (test_pty_c___LDADD): New variable.
+       * doc/glibc-functions/openpty.texi: More supported platforms.
+
+2010-03-21  Bruno Haible  <bruno@clisp.org>
+
+       setenv: Tweaks.
+       * m4/setenv.m4 (gl_FUNC_SETENV_SEPARATE): Include necessary headers in
+       the test program.
+       * doc/posix-functions/setenv.texi: Update platforms list.
+
+2010-03-21  Bruno Haible  <bruno@clisp.org>
+
+       New module 'unlockpt'.
+       * lib/unlockpt.c: New file, from glibc with modifications.
+       * m4/unlockpt.m4: New file.
+       * modules/unlockpt: New file.
+       * lib/stdlib.in.h (unlockpt): New declaration.
+       * m4/stdlib_h.m4 (gl_STDLIB_H): Check whether unlockpt is declared.
+       (gl_STDLIB_H_DEFAULTS): Initialize GNULIB_UNLOCKPT, HAVE_UNLOCKPT.
+       * modules/stdlib (Makefile.am): Substitute GNULIB_UNLOCKPT,
+       HAVE_UNLOCKPT.
+       * doc/posix-functions/unlockpt.texi: Mention the new module.
+       * tests/test-stdlib-c++.cc: Check GNULIB_NAMESPACE::unlockpt.
+       * config/srclist.txt: Add unlockpt.c (commented).
+
+2010-03-21  Jim Meyering  <meyering@redhat.com>
+
+       maint.mk: prohibit inclusion of "intprops.h" without use
+       * top/maint.mk (sc_prohibit_intprops_without_use): New rule.
+
+2010-03-21  Bruno Haible  <bruno@clisp.org>
+
+       New module 'grantpt'.
+       * lib/grantpt.c: New file, from glibc with modifications.
+       * m4/grantpt.m4: New file.
+       * modules/grantpt: New file.
+       * lib/stdlib.in.h (grantpt): New declaration.
+       * m4/stdlib_h.m4 (gl_STDLIB_H): Check whether grantpt is declared.
+       (gl_STDLIB_H_DEFAULTS): Initialize GNULIB_GRANTPT, HAVE_GRANTPT.
+       * modules/stdlib (Makefile.am): Substitute GNULIB_GRANTPT,
+       HAVE_GRANTPT.
+       * doc/posix-functions/grantpt.texi: Mention the new module.
+       * tests/test-stdlib-c++.cc: Check GNULIB_NAMESPACE::grantpt.
+       * config/srclist.txt: Add grantpt.c (commented).
+
+2010-03-21  Bruno Haible  <bruno@clisp.org>
+
+       New module 'pt_chown'.
+       * lib/pt_chown.c: New file, from glibc with modifications.
+       * lib/pty-private.h: New file, from glibc with modifications.
+       * modules/pt_chown: New file.
+       * config/srclist.txt: Add pt_chown.c, pty-private.h (commented).
+
+2010-03-21  Bruno Haible  <bruno@clisp.org>
+
+       Tests for module 'ptsname'.
+       * modules/ptsname-tests: New file.
+       * tests/test-ptsname.c: New file.
+
+       New module 'ptsname'.
+       * lib/ptsname.c: New file, from glibc with modifications.
+       * m4/ptsname.m4: New file.
+       * modules/ptsname: New file.
+       * lib/stdlib.in.h (ptsname): New declaration.
+       * m4/stdlib_h.m4 (gl_STDLIB_H): Check whether ptsname is declared.
+       (gl_STDLIB_H_DEFAULTS): Initialize GNULIB_PTSNAME, HAVE_PTSNAME.
+       * modules/stdlib (Makefile.am): Substitute GNULIB_PTSNAME,
+       HAVE_PTSNAME.
+       * doc/posix-functions/ptsname.texi: Mention the new module.
+       * tests/test-stdlib-c++.cc: Check GNULIB_NAMESPACE::ptsname.
+       * config/srclist.txt: Add ptsname.c (commented).
+
+2010-03-21  Bruno Haible  <bruno@clisp.org>
+
+       Tests for module 'ttyname_r'.
+       * modules/ttyname_r-tests: New file.
+       * tests/test-ttyname_r.c: New file.
+
+       New module 'ttyname_r'.
+       * lib/ttyname_r.c: New file.
+       * m4/ttyname_r.m4: New file.
+       * modules/ttyname_r: New file.
+       * lib/unistd.in.h (ttyname_r): New declaration.
+       * m4/unistd_h.m4 (gl_UNISTD_H): Check whether ttyname_r is declared.
+       (gl_UNISTD_H_DEFAULTS): Initialize GNULIB_TTYNAME_R, HAVE_TTYNAME_R.
+       * modules/unistd (Makefile.am): Substitute GNULIB_TTYNAME_R,
+       HAVE_TTYNAME_R.
+       * tests/test-unistd-c++.cc: Check GNULIB_NAMESPACE::ttyname_r.
+       * doc/posix-functions/ttyname_r.texi: Mention the new module.
+
+2010-03-20  Bruno Haible  <bruno@clisp.org>
+
+       signal: Undefine macro definitions in C++ mode.
+       * lib/signal.in.h (sigismember, sigemptyset, sigaddset, sigdelset,
+       sigfillset): Undefine macro definitions from the system header in C++
+       mode.
+       Reported by John W. Eaton <jwe@gnu.org>.
+
+2010-03-20  Bruno Haible  <bruno@clisp.org>
+
+       Ensure no #include statements inside extern "C" { ... }.
+       * lib/obstack.h: Shrink extern "C" { ... } region so that it does not
+       contain #include statements.
+       * lib/time.in.h: Likewise.
+
+2010-03-20  Bruno Haible  <bruno@clisp.org>
+
+       Make _GL_WARN_ON_USE usable in C++ and C mode in the same compilation.
+       * build-aux/warn-on-use.h (_GL_WARN_EXTERN_C): New macro.
+       (_GL_WARN_ON_USE, _GL_WARN_ON_USE_CXX): Likewise.
+       Reported by John W. Eaton <jwe@gnu.org>.
+
+2010-03-20  Bruno Haible  <bruno@clisp.org>
+
+       * m4/unlink.m4 (gl_FUNC_UNLINK): Fix last commit.
+       Reported by Jim Meyering.
+
 2010-03-20  Bruno Haible  <bruno@clisp.org>
 
        pipe: Set errno upon failure.
@@ -6,7 +721,7 @@
        errno value in error message.
 
 2010-03-20  Bruno Haible  <bruno@clisp.org>
-            Jim Meyering  <meyering@redhat.com>
+           Jim Meyering  <meyering@redhat.com>
 
        lchown: Avoid "unused variable" warning.
        * lib/lchown.c (rpl_lchown): Move variable 'st' into #if block.