work around mingw's lack of some S_IF definitions
[pspp] / ChangeLog
index d6eb985e16050c0500087e382467ad2ac97ce9cf..c4c51b3f2434144f1bf3f96ffa172e33ffac4e1b 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,459 @@
+2008-12-08  Jim Meyering  <meyering@redhat.com>
+
+       work around mingw's lack of some S_IF definitions
+       * lib/fts.c (S_IFLNK, S_IFSOCK): Define if not already defined.
+       Reported by Simon Josefsson.
+
+2008-12-08  Bruno Haible  <bruno@clisp.org>
+
+       * m4/signbitl.m4 (gl_SIGNBIT_TEST_PROGRAM): Add a link check of signbit
+       applied to variables. Needed on MacOS X 10.4/PowerPC.
+       Reported by Simon Josefsson.
+
+2008-12-08  William Pursell  <bill.pursell@gmail.com>  (tiny change)
+       and Eric Blake  <ebb9@byu.net>
+
+       assert: honor --enable-assert
+       * m4/assert.m4 (gl_ASSERT): Synchronize with autoconf 2.64, in
+       order to honor --enable-assert, rather than treating it as a
+       synonym for --disable-assert.
+
+2008-12-08  Jim Meyering  <meyering@redhat.com>
+
+       * lib/posixtm.c: Remove now-useless declaration of mktime.
+
+       * build-aux/announce-gen (get_tool_versions): Accept .xz tarballs.
+
+2008-12-07  Bruno Haible  <bruno@clisp.org>
+
+       * tests/test-lock.c (test_lock, test_rwlock, test_recursive_lock,
+       test_once): Mark functions as static.
+       * tests/test-tls.c (test_tls): Likewise.
+
+2008-12-07  Bruno Haible  <bruno@clisp.org>
+
+       * lib/striconveha.h (uniconv_register_autodetect): Renamed from
+       iconv_register_autodetect.
+
+2008-12-07  Jim Meyering  <meyering@redhat.com>
+
+       posixtm.c: avoid a warning
+       * lib/posixtm.c (posixtime): Don't initialize tm0.
+       It's no longer needed to placate gcc4's -Wuninitialized,
+       and the attempt to placate would elicit a new warning.
+
+       unicodeio.c: mark unused parameters
+       * lib/unicodeio.c (exit_failure_callback): Mark unused parameter.
+       (fallback_failure_callback): Likewise.
+
+2008-12-07  Bruno Haible  <bruno@clisp.org>
+
+       * gnulib-tool (func_create_testdir): When building the tests
+       subdirectory, ignore the modules gnumakefile and maintainer-makefile.
+       Reported by Simon Josefsson.
+
+2008-12-07  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
+
+       * doc/manywarnings.texi, doc/gnulib-intro.texi: Fix typos.
+
+2008-12-06  Bruno Haible  <bruno@clisp.org>
+
+       * lib/c-stack.h (c_stack_action): Clarify possible side effects.
+       Suggested by Eric Blake.
+
+2008-12-06  Bruno Haible  <bruno@clisp.org>
+
+       Fix a c-stack test failure on MacOS X.
+       * m4/c-stack.m4 (AC_SYS_XSI_STACK_OVERFLOW_HEURISTIC): Require
+       AC_CANONICAL_HOST. Define FAULT_YIELDS_SIGBUS. If set, install a signal
+       handler for SIGBUS as well.
+       * lib/c-stack.c (c_stack_action): If FAULT_YIELDS_SIGBUS is set,
+       install a signal handler for SIGBUS as well.
+       Reported by Bruce Dugan <bld0401@gmail.com> via Eric Blake.
+
+2008-12-06  Bruno Haible  <bruno@clisp.org>
+
+       Advocacy documentation.
+       * doc/gnulib-intro.texi (Benefits): New section.
+       * doc/gnulib.texi: Update.
+
+2008-12-06  Bruno Haible  <bruno@clisp.org>
+
+       Document the 'manywarnings' module.
+       * doc/manywarnings.texi: New file.
+       * doc/gnulib.texi: Include it.
+
+2008-12-05  Eric Blake  <ebb9@byu.net>
+
+       tests: silence some gcc warnings
+       * tests/test-getdate.c (LOG) [!DEBUG]: Mark no-op void.
+       * tests/uniwidth/test-uc_width2.c (finish_interval): Avoid printf
+       type mismatches.
+
+2008-12-03  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
+           Bruno Haible  <bruno@clisp.org>
+
+       * m4/openmp.m4 (AC_OPENMP): Do not define with Autoconf 2.62 or newer.
+
+2008-11-29  Jim Meyering  <meyering@redhat.com>
+
+       unicodeio.c: mark unused parameters
+       * lib/unicodeio.c (exit_failure_callback): Mark unused parameter.
+       (fallback_failure_callback): Likewise.
+
+       fts: fix a thinko
+       * lib/fts.c (s_ifmt_shift_bits): Remove function.  Not needed after all.
+       (set_stat_type): Return S_IF*-valued "type" directly.
+       Prompted by James Youngman's spotting a related bug.
+       Confirmed by further testing through find.
+
+       fts: provide dirent.d_type via FTSENT.fts_statp, when possible
+       * lib/fts.c (D_TYPE): Define.
+       (DT_UNKNOWN, DT_BLK, DT_CHR) [HAVE_STRUCT_DIRENT_D_TYPE]: Define.
+       (DT_DIR, DT_FIFO, DT_LNK, DT_REG, DT_SOCK): Likewise.
+       (s_ifmt_shift_bits): New function.
+       (set_stat_type): New function.
+       (fts_build): When not calling fts_stat, call set_stat_type
+       to propagate dirent.d_type info to fts_read caller.
+       * lib/fts_.h (FTSENT) [FTS_DEFER_STAT]: Mention that
+       fts_statp->st_mode type information may be valid.
+
+2008-11-28  Simon Josefsson  <simon@josefsson.org>
+
+       * lib/sys_time.in.h: Add extern "C" block for C++.  Suggested by
+       Brian Dessent <brian@dessent.net>.  Reported by Sam Steingold
+       <sds@gnu.org>.
+
+2008-11-20  Bruno Haible  <bruno@clisp.org>
+
+       Attempt to work around an AIX 5.3, 6.1 compiler bug with include_next.
+       * lib/math.in.h: Use INCLUDE_NEXT_AS_FIRST_DIRECTIVE instead of
+       INCLUDE_NEXT.
+       * m4/include_next.m4 (gl_INCLUDE_NEXT): Set also
+       INCLUDE_NEXT_AS_FIRST_DIRECTIVE.
+       * modules/math (Makefile.am): Substitute
+       INCLUDE_NEXT_AS_FIRST_DIRECTIVE instead of INCLUDE_NEXT.
+       Reported by Albert Chin <bug-gnulib@mlists.thewrittenword.com>.
+
+2008-11-18  Alexandre Duret-Lutz  <adl@lrde.epita.fr>
+           Bruno Haible  <bruno@clisp.org>
+
+       * lib/stdint.in.h: Define all type macros so that their expansion is
+       a single typedef'ed token. Fixes a compilation failure in Boost which
+       does "using ::int8_t;".
+
+2008-11-18  Simon Josefsson  <simon@josefsson.org>
+
+       * m4/manywarnings.m4: New file with gl_MANYWARN_COMPLEMENT and
+       gl_MANYWARN_ALL_GCC.
+       * m4/warnings.m4: Removed gl_WARN_SUPPORTED and
+       gl_WARN_COMPLEMENT.  Suggested by Bruno Haible <bruno@clisp.org>.
+       * modules/manywarnings: New file.
+       * MODULES.html.sh: Mention manywarnings module.
+
+2008-11-18  Bruno Haible  <bruno@clisp.org>
+
+       * doc/gnulib-tool.texi (Unit tests): New section.
+
+2008-11-18  Simon Josefsson  <simon@josefsson.org>
+
+       * top/maint.mk (refresh-po): Fix sed regexp to avoid problems with
+       paths like 'lib/po/foo.po'.
+
+2008-11-17  Simon Josefsson  <simon@josefsson.org>
+
+       * m4/warnings.m4: Improve code.  Reported by Ralf Wildenhues
+       <Ralf.Wildenhues@gmx.de> and Paolo Bonzini <bonzini@gnu.org>.
+
+2008-11-17  Simon Josefsson  <simon@josefsson.org>
+
+       * m4/warnings.m4: Use CPPFLAGS to really check whether the
+       parameter works.
+
+2008-11-17  Simon Josefsson  <simon@josefsson.org>
+
+       * m4/warnings.m4: Add gl_WARN_COMPLEMENT and gl_WARN_SUPPORTED.
+
+2008-11-17  Bruce Korb  <bkorb@gnu.org>
+
+       * modules/parse-duration-tests: New file.
+       * tests/test-parse-duration.sh: New file.
+       * tests/test-parse-duration.c: New file.
+
+       New module 'parse-duration'.
+       * lib/parse-duration.h: New file.
+       * lib/parse-duration.c: New file.
+       * modules/parse-duration: New file.
+
+2008-11-17  Bruno Haible  <bruno@clisp.org>
+
+       * tests/test-select-out.sh: Comment out the first pipe test.
+       Reported by Simon Josefsson.
+
+2008-11-17  Bruno Haible  <bruno@clisp.org>
+
+       * modules/getaddrinfo (Depends-on): Add servent, hostent.
+       * m4/getaddrinfo.m4 (gl_PREREQ_GETADDRINFO): Use gl_SERVENT and
+       gl_HOSTENT.
+
+2008-11-17  Bruno Haible  <bruno@clisp.org>
+
+       * m4/sockets.m4 (gl_SOCKETS): After trying -lsocket, try also
+       -lnetwork and -lnet. Needed for Haiku and BeOS.
+
+2008-11-16  Bruno Haible  <bruno@clisp.org>
+
+       * m4/getaddrinfo.m4 (gl_GETADDRINFO): Fix indentation.
+
+2008-11-16  Bruno Haible  <bruno@clisp.org>
+
+       Avoid test failure on Haiku.
+       * tests/test-fsync.c: Include <errno.h>.
+       (main): Don't require that fsync (0) fails.
+
+2008-11-15  Bruno Haible  <bruno@clisp.org>
+
+       New module 'hostent'.
+       * modules/hostent: New file.
+       * m4/hostent.m4: New file, based on code in m4/getaddrinfo.m4.
+
+2008-11-15  Bruno Haible  <bruno@clisp.org>
+
+       New module 'servent'.
+       * modules/servent: New file.
+       * m4/servent.m4: New file, based on code in m4/getaddrinfo.m4.
+
+2008-11-15  Bruno Haible  <bruno@clisp.org>
+
+       Avoid generating same test program with two different rules.
+       * modules/frexp-nolibm-tests (Makefile.am): Rename test program from
+       test-frexp to test-frexp-nolibm.
+       * modules/frexpl-nolibm-tests (Makefile.am): Rename test program from
+       test-frexpl to test-frexpl-nolibm.
+
+2008-11-15  Bruno Haible  <bruno@clisp.org>
+
+       * modules/frexpl-tests (Makefile.am): Link test-frexpl with
+       $(FREXPL_LIBM).
+
+2008-11-15  Bruno Haible  <bruno@clisp.org>
+
+       * lib/netdb.in.h: Activate the definitions also when the system's
+       <netdb.h> has 'struct addrinfo'.
+       * m4/netdb_h.m4 (gl_HEADER_NETDB): Replace netdb.h also when it lacks
+       EAI_OVERFLOW or AI_NUMERICSERV.
+       * doc/posix-headers/netdb.texi: Document the problem.
+
+2008-11-15  Bruno Haible  <bruno@clisp.org>
+
+       * tests/test-sched.c: Test also the existence of the SCHED_* macros.
+
+       Make the 'sched' module work on platforms where <sched.h> exists but
+       is incomplete (such as Haiku).
+       * lib/sched.in.h; Include the system's <sched.h> if it exists.
+       (SCHED_FIFO, SCHED_RR, SCHED_OTHER): New macros.
+       * m4/sched_h.m4 (gl_SCHED_H): Test whether <sched.h> exists and also
+       defines SCHED_FIFO, SCHED_RR, SCHED_OTHER. Set HAVE_SCHED_H,
+       HAVE_STRUCT_SCHED_PARAM.
+       * modules/sched (Depends-on): Add include_next.
+       (Makefile.am): Substitute HAVE_SCHED_H, INCLUDE_NEXT,
+       PRAGMA_SYSTEM_HEADER, NEXT_SCHED_H, HAVE_STRUCT_SCHED_PARAM.
+       * doc/posix-headers/sched.texi: Document the issue.
+
+2008-11-13  Jim Meyering  <meyering@redhat.com>
+
+       test-argp-2: avoid test failure when PACKAGE_BUGREPORT is defined
+       * tests/test-argp-2.sh: When PACKAGE_BUGREPORT was defined, this
+       test would fail due to the difference in the Report bugs to ...
+       line.  The expected address is empty, "<>", while the actual
+       would contain e.g., "<bug-tar@gnu.org>".  Filter out any address.
+
+2008-11-12  Bruno Haible  <bruno@clisp.org>
+
+       lstat: don't compile lstat.c on systems lacking lstat
+       * m4/lstat.m4 (gl_FUNC_LSTAT): Don't compile lstat.c on systems
+       which don't have lstat; this is handled by lib/sys_stat.in.h already.
+       Reported by Daniel P. Berrange via Jim Meyering.
+
+2008-11-12  Jim Meyering  <meyering@redhat.com>
+
+       * lib/unicodeio.c (unicode_to_mb): Correct spelling of u8_uctomb.
+
+2008-11-12  Simon Josefsson  <simon@josefsson.org>
+
+       * modules/warnings (configure.ac): Do AC_SUBST([WARN_CFLAGS]) here
+       instead.
+
+2008-11-12  Bruno Haible  <bruno@clisp.org>
+
+       * lib/unicodeio.c: Include unistr.h.
+       (utf8_wctomb): Remove function.
+       (unicode_to_mb): Use utf8_uctomb instead of utf8_wctomb.
+
+2008-11-12  Simon Josefsson  <simon@josefsson.org>
+
+       * m4/warnings.m4 (gl_WARN_INIT): Remove, suggested by Ralf
+       Wildenhues <Ralf.Wildenhues@gmx.de> and Bruno Haible
+       <bruno@clisp.org>.
+       * modules/warnings (configure.ac): Don't call gl_WARN_INIT.
+
+2008-11-12  Simon Josefsson  <simon@josefsson.org>
+
+       * doc/warnings.texi: New file, from Bruno Haible <bruno@clisp.org>.
+       * doc/gnulib.texi: Add section for warnings.
+
+2008-11-11  Bruno Haible  <bruno@clisp.org>
+
+       * lib/sockets.h: Add a comment.
+
+2008-11-11  Karl Berry  <karl@gnu.org>
+
+       * config/srclist.txt (fdl.texi): add, syncing from gnustandards.
+
+2008-11-11  Eric Blake  <ebb9@byu.net>
+
+       fdl.texi: avoid git symlinks
+       * doc/fdl.texi: Copy, rather than link, fdl-1.3.texi.
+
+2008-11-11  Paolo Bonzini  <bonzini@gnu.org>
+
+       * m4/warnings.m4 (gl_WARN_ADD): Don't AC_SUBST the empty string.
+
+2008-11-11  Paolo Bonzini  <bonzini@gnu.org>
+
+       * m4/warnings.m4 (gl_WARN_INIT): Substitute WARN_CFLAGS.
+       (gl_WARN_ADD): Substitute $2 if literal.
+
+2008-11-11  Paolo Bonzini  <bonzini@gnu.org>
+
+       * m4/warning.m4: Remove.
+
+2008-11-11  Paolo Bonzini  <bonzini@gnu.org>
+
+       * m4/warnings.m4: Almost complete rewrite. :-)
+
+2008-11-10  Simon Josefsson  <simon@josefsson.org>
+
+       * modules/warnings: New module.
+       * m4/warnings.m4: New file.
+       * MODULES.html.sh: Mention warnings module.
+       With review improvements from Paolo Bonzini <bonzini@gnu.org> and
+       Ralf Wildenhues <Ralf.Wildenhues@gmx.de>.
+
+2008-11-10  Eric Blake  <ebb9@byu.net>
+
+       fdl.texi: make a symlink to the latest version
+       * doc/standards.texi: Revert today's earlier change.
+       * doc/fdl-1.2.texi: Rename from old fdl.texi...
+       * doc/fdl.texi: ...and replace this with a symlink to the newer
+       fdl-1.3.texi.
+
+2008-11-10  Bruno Haible  <bruno@clisp.org>
+
+       * tests/test-select-fd.c (main): Accept the result file name as fourth
+       argument.
+       * tests/test-select-in.sh: Pass t-select-in.tmp as fourth argument.
+       * tests/test-select-out.sh: Pass t-select-out.tmp as fourth argument.
+
+2008-11-10  Bruno Haible  <bruno@clisp.org>
+
+       * lib/netdb.in.h: Use HAVE_STRUCT_ADDRINFO, HAVE_DECL_GETADDRINFO,
+       HAVE_DECL_FREEADDRINFO, HAVE_DECL_GAI_STRERROR, HAVE_DECL_GETNAMEINFO
+       as autoconf-substituted macros.
+       * m4/netdb_h.m4 (gl_NETDB_H_DEFAULTS): Initialize these variables to 1.
+       * m4/getaddrinfo.m4 (gl_PREREQ_GETADDRINFO): Require
+       gl_NETDB_H_DEFAULTS. Set these variables.
+       * modules/netdb (Makefile.am): Substitute these variables.
+
+2008-11-10  Eric Blake  <ebb9@byu.net>
+
+       standards.texi: include correct file for FDL 1.3
+       * doc/standards.texi (GNU Free Documentation License): Change
+       include file to pull in FDL 1.3, not 1.2.
+
+       fdl.texi: revert accidental change to license
+       * doc/fdl.texi: This is FDL 1.2, not 1.3.
+
+2008-11-10  Bruno Haible  <bruno@clisp.org>
+
+       * m4/printf.m4 (gl_PRINTF_ENOMEM): Guess yes on Haiku. Use the
+       cross-compiling guesses also when the native compile gives no result.
+
+2008-11-10  Bruno Haible  <bruno@clisp.org>
+
+       * lib/spawni.c (__spawni): Force variable into the stack.
+
+2008-11-10  Bruno Haible  <bruno@clisp.org>
+
+       Add support for Haiku.
+       * lib/fbufmode.c (fbufmode): Test a symbol that is not only defined on
+       glibc and BeOS, but also on Haiku.
+       * lib/fpurge.c (fpurge): Likewise.
+       * lib/freadable.c (freadable): Likewise.
+       * lib/freadahead.c (freadahead): Likewise.
+       * lib/freading.c (freading): Likewise.
+       * lib/freadptr.c (freadptr): Likewise.
+       * lib/freadseek.c (freadptrinc): Likewise.
+       * lib/fseeko.c (rpl_fseeko): Likewise.
+       * lib/fseterr.c (fseterr): Likewise.
+       * lib/fwritable.c (fwritable): Likewise.
+       * lib/fwriting.c (fwriting): Likewise.
+       Reported by Ingo Weinhold <ingo_weinhold@gmx.de>.
+
+2008-11-10  Ingo Weinhold  <ingo_weinhold@gmx.de>
+
+       * lib/config.charset: Treat Haiku like BeOS.
+
+2008-11-10  Ingo Weinhold  <ingo_weinhold@gmx.de>
+
+       * lib/binary-io.h (O_BINARY, O_TEXT): Treat Haiku like BeOS.
+       * lib/fcntl.in.h (O_BINARY, O_TEXT): Likewise.
+
+2008-11-08  Bruno Haible  <bruno@clisp.org>
+
+       * m4/sys_ioctl_h.m4 (gl_SYS_IOCTL_H): Avoid using AC_CHECK_DECL inside
+       AC_CACHE_CHECK.
+
+2008-11-08  Bruno Haible  <bruno@clisp.org>
+
+       * modules/select-tests (configure.ac): Check for unistd.h, sys/wait.h.
+
+2008-11-08  Bruno Haible  <bruno@clisp.org>
+
+       * tests/test-select-fd.c: New file.
+       * tests/test-select-in.sh: New file.
+       * tests/test-select-out.sh: New file.
+       * tests/test-select-stdin.c: New file.
+       * modules/select-tests (Files): Add the new files.
+       (Depends-on): Add gettimeofday.
+       (Makefile.am): Add test-select-in.sh, test-select-out.sh to TESTS.
+       Set TESTS_ENVIRONMENT. Add test-select-fd, test-select-stdin to
+       check_PROGRAMS. Define test_select_fd_LDADD, test_select_stdin_LDADD.
+
+2008-11-06  Alexander V. Lukyanov  <lav@netis.ru>
+           Bruno Haible  <bruno@clisp.org>
+
+       * lib/sys_stat.in.h: Enclose function definitions in extern "C".
+
+2008-10-12  Giuseppe Scrivano  <gscrivano@gnu.org>
+
+       * build-aux/pmccabe2html: Added support for C++ source files.
+
+2008-11-05  Ben Pfaff  <blp@gnu.org>
+
+       Fix lib/close.c build on Windows.
+       * modules/close (Files): Add lib/w32sock.h.
+
+2008-11-05  Joel E. Denny  <jdenny@ces.clemson.edu>
+
+       Accept Bison's NEWS format.
+       * build-aux/announce-gen (print_news_deltas): Tweak
+       $re_prefix.
+
+2008-11-04  Bruno Haible  <bruno@clisp.org>
+
+       * modules/random_r (Maintainer): Add glibc.
+
 2008-11-04  Simon Josefsson  <simon@josefsson.org>
 
        * doc/alloca-opt.texi: Change license to GFDLv1.3+, as suggested