Tests of module 'pty' in C++ mode.
[pspp] / ChangeLog
index bc8bbbab19e81cfe433c50e1fdb1d6ef6e863b7a..3b8e0cdf1c08c05c888c2441fa9d284ccbe16cee 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,165 @@
+2010-03-19  Bruno Haible  <bruno@clisp.org>
+
+       Tests of module 'pty' in C++ mode.
+       * modules/pty-tests: New file.
+       * tests/test-pty-c++.cc: New file.
+       * m4/pty_h.m4 (gl_PTY_MODULE_INDICATOR): Invoke gl_MODULE_INDICATOR.
+
+2010-03-19  Eric Blake  <eblake@redhat.com>
+
+       logb: fix documentation
+       * doc/posix-functions/logb.texi (logb): Gnulib fixes the cygwin
+       1.5 declaration bug.
+
+       forkpty, openpty: prefer glibc's const-safe prototype
+       * lib/forkpty.c (rpl_forkpty): New file.
+       * lib/openpty.c (rpl_openpty): Likewise.
+       * modules/forkpty (Files): Distribute it.
+       * modules/openpty (Files): Likewise.
+       * m4/pty_h.m4 (gl_PTY_H_DEFAULTS): Add new witnesses.  Move decl
+       check...
+       * m4/pty.m4 (gl_FORKPTY, gl_OPENPTY): ...here.  Request
+       replacement for for non-const BSD signature.
+       * modules/pty (Makefile.am): Substitute witnesses.
+       * lib/pty.in.h (forkpty, openpty): Declare replacements.
+       * tests/test-forkpty.c: Update signature check.
+       * tests/test-openpty.c: Likewise.
+       * doc/glibc-functions/forkpty.texi (forkpty): Document the fix.
+       * doc/glibc-functions/openpty.texi (openpty): Likewise.
+
+       forkpty, openpty: split functions into new modules
+       * modules/pty (Makefile.am): Substitute new witnesses.
+       (Libraries): Move library detection...
+       * modules/forkpty: ...into new module.
+       * modules/openpty: Another new module.
+       * modules/pty-tests: Rename and split...
+       * modules/forkpty-tests: ...to this...
+       * modules/openpty-tests: ...and this.
+       * tests/test-pty.c: Rename and split...
+       * tests/test-forkpty.c: ...to this...
+       * tests/test-openpty.c: ...and this.
+       * m4/pty_h.m4 (gl_PTY_H_DEFAULTS): Add new witnesses.
+       (gl_PTY): Split library searching...
+       * m4/pty.m4 (gl_PTY_LIB): ...into new file.
+       (gl_FORKPTY, gl_OPENPTY): New macros.
+       * lib/pty.in.h (forkpty, openpty): Honor new witnesses.
+       * NEWS: Mention the split.
+       * MODULES.html.sh (Misc): Document the modules.
+       * doc/glibc-functions/forkpty.texi (forkpty): Likewise.
+       * doc/glibc-functions/openpty.texi (openpty): Likewise.
+
+       pty: improve replacement header
+       * lib/pty.in.h: New file.
+       * modules/pty (Files): Ship it.
+       (Makefile.am): Always build replacement.
+       * m4/pty.m4: Rename...
+       * m4/pty_h.m4: ...to this.
+       (gl_PTY): Modernize setting of witness macros; update check of
+       forkpty to take proper advantage of cache.
+       (gl_PTY_MODULE_INDICATOR, gl_PTY_H_DEFAULTS): New macros.
+
+       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.
        (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.