getopt: avoid compiler warning
[pspp] / ChangeLog
index 0c770022e577262b473eb3b91b2867affbc6ba6b..6788707871f88ce3e1e7a2a5fe97ef1b3de8b8d2 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,342 @@
+2010-03-19  Eric Blake  <eblake@redhat.com>
+
+       getopt: avoid compiler warning
+       * lib/getopt.c (attribute_hidden): Remove unused macro.
+
+2010-03-18  Bruno Haible  <bruno@clisp.org>
+
+       Fix link errors on Solaris 8.
+       * modules/iconv-h-tests (test_iconv_h_c___LDADD): Add LIB_NANOSLEEP.
+       * modules/search-tests (test_search_c___LDADD): Likewise.
+       * modules/signal-tests (test_signal_c___LDADD): Likewise.
+       * modules/spawn-tests (test_spawn_c___LDADD): Likewise.
+       * modules/stdio-tests (test_stdio_c___LDADD): Likewise.
+       * modules/sys_select-tests (test_sys_select_c___LDADD): Likewise.
+       * modules/sys_socket-tests (test_sys_socket_c___LDADD): Likewise.
+       * modules/sys_time-tests (test_sys_time_c___LDADD): Likewise.
+       * modules/wchar-tests (test_wchar_c___LDADD): Likewise.
+
+2010-03-18  Bruno Haible  <bruno@clisp.org>
+
+       Fix bug introduced on 2010-03-14.
+       * m4/spawn_h.m4 (gl_HAVE_POSIX_SPAWN): New macro.
+       (gl_SPAWN_H): Require it.
+       * m4/posix_spawn.m4 (gl_POSIX_SPAWN_BODY): Likewise.
+       Reported by Simon Josefsson.
+
+2010-03-18  Bruno Haible  <bruno@clisp.org>
+
+       Fix typo introduced on 2009-12-31.
+       * m4/spawn_h.m4 (gl_SPAWN_H): Check for the declaration of
+       posix_spawn_file_actions_adddup2.
+
+2010-03-17  Bert Wesarg  <bert.wesarg@googlemail.com>  (tiny change)
+       and Eric Blake  <eblake@redhat.com>
+
+       test-vc-list-files-git: make more robust
+       * tests/test-vc-list-files-git.sh: Unset problematic environment
+       variables.  Chain commands together.
+
+2010-03-17  Ludovic Courtès <ludo@gnu.org>  (tiny change)
+
+       * m4/pty.m4: Unset $ac_cv_have_decl_forkpty before the second
+       `AC_CHECK_DECL' invocation.
+
+2010-03-15  Sergey Poznyakoff  <gray@gnu.org.ua>
+
+       * lib/inttostr.c (inttostr): Make sure the invocation of verify
+       appears before executable statements. Suggested by Petr Sumbera
+       <Petr.Sumbera@Sun.COM>.
+
+2010-03-14  Bruno Haible  <bruno@clisp.org>
+
+       * tests/test-flock.c (test_exclusive): Comment out a test that causes
+       portability problems. Instead use a simpler test.
+       (main): Check that invalid arguments are rejected only on Linux.
+
+2010-03-14  Bruno Haible  <bruno@clisp.org>
+
+       Fix bug introduced on 2009-12-31.
+       * m4/sys_select_h.m4 (gl_HEADER_SYS_SELECT): Invoke
+       gl_PREREQ_SYS_H_WINSOCK2 always.
+       * m4/sys_socket_h.m4 (gl_HEADER_SYS_SOCKET): Likewise. Remove
+       SYS_SOCKET_H variable.
+       * m4/sys_file_h.m4 (gl_HEADER_SYS_FILE_H): Remove test for flock.
+       Update comments.
+       * m4/ctype.m4 (gl_CTYPE_H): Update comments.
+       * m4/langinfo_h.m4 (gl_LANGINFO_H): Likewise.
+       * m4/sys_times_h.m4 (gl_SYS_TIMES_H): Likewise.
+       * m4/sys_utsname_h.m4 (gl_SYS_UTSNAME_H): Likewise.
+       * m4/sys_wait_h.m4 (gl_SYS_WAIT_H): Likewise.
+
+2010-03-14  Bruno Haible  <bruno@clisp.org>
+
+       Fix values returned by sinl, cosl.
+       * lib/trigl.h: Add specification comments.
+       * lib/sincosl.c (kernel_sinl, kernel_cosl): Fix comments and formula
+       that combines the values from the precomputed table with the values of
+       the Chebyshev polynomials.
+
+2010-03-14  Bruno Haible  <bruno@clisp.org>
+
+       Fix compilation error when modules 'posix_spawn[p]' are not used.
+       * m4/spawn_h.m4 (gl_SPAWN_H): Set HAVE_POSIX_SPAWN here.
+       * m4/posix_spawn.m4 (gl_POSIX_SPAWN_BODY): ... not here.
+
+2010-03-14  Bruno Haible  <bruno@clisp.org>
+
+       Fix compilation error on mingw when module 'time_r' is not used.
+       * lib/time.in.h (localtime_r, gmtime_r): Declare only if GNULIB_TIME_R
+       is 1.
+       * tests/test-time-c++.cc (localtime_r, gmtime_r): Likewise.
+       * modules/time_r (configure.ac): Invoke gl_TIME_MODULE_INDICATOR.
+       * modules/time (Makefile.am): Substitute GNULIB_TIME_R.
+       * m4/time_h.m4 (gl_HEADER_TIME_H_DEFAULTS): Initialize GNULIB_TIME_R.
+
+2010-03-14  Bruno Haible  <bruno@clisp.org>
+
+       Fix compilation error with Sun C.
+       * lib/strtol.c: Use LLONG_MIN instead of GCC specific LONG_LONG_MIN.
+       Use LLONG_MAX instead of GCC specific LONG_LONG_MAX. Use ULLONG_MAX
+       instead of GCC specific ULONG_LONG_MAX.
+       * lib/xstrtoll.c: Likewise.
+       * lib/xstrtoull.c: Likewise.
+
+2010-03-13  Bruno Haible  <bruno@clisp.org>
+
+       Allow the user to disable C++ code and tests.
+       * m4/ansi-c++.m4 (gl_CXX_CHOICE): New macro.
+       (gl_PROG_ANSI_CXX): Require it.
+
+2010-03-13  Bruno Haible  <bruno@clisp.org>
+
+       * DEPENDENCIES (libtool): Mention libtool 2.2.x requirement in special
+       cases.
+
+2010-03-13  Bruno Haible  <bruno@clisp.org>
+
+       Test that gnulib does not break the standard C++ headers.
+       * tests/test-locale-c++2.cc: New file.
+       * modules/locale-tests (Files): Add it.
+       (Makefile.am): Compile it for test-locale-c++.
+       * tests/test-math-c++2.cc: New file.
+       * modules/math-tests (Files): Add it.
+       (Makefile.am): Compile it for test-math-c++.
+       * tests/test-signal-c++2.cc: New file.
+       * modules/signal-tests (Files): Add it.
+       (Makefile.am): Compile it for test-signal-c++.
+       * tests/test-stdio-c++2.cc: New file.
+       * modules/stdio-tests (Files): Add it.
+       (Makefile.am): Compile it for test-stdio-c++.
+       * tests/test-stdlib-c++2.cc: New file.
+       * modules/stdlib-tests (Files): Add it.
+       (Makefile.am): Compile it for test-stdlib-c++.
+       * tests/test-string-c++2.cc: New file.
+       * modules/string-tests (Files): Add it.
+       (Makefile.am): Compile it for test-string-c++.
+       * tests/test-time-c++2.cc: New file.
+       * modules/time-tests (Files): Add it.
+       (Makefile.am): Compile it for test-time-c++.
+       Reported by John W. Eaton <jwe@gnu.org>.
+
+2010-03-13  Bruno Haible  <bruno@clisp.org>
+
+       * gnulib-tool (func_usage): Clarify which options are available for
+       --create-testdir and --create-megatestdir.
+
+2010-03-13  Bruno Haible  <bruno@clisp.org>
+
+       Fix compilation error with glibc >= 2.10 and g++ >= 4.4.
+       * build-aux/warn-on-use.h (_GL_WARN_ON_USE_CXX): New macro.
+       * build-aux/c++defs.h (_GL_CXXALIASWARN1): New macro.
+       * lib/string.in.h (memchr, memrchr, rawmemchr, strchrnul, strpbrk,
+       strstr, strcasestr): Use _GL_CXXALIASWARN1 instead of _GL_CXXALIASWARN
+       when appropriate.
+       Reported by Jim Meyering.
+
+2010-03-12  Simon Josefsson  <simon@josefsson.org>
+
+       * gnulib-tool (func_import): Explain origin of code.
+
+2010-03-12  Bruno Haible  <bruno@clisp.org>
+
+       Fix problem with automake's definition of CXXLINK.
+       * gnulib-tool (func_create_testdir): After LT_INIT, also use LT_LANG.
+       Reported by Simon Josefsson and Ludovic Courtès.
+
+2010-03-12  Bruno Haible  <bruno@clisp.org>
+
+       * doc/gnulib-intro.texi (Steady Development): Mention Ian Beckwith's
+       stable releases.
+
+2010-03-11  Bruno Haible  <bruno@clisp.org>
+
+       Fix problems with overloaded C++ definitions of memchr, strpbrk, etc.
+       * build-aux/c++defs.h (_GL_CXXALIAS_SYS_CAST2): Make it work regardless
+       whether the system provides one variant or multiple variants of the
+       function.
+       * lib/string.in.h (memchr, strpbrk): Use _GL_CXXALIAS_SYS_CAST2 for all
+       C++ compilers.
+       (memrchr, rawmemchr, strchrnul, strstr, strcasestr): Use
+       _GL_CXXALIAS_SYS_CAST2 instead of _GL_CXXALIAS_SYS.
+       Reported by Jim Meyering.
+
+2010-03-09  Simon Josefsson  <simon@josefsson.org>
+
+       * gnulib-tool (LIBTOOLPATH): Fix cut'n'paste bug.
+
+2010-03-08  Bruno Haible  <bruno@clisp.org>
+
+       gnulib-tool: Add support for --libtool in --create-testdir.
+       * gnulib-tool (LIBTOOLPATH, LIBTOOLIZE): New variables.
+       (func_create_testdir): Emit LT_INIT invocations. Invoke LIBTOOLIZE.
+
+2010-03-08  Eric Blake  <eblake@redhat.com>
+
+       gnulib-tool.texi: mention possibility of git submodule
+       * doc/gnulib-tool.texi (VCS Issues): Add details about using git
+       submodules.
+       * doc/.gitignore: Ignore another generated file.
+
+2010-03-08  Karl Berry  <karl@gnu.org>
+
+       * doc/gnulib-tool.texi (VCS Issues): Mention third option
+       of committing gnulib files while skipping others.
+
 2010-03-07  Bruno Haible  <bruno@clisp.org>
 
+       Tests of module 'wctype' in C++ mode.
+       * tests/test-wctype-c++.cc: New file.
+       * modules/wctype-tests (Files): Add it and tests/signature.h.
+       (Depends-on): Add ansi-c++-opt.
+       (Makefile.am): Arrange to compile and run test-wctype-c++.
+
+       Tests of module 'wchar' in C++ mode.
+       * tests/test-wchar-c++.cc: New file.
+       * modules/wchar-tests (Files): Add it and tests/signature.h.
+       (Depends-on): Add ansi-c++-opt.
+       (Makefile.am): Arrange to compile and run test-wchar-c++.
+       * m4/wchar_h.m4 (gl_WCHAR_MODULE_INDICATOR): Invoke
+       gl_MODULE_INDICATOR.
+
+       Tests of module 'unistd' in C++ mode.
+       * tests/test-unistd-c++.cc: New file.
+       * modules/unistd-tests (Files): Add it and tests/signature.h.
+       (Depends-on): Add ansi-c++-opt.
+       (Makefile.am): Arrange to compile and run test-unistd-c++.
+       * m4/unistd_h.m4 (gl_UNISTD_MODULE_INDICATOR): Invoke
+       gl_MODULE_INDICATOR.
+
+       Tests of module 'time' in C++ mode.
+       * tests/test-time-c++.cc: New file.
+       * modules/time-tests (Files): Add it and tests/signature.h.
+       (Depends-on): Add ansi-c++-opt.
+       (Makefile.am): Arrange to compile and run test-time-c++.
+       * m4/time_h.m4 (gl_TIME_MODULE_INDICATOR): Invoke gl_MODULE_INDICATOR.
+
+       Tests of module 'sys_time' in C++ mode.
+       * tests/test-sys_time-c++.cc: New file.
+       * modules/sys_time-tests (Files): Add it and tests/signature.h.
+       (Depends-on): Add ansi-c++-opt.
+       (Makefile.am): Arrange to compile and run test-sys_time-c++.
+       * m4/sys_time_h.m4 (gl_SYS_TIME_MODULE_INDICATOR): Invoke
+       gl_MODULE_INDICATOR.
+
+       Tests of module 'sys_stat' in C++ mode.
+       * tests/test-sys_stat-c++.cc: New file.
+       * modules/sys_stat-tests (Files): Add it and tests/signature.h.
+       (Depends-on): Add ansi-c++-opt.
+       (Makefile.am): Arrange to compile and run test-sys_stat-c++.
+       * m4/sys_stat_h.m4 (gl_SYS_STAT_MODULE_INDICATOR): Invoke
+       gl_MODULE_INDICATOR.
+
+       Tests of module 'sys_socket' in C++ mode.
+       * tests/test-sys_socket-c++.cc: New file.
+       * modules/sys_socket-tests (Files): Add it and tests/signature.h.
+       (Depends-on): Add ansi-c++-opt.
+       (Makefile.am): Arrange to compile and run test-sys_socket-c++.
+       * m4/sys_socket_h.m4 (gl_SYS_SOCKET_MODULE_INDICATOR): Invoke
+       gl_MODULE_INDICATOR.
+
+       Tests of module 'sys_select' in C++ mode.
+       * tests/test-sys_select-c++.cc: New file.
+       * modules/sys_select-tests (Files): Add it and tests/signature.h.
+       (Depends-on): Add ansi-c++-opt.
+       (Makefile.am): Arrange to compile and run test-sys_select-c++.
+       * m4/sys_select_h.m4 (gl_SYS_SELECT_MODULE_INDICATOR): Invoke
+       gl_MODULE_INDICATOR.
+
+       Tests of module 'sys_ioctl' in C++ mode.
+       * tests/test-sys_ioctl-c++.cc: New file.
+       * modules/sys_ioctl-tests (Files): Add it and tests/signature.h.
+       (Depends-on): Add ansi-c++-opt.
+       (Makefile.am): Arrange to compile and run test-sys_ioctl-c++.
+       * m4/sys_ioctl_h.m4 (gl_SYS_IOCTL_MODULE_INDICATOR): Invoke
+       gl_MODULE_INDICATOR.
+
+       Tests of module 'string' in C++ mode.
+       * tests/test-string-c++.cc: New file.
+       * modules/string-tests (Files): Add it and tests/signature.h.
+       (Depends-on): Add ansi-c++-opt.
+       (Makefile.am): Arrange to compile and run test-string-c++.
+       * m4/string_h.m4 (gl_STRING_MODULE_INDICATOR): Invoke
+       gl_MODULE_INDICATOR.
+
+       Tests of module 'stdlib' in C++ mode.
+       * tests/test-stdlib-c++.cc: New file.
+       * modules/stdlib-tests (Files): Add it and tests/signature.h.
+       (Depends-on): Add ansi-c++-opt.
+       (Makefile.am): Arrange to compile and run test-stdlib-c++.
+       * m4/stdlib_h.m4 (gl_STDLIB_MODULE_INDICATOR): Invoke
+       gl_MODULE_INDICATOR.
+
+       Tests of module 'stdio' in C++ mode.
+       * tests/test-stdio-c++.cc: New file.
+       * modules/stdio-tests (Files): Add it and tests/signature.h.
+       (Depends-on): Add ansi-c++-opt.
+       (Makefile.am): Arrange to compile and run test-stdio-c++.
+       * m4/stdio_h.m4 (gl_STDIO_MODULE_INDICATOR): Invoke
+       gl_MODULE_INDICATOR.
+
+       Tests of module 'spawn' in C++ mode.
+       * tests/test-spawn-c++.cc: New file.
+       * modules/spawn-tests (Files): Add it and tests/signature.h.
+       (Depends-on): Add ansi-c++-opt.
+       (Makefile.am): Arrange to compile and run test-spawn-c++.
+       * m4/spawn_h.m4 (gl_SPAWN_MODULE_INDICATOR): Invoke
+       gl_MODULE_INDICATOR.
+
+       Tests of module 'signal' in C++ mode.
+       * tests/test-signal-c++.cc: New file.
+       * modules/signal-tests (Files): Add it and tests/signature.h.
+       (Depends-on): Add ansi-c++-opt.
+       (Makefile.am): Arrange to compile and run test-signal-c++.
+       * m4/signal_h.m4 (gl_SIGNAL_MODULE_INDICATOR): Invoke
+       gl_MODULE_INDICATOR.
+
+       Tests of module 'search' in C++ mode.
+       * tests/test-search-c++.cc: New file.
+       * modules/search-tests (Files): Add it and tests/signature.h.
+       (Depends-on): Add ansi-c++-opt.
+       (Makefile.am): Arrange to compile and run test-search-c++.
+       * m4/search_h.m4 (gl_SEARCH_MODULE_INDICATOR): Invoke
+       gl_MODULE_INDICATOR.
+
+       Tests of module 'math' in C++ mode.
+       * tests/test-math-c++.cc: New file.
+       * modules/math-tests (Files): Add it and tests/signature.h.
+       (Depends-on): Add ansi-c++-opt.
+       (Makefile.am): Arrange to compile and run test-math-c++.
+       * m4/math_h.m4 (gl_MATH_MODULE_INDICATOR): Invoke gl_MODULE_INDICATOR.
+
+       Tests of module 'locale' in C++ mode.
+       * tests/test-locale-c++.cc: New file.
+       * modules/locale-tests (Files): Add it and tests/signature.h.
+       (Depends-on): Add ansi-c++-opt.
+       (Makefile.am): Arrange to compile and run test-locale-c++.
+       * m4/locale_h.m4 (gl_LOCALE_MODULE_INDICATOR): Invoke
+       gl_MODULE_INDICATOR.
+
        Tests of module 'langinfo' in C++ mode.
        * tests/test-langinfo-c++.cc: New file.
        * modules/langinfo-tests (Files): Add it and tests/signature.h.
        (posix_spawn_file_actions_destroy)
        (posix_spawn_file_actions_addopen)
        (posix_spawn_file_actions_addclose)
-       (posix_spawwn_file_actions_adddup2): Likewise.
+       (posix_spawn_file_actions_adddup2): Likewise.
        * m4/signal_h.m4 (gl_SIGNAL_H): Guarantee uid_t.
        * tests/test-signal.c (main): Enhance test.