Add support for Haiku and BeOS.
[gnulib.git] / ChangeLog
index 0049974..8d48be8 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,246 @@
+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.