New modules nproc, pthread.
[gnulib.git] / ChangeLog
index bbb36c7..1698422 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,164 @@
+2009-03-25  Paul Eggert  <eggert@cs.ucla.edu>
+
+       New modules nproc, pthread, contributed by Glen Lenker.
+
+       * MODULES.html.sh: Add pthread, nproc.
+       * lib/nproc.c: New file.
+       * lib/nproc.h: New file.
+       * lib/pthread.in.h: New file.
+       * m4/pthread.m4: New file.
+       * modules/nproc: New file.
+       * modules/pthread: New file.
+
+2009-03-24  Simon Josefsson  <simon@josefsson.org>
+
+       * modules/unicase/locale-language-tests (test_locale_language_LDADD):
+       New variable.
+
+2009-03-24  Kamil Dudka  <kdudka@redhat.com>
+
+       filevercmp: handle simple~ and numbered.~3~ backup suffixes
+       * lib/filevercmp.c: Handle simple~ and numbered.~3~ backup suffixes.
+       * tests/test-filevercmp.c: Add tests for backup suffixes.
+
+2009-03-24  Simon Josefsson  <simon@josefsson.org>
+
+       * modules/stdlib (Depends-on): Add stdint, needed when defining
+       struct random_data on, for example, HP-UX 10.20.  Reported by
+       Albert Chin <bug-gnulib@mlists.thewrittenword.com>.
+
+2009-03-24  Simon Josefsson  <simon@josefsson.org>
+
+       * lib/readline.c (readline): Call fflush on stdout after printing
+       prompt.
+
+2009-03-20  Bruno Haible  <bruno@clisp.org>
+
+       Remove dependency from 'close' module to -lws2_32 on native Windows.
+       * lib/close-hook.h: New file.
+       * lib/close-hook.c: New file.
+       * lib/close.c: Include close-hook.h. Don't include <sys/socket.h>,
+       w32sock.h.
+       (_gl_close_fd_maybe_socket): Remove function.
+       (rpl_close): Invoke execute_all_close_hooks instead of
+       _gl_close_fd_maybe_socket.
+       * lib/sockets.c: Include close-hook.h, w32sock.h.
+       (close_fd_maybe_socket): New function, essentially from lib/close.c.
+       (close_sockets_hook): New variable.
+       (gl_sockets_startup): Register close_fd_maybe_socket as a hook.
+       (gl_sockets_cleanup): Unregister it.
+       * lib/unistd.in.h (HAVE__GL_CLOSE_FD_MAYBE_SOCKET): Remove macro.
+       * m4/close.m4 (gl_REPLACE_CLOSE): Undo 2009-02-05 change.
+       * modules/close-hook: New file.
+       * modules/close (Files): Remove lib/w32sock.h.
+       (Depends-on): Add close-hook.
+       (Link): Remove section.
+       * modules/sockets (Files): Add lib/w32sock.h.
+       (Depends-on): Add close-hook.
+       * modules/sys_socket (configure.ac): Remove gl_MODULE_INDICATOR
+       invocation.
+       * NEWS: Mention that LIB_CLOSE is gone.
+
+2009-03-23  Eric Blake  <ebb9@byu.net>
+
+       signal-tests: test previous patch
+       * tests/test-signal.c: New file.
+       * modules/signal-tests: Likewise.
+
+       signal.h: always support 'volatile sig_atomic_t'
+       * m4/signal_h.m4 (gl_SIGNAL_H): Check for AIX limitation.
+       (gl_SIGNAL_H_DEFAULTS): Add a default.
+       * modules/signal (Makefile.am): Substitute if needed.
+       * lib/signal.in.h (sig_atomic_t): Redefine if needed, so that
+       users can blindly add volatile.
+       * doc/posix-headers/signal.texi (signal.h): Document it.
+       Reported by Matthew Woehlke.
+
+2009-03-23  Jim Meyering  <meyering@redhat.com>
+
+       pathmax: PATH_MAX: use pathconf only when available
+       * lib/pathmax.h (PATH_MAX): Select the pathconf-using definition
+       only if HAVE_PATHCONF is defined.  Patch by Sylvain Beucler.
+       * m4/pathmax.m4 (gl_PATHMAX): Check for pathconf.
+       This avoids a link failure in a PSP cross-compilation environment
+       described in http://thread.gmane.org/gmane.comp.lib.gnulib.bugs/17048
+
+       * lib/vasnprintf.c (divide): Fix typo in comment.
+
+2009-03-23  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
+
+       * gnulib-tool (func_filter_filelist): Fix comment.
+
+2009-03-20  Bruno Haible  <bruno@clisp.org>
+
+       Make sockets.h self-contained.
+       * lib/sockets.c: Include sockets.h first.
+       * lib/sockets.h: Include <sys/socket.h> before using the SOCKET type.
+
+2009-03-19  Eric Blake  <ebb9@byu.net>
+
+       doc: mention more functions added in cygwin 1.7.0
+       * doc/posix-functions/log2.texi: Mention recent cygwin 1.7.0
+       addition.
+       * doc/posix-functions/log2f.texi: Likewise.
+
+2009-03-19  Jim Meyering  <meyering@redhat.com>
+
+       fsusage: avoid syntax error due to statement-before-declaration
+       * lib/fsusage.c (get_fs_usage): Put warning-avoidance statement
+       after all declarations.  Reported by Matthew Woehlke in
+       http://thread.gmane.org/gmane.comp.gnu.coreutils.bugs/16231
+
+2009-03-18  Eric Blake  <ebb9@byu.net>
+
+       build-aux/compile: sync from automake
+       * build-aux/compile: New file, from automake.
+       * config/srclist.txt: Mention build-aux/compile.
+
+2009-03-17  Bruno Haible  <bruno@clisp.org>
+
+       * lib/git-merge-changelog.c: Fix typo in comment.
+       Reported by Reuben Thomas <rrt@sc3d.org>.
+
+2009-03-17  Reuben Thomas  <rrt@sc3d.org>
+
+       * m4/regex.m4: update and improve help for
+       --without-included-regex.
+
+2009-03-17  Simon Josefsson  <simon@josefsson.org>
+
+       * modules/isnanl-nolibm-tests (Files): Add tests/nan.h to avoid
+       failure on missing include files.
+
+2009-03-17  Eric Blake  <ebb9@byu.net>
+
+       doc: mention more functions added in cygwin 1.7.0
+       * doc/posix-functions/fwprintf.texi: Mention recent cygwin 1.7.0
+       addition.
+       * doc/posix-functions/fwscanf.texi: Likewise.
+       * doc/posix-functions/swprintf.texi: Likewise.
+       * doc/posix-functions/swscanf.texi: Likewise.
+       * doc/posix-functions/vfwprintf.texi: Likewise.
+       * doc/posix-functions/vfwscanf.texi: Likewise.
+       * doc/posix-functions/vswprintf.texi: Likewise.
+       * doc/posix-functions/vswscanf.texi: Likewise.
+       * doc/posix-functions/vwprintf.texi: Likewise.
+       * doc/posix-functions/vwscanf.texi: Likewise.
+       * doc/posix-functions/wcscasecmp.texi: Likewise.
+       * doc/posix-functions/wcsdup.texi: Likewise.
+       * doc/posix-functions/wcsftime.texi: Likewise.
+       * doc/posix-functions/wcsncasecmp.texi: Likewise.
+       * doc/posix-functions/wprintf.texi: Likewise.
+       * doc/posix-functions/wscanf.texi: Likewise.
+       * doc/glibc-functions/gethostbyname2.texi: Likewise.
+
 2009-03-14  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
 
+       maint.mk: really add $(AM_MAKEFLAGS)
+       * top/maint.mk (init-coverage, build-coverage): `$(AM_MAKEFLAGS)'
+       was inadvertently omitted in the last commit.
+       Spotted by Bruno Haible.
+
        maint.mk: use $(MAKE) $(AM_MAKEFLAGS) not make
        * top/maint.mk (init-coverage, build-coverage): Use `$(MAKE)
        $(AM_MAKEFLAGS)' rather than plain `make'.