X-Git-Url: http://erislabs.net/gitweb/?a=blobdiff_plain;f=ChangeLog;h=3b6d17729d15b918e2328a751ef769b5f5b19ba2;hb=b314ca18dc36e59297f66b2508fd58535a1cd724;hp=a07c894fcc8f9a588a9a482e09a5a40609d0e182;hpb=9d5d03ff00b8b11b51450ce107159b263efb1739;p=gnulib.git diff --git a/ChangeLog b/ChangeLog index a07c894fc..3b6d17729 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,853 @@ +2008-11-04 Simon Josefsson + + * doc/fdl-1.3.texi: New file, from + . + * modules/fdl-1.3: Add. + * MODULES.html.sh: Add fdl-1.3. + +2008-11-03 Bruno Haible + + Make determination of absolute name of header file work with AIX xlc. + * m4/include_next.m4 (gl_CHECK_NEXT_HEADERS): Require + AC_CANONICAL_HOST. On AIX, use "$CPP -C" rather than "$CPP" for + preprocessing. + * m4/absolute-header.m4 (gl_ABSOLUTE_HEADER): Likewise. + Reported by Gary V. Vaughan . + +2008-11-03 Simon Josefsson + + * top/maint.mk (COVERAGE_CCOPTS): Use --coverage instead of + -fprofile-arcs -ftest-coverage. Suggested by Ludovic Courtès + . + +2008-11-02 Bruno Haible + + Mark 'strpbrk' obsolete. + * modules/strpbrk (Status, Notice): New sections. + * modules/strtok_r (Depends-on): Add strpbrk. + +2008-11-02 Bruno Haible + + Mark 'strdup' obsolete. + * modules/strdup (Status, Notice): New sections. + * modules/findprog (Depends-on): Add strdup. + * modules/getaddrinfo (Depends-on): Likewise. + * modules/localename (Depends-on): Likewise. + * modules/relocatable-lib (Depends-on): Likewise. + * modules/relocatable-lib-lgpl (Depends-on): Likewise. + * modules/relocatable-prog (Depends-on): Likewise. + * modules/trim (Depends-on): Likewise. + * modules/unictype/gen-ctype (Depends-on): Likewise. + * modules/unilbrk/gen-lbrk (Depends-on): Likewise. + +2008-11-02 Bruno Haible + + Mark 'strcspn' obsolete. + * modules/strcspn (Status, Notice): New sections. + +2008-11-02 Bruno Haible + + Mark 'rmdir' obsolete. + * modules/rmdir (Status, Notice): New sections. + * modules/clean-temp (Depends-on): Add rmdir. + * modules/openat (Depends-on): Likewise. + +2008-11-02 Bruno Haible + + Mark 'raise' obsolete. + * modules/raise (Status, Notice): New sections. + (Include): Specify . + * modules/stdio (Depends-on): Add raise. + * modules/write (Depends-on): Likewise. + +2008-11-02 Bruno Haible + + Mark 'memset' obsolete. + * modules/memset (Status, Notice): New sections. + +2008-11-02 Bruno Haible + + Mark 'memmove' obsolete. + * modules/memmove (Status, Notice): New sections. + * modules/argp (Depends-on): Add memmove. + * modules/argz (Depends-on): Likewise. + * modules/canonicalize (Depends-on): Likewise. + * modules/canonicalize-lgpl (Depends-on): Likewise. + * modules/fts (Depends-on): Likewise. + * modules/getcwd (Depends-on): Likewise. + * modules/human (Depends-on): Likewise. + * modules/regex (Depends-on): Likewise. + * modules/striconveh (Depends-on): Likewise. + * modules/trim (Depends-on): Likewise. + * modules/unistr/u8-move (Depends-on): Likewise. + * modules/unistr/u16-move (Depends-on): Likewise. + * modules/unistr/u32-move (Depends-on): Likewise. + +2008-11-02 Bruno Haible + + Mark 'memcpy' obsolete. + * modules/memcpy (Status, Notice): New sections. + +2008-11-02 Bruno Haible + + Mark 'memcmp' obsolete. + * modules/memcmp (Status, Notice): New sections. + * modules/argmatch (Depends-on): Add memchr. + * modules/backupfile (Depends-on): Likewise. + * modules/c-strcasestr (Depends-on): Likewise. + * modules/crypto/des (Depends-on): Likewise. + * modules/csharpcomp (Depends-on): Likewise. + * modules/fnmatch (Depends-on): Likewise. + * modules/git-merge-changelog (Depends-on): Likewise. + * modules/isnand (Depends-on): Likewise. + * modules/isnand-nolibm (Depends-on): Likewise. + * modules/isnanf (Depends-on): Likewise. + * modules/isnanf-nolibm (Depends-on): Likewise. + * modules/isnanl (Depends-on): Likewise. + * modules/isnanl-nolibm (Depends-on): Likewise. + * modules/mbchar (Depends-on): Likewise. + * modules/memcoll (Depends-on): Likewise. + * modules/quotearg (Depends-on): Likewise. + * modules/regex (Depends-on): Likewise. + * modules/relocatable-prog (Depends-on): Likewise. + * modules/same (Depends-on): Likewise. + * modules/signbit (Depends-on): Likewise. + * modules/strcasestr-simple (Depends-on): Likewise. + * modules/unictype/gen-ctype (Depends-on): Likewise. + * modules/unilbrk/gen-lbrk (Depends-on): Likewise. + * modules/uniname/uniname (Depends-on): Likewise. + * modules/unistr/u8-cmp (Depends-on): Likewise. + +2008-11-02 Bruno Haible + + Mark 'memchr' obsolete. + * modules/memchr (Status, Notice): New sections. + * modules/argp (Depends-on): Add memchr. + * modules/base64 (Depends-on): Likewise. + * modules/c-strcasestr (Depends-on): Likewise. + * modules/chdir-long (Depends-on): Likewise. + * modules/fnmatch (Depends-on): Likewise. + * modules/getsubopt (Depends-on): Likewise. + * modules/git-merge-changelog (Depends-on): Likewise. + * modules/glob (Depends-on): Likewise. + * modules/strcasestr-simple (Depends-on): Likewise. + * modules/strnlen (Depends-on): Likewise. + +2008-11-02 Bruno Haible + + Mark 'atexit' obsolete. + * modules/atexit (Status, Notice): New sections. + * modules/chdir-long (Depends-on): Add atexit. + * modules/wait-process (Depends-on): Likewise. + +2008-11-02 Bruno Haible + + * gnulib-tool: New option --with-obsolete. + (func_usage): Document it. + (func_modules_transitive_closure): Drop obsolete dependencies if + incobsolete is not true. + (func_import): Read and save the incobsolete variable to the cache. + +2008-11-02 Bruno Haible + + * modules/TEMPLATE-EXTENDED: New field 'Status'. + * gnulib-tool: New option --extract-status. + (func_usage): Document it. + (sed_extract_prog): Recognize it. + (func_get_status): New function. + +2008-10-30 Simon Josefsson + + * modules/sockets (License): Change from LGPL to LGPLv2+. + +2008-10-28 Simon Josefsson + + * top/maint.mk: Add coverage rules, inspired by scripts in gnupdf. + +2008-10-28 Simon Josefsson + + * MODULES.html.sh (Support for systems lacking POSIX:2001): + Mention times and sys_times. + * modules/sys_times, modules/sys_times-tests: New modules. + * modules/times, modules/times-tests: Likewise + * m4/sys_times_h.m4: New file. + * lib/sys_times.in.h: Likewise + * lib/times.c: Likewise. + * tests/test-sys_times.c: Likewise. + * tests/test-times.c: Likewise. + * doc/posix-headers/sys_times.texi: Update. + * doc/posix-functions/times.texi: Update. + +2008-10-28 Jim Meyering + + * modules/tempname (Depends-on): Add lstat. + + * modules/lstat (License): Relicense: LGPL -> LGPLv2+. + +2008-10-28 Simon Josefsson + + * gnulib-tool (func_emit_tests_Makefile_am): Revert last commit. + * modules/argp-tests (test_argp_LDADD): Set EXEEXT here instead, + using idiom used elsewhere in gnulib. + +2008-10-27 Jim Meyering + + * modules/gethostname (License): Relicense: LGPL -> LGPLv2+. + +2008-10-27 Simon Josefsson + + * gnulib-tool (func_emit_tests_Makefile_am): Set EXEEXT in + TESTS_ENVIRONMENT, for shell scripts that needs to call built + programs. + * tests/test-argp-2.sh: Use $EXEEXT when needed. + +2008-10-27 Simon Josefsson + + * lib/sys_stat.in.h (lstat): Fix declaration for mingw. + +2008-10-27 Bruno Haible + + * tests/test-lstat.c: Include . + +2008-10-27 Simon Josefsson + + * modules/lstat-tests: New module. + * tests/test-lstat.c: New file. + +2008-10-26 Jim Meyering + + * lib/mkdir.c (rpl_mkdir) [_WIN32...]: Mark mode as an unused parameter. + +2008-10-26 Simon Josefsson + Bruno Haible + + Fix a clash between the type DATADIR on Windows and the macro DATADIR. + * modules/configmake (Include): Add a note that the include must come + after all system headers. + * lib/javaversion.c: Include configmake.h after all other includes. + +2008-10-26 Bruno Haible + + * m4/stdlib_h.m4 (gl_STDLIB_H_DEFAULTS): Set default of + HAVE_STRUCT_RANDOM_DATA to 1. + (gl_STDLIB_H): Simplify. + +2008-10-26 Simon Josefsson + + * m4/stdlib_h.m4: Check for struct random_data. Initialize and + substitute HAVE_STRUCT_RANDOM_DATA. + * lib/stdlib.in.h [!HAVE_STRUCT_RANDOM_DATA]: Provide struct + random_data. + * modules/stdlib (Makefile.am): Substitute + HAVE_STRUCT_RANDOM_DATA. + +2008-10-26 Simon Josefsson + + * doc/gnulib.texi (@copying): Use GFDLv1.2+. + * doc/gnulib-intro.texi (Copyright): Likewise. + +2008-10-26 Simon Josefsson + + * doc/gnulib.texi (Header files): C++ fixes, based on Bruno's + findings. + +2008-10-25 Ben Pfaff + Bruno Haible + + * lib/unistd.in.h: Include . + (socket, connect,accept, bind, getpeername, getsockname, getsockopt, + listen, recv, send, recvfrom, sendto, setsockopt, shutdown, select): + Provide dummy declarations. + (gethostname): Override. + * lib/sys_socket.in.h (gethostname): Provide dummy declaration. + * m4/gethostname.m4 (gl_FUNC_GETHOSTNAME): Invoke + gl_PREREQ_SYS_H_WINSOCK2. + * modules/gethostname (Files): Add m4/sys_socket_h.m4. + * doc/posix-functions/gethostname.texi: More details. + +2008-10-25 Bruno Haible + + * m4/sys_socket_h.m4 (gl_PREREQ_SYS_H_WINSOCK2): Require + gl_UNISTD_H_DEFAULTS, gl_SYS_IOCTL_H_DEFAULTS only if they exist. + * modules/sys_socket (Files): Remove m4/unistd_h.m4, m4/sys_ioctl_h.m4. + + * lib/sys_socket.in.h (HAVE__GL_CLOSE_FD_MAYBE_SOCKET); Move macro from + here ... + * lib/unistd.in.h (HAVE__GL_CLOSE_FD_MAYBE_SOCKET); ... to here. + * m4/sys_socket_h.m4 (gl_SYS_SOCKET_H_DEFAULTS): Remove invocation of + gl_UNISTD_H_DEFAULTS. + +2008-10-25 Eric Blake + + signbit: avoid spurious compiler failure + * m4/signbit.m4 (gl_SIGNBIT_TEST_PROGRAM): Move non-constant + declarations inside function. + +2008-10-24 Simon Josefsson + Bruno Haible + + * lib/stdlib.in.h (@GNULIB_RANDOM_R@): Include stdint.h. + * modules/random_r (Depends-on): Add stdint. + +2008-10-24 Bruno Haible + + * modules/intprops (License): Change to LGPLv2+, with approval by Paul + Eggert. + * modules/strerror (License): Likewise. + +2008-10-24 Jim Meyering + + sys_socket: fix typo that inhibited expansion of @GNULIB_SEND@ + * modules/sys_socket (Depends-on) [Depends-on]: Fix typo. + +2008-10-24 Eric Blake + + getgroups: fix compilation when getgroups is available + * lib/getgroups.c (includes): Include for getgroups, + but with override of getgroups disabled. + +2008-10-24 Simon Josefsson + + * doc/gnulib.texi (Header files): Add note about C++ problems. + Explained by Bruno Haible . + +2008-10-23 Bruno Haible + + Define a dummy SA_NODEFER macro on Interix. + * lib/signal.in.h (SA_NODEFER): Define fallback. + Reported by Aleksey Cheusov via + Thomas Klausner and Eric Blake. + +2008-10-23 Bruno Haible + + * modules/freadahead (License): Change to LGPLv2+. + Suggested by Simon Josefsson. + +2008-10-23 Jim Meyering + + random_r: new module + * modules/random_r: New file. + * m4/random_r.m4: New file. + * lib/random_r.c: New file, from glibc. + * modules/random_r-tests: New file. + * tests/test-random_r.c: New file. + * lib/stdlib.in.h (srandom_r, initstate_r, setstate_r, random_r): + Declare. + (RAND_MAX): Define. + * m4/stdlib_h.m4: Define and AC_SUBST GNULIB_RANDOM_R and HAVE_RANDOM_R. + * modules/stdlib: Substitute them, too. + * MODULES.html.sh (Extra functions based on POSIX:2001) [Misc]: Add it. + * doc/glibc-functions/initstate_r.texi: Mention the new module. + * doc/glibc-functions/random_r.texi: Likewise. + * doc/glibc-functions/setstate_r.texi: Likewise. + * doc/glibc-functions/srandom_r.texi: Likewise. + * config/srclist.txt: Mention it. + +2008-10-23 David Lutterkort + + * modules/selinux-h: Search for LIB_SELINUX and mark it as a + link requirement + +2008-10-23 Jim Meyering + + selinux-h: mark parameters of stub functions as intentionally unused + * lib/se-selinux.in.h: Mark parameters as _UNUSED_PARAMETER_. + * lib/se-context.in.h: Likewise. + +2008-10-22 Simon Josefsson + + * lib/sys_socket.in.h (FD_ISSET): Fix warnings under mingw. + +2008-10-22 Simon Josefsson + + * m4/getgroups.m4: Avoid invoking test with wrong parameters. + +2008-10-22 Eric Blake + + glthread/thread: avoid compiler warning + * lib/glthread/thread.c (gl_thread_exit_func) [USE_WIN32_THREADS]: + Add unreachable abort to silence compiler. + +2008-10-22 Eric Blake + + netdb: also supply struct addrinfo for cygwin 1.5.x + * m4/netdb_h.m4 (gl_HEADER_NETDB): Check for incomplete header on + older cygwin. + * lib/netdb.in.h [!HAVE_STRUCT_ADDRINFO]: Also supply contents for + cygwin. + * doc/posix-headers/netdb.texi (netdb.h): Document this. + +2008-10-22 Bruno Haible + + * users.txt: Update entry about pspp. + +2008-10-21 Bruno Haible + + Simplification. + * lib/sys_socket.in.h (_gl_close_fd_maybe_socket): Remove declaration. + * lib/close.c (_gl_close_fd_maybe_socket): Make static. + + Simplification. + * lib/ioctl.c (ioctl): Don't undefine. + * lib/socket.c (socket): Don't undefine. + + Remove unused module indicator macros. + * m4/sys_socket_h.m4 (gl_SYS_SOCKET_MODULE_INDICATOR): Don't define + GNULIB_$1 as a C macro. + + * doc/posix-functions/close.texi: Undo last change. + * doc/posix-functions/ioctl.texi: Merge the two paragraphs about + Windows platforms. + +2008-10-21 Bruno Haible + + Add gethostname() declaration to . + * lib/unistd.in.h (gethostname): New declaration. + * lib/gethostname.c: Include . + * m4/gethostname.m4 (gl_FUNC_GETHOSTNAME): Require + gl_UNISTD_H_DEFAULTS. Set HAVE_GETHOSTNAME. + * m4/unistd_h.m4 (gl_UNISTD_H_DEFAULTS): Initialize GNULIB_GETHOSTNAME + and HAVE_GETHOSTNAME. + * modules/gethostname (Depends-on): Add unistd. + (configure.ac): Invoke gl_UNISTD_MODULE_INDICATOR. + (Include): Specify . + * modules/unistd (Makefile.am): Substitute GNULIB_GETHOSTNAME and + HAVE_GETHOSTNAME. + * tests/test-gethostname.c: Include first. + +2008-10-21 Bruno Haible + + * modules/poll-tests (Depends-on): Add sys_ioctl, ioctl. + * modules/select-tests (Depends-on): Likewise. + Reported by Simon Josefsson. + +2008-10-21 Simon Josefsson + + * lib/close.c: Add _gl_close_fd_maybe_socket from winsock.c. + * lib/accept.c: New file, based on winsock.c. + * lib/bind.c: New file, based on winsock.c. + * lib/connect.c: New file, based on winsock.c. + * lib/getpeername.c: New file, based on winsock.c. + * lib/getsockname.c: New file, based on winsock.c. + * lib/getsockopt.c: New file, based on winsock.c. + * lib/ioctl.c: New file, based on winsock.c. + * lib/listen.c: New file, based on winsock.c. + * lib/recv.c: New file, based on winsock.c. + * lib/recvfrom.c: New file, based on winsock.c. + * lib/send.c: New file, based on winsock.c. + * lib/sendto.c: New file, based on winsock.c. + * lib/setsockopt.c: New file, based on winsock.c. + * lib/shutdown.c: New file, based on winsock.c. + * lib/socket.c: New file, based on winsock.c. + * lib/w32sock.h: New file, based on winsock.c. + * lib/winsock.c: Remove file. + * modules/accept: Likewise. + * modules/bind: Likewise. + * modules/connect: Likewise. + * modules/getpeername: Likewise. + * modules/getsockname: Likewise. + * modules/getsockopt: Likewise. + * modules/ioctl: Likewise. + * modules/listen: Likewise. + * modules/recv: Likewise. + * modules/recvfrom: Likewise. + * modules/send: Likewise. + * modules/sendto: Likewise. + * modules/setsockopt: Likewise. + * modules/shutdown: Likewise. + * modules/socket: Use socket.c instead of winsock.c. + * modules/sys_socket: Remove (unneeded?) dependency on winsock.c. + * doc/posix-functions/accept.texi: Doc fix. + * doc/posix-functions/bind.texi: Doc fix. + * doc/posix-functions/close.texi: Doc fix. + * doc/posix-functions/connect.texi: Doc fix. + * doc/posix-functions/getpeername.texi: Doc fix. + * doc/posix-functions/getsockname.texi: Doc fix. + * doc/posix-functions/getsockopt.texi: Doc fix. + * doc/posix-functions/ioctl.texi: Doc fix. + * doc/posix-functions/listen.texi: Doc fix. + * doc/posix-functions/recv.texi: Doc fix. + * doc/posix-functions/recvfrom.texi: Doc fix. + * doc/posix-functions/send.texi: Doc fix. + * doc/posix-functions/sendto.texi: Doc fix. + * doc/posix-functions/setsockopt.texi: Doc fix. + * doc/posix-functions/shutdown.texi: Doc fix. + * doc/posix-functions/socket.texi: Doc fix. + +2008-10-20 Bruno Haible + + Take into account the role of SIGABRT_COMPAT on Windows 2008. + * lib/sigprocmask.c (SIGABRT_COMPAT, SIGABRT_COMPAT_MASK): New macros. + (sigismember, sigaddset, sigdelset, sigfillset, rpl_signal): Handle it + as an alias for SIGABRT. + * lib/sigaction.c (SIGABRT_COMPAT): New macro. + (sigaction): Map it to SIGABRT. + Reported by Ramiro Polla via Eric Blake. + +2008-10-20 Bruno Haible + + * lib/fts.c: Don't include lstat.h. + * lib/openat.c: Include instead of lstat.h. + + Move the lstat() declaration to . + * lib/lstat.h: Remove file. + * lib/sys_stat.in.h: Add special invocation convention. + (lstat): New declaration. + * lib/lstat.c (orig_lstat): New function. + (rpl_lstat): Use orig_lstat instead of lstat. + * m4/lstat.m4 (gl_FUNC_LSTAT): Require gl_SYS_STAT_H_DEFAULTS and + AC_C_INLINE. Set REPLACE_LSTAT. + * m4/sys_stat_h.m4 (gl_SYS_STAT_H_DEFAULTS): Initialize GNULIB_LSTAT + and REPLACE_LSTAT. + * modules/lstat (Files): Remove lib/lstat.h. + (configure.ac): Invoke gl_SYS_STAT_MODULE_INDICATOR. + (Include): Specify instead of lstat.h. + * modules/sys_stat (Makefile.am): Substitute GNULIB_LSTAT and + REPLACE_LSTAT. + * NEWS: Mention the change. + +2008-10-20 Bruno Haible + + * modules/posix_spawn-tests: New file. + * tests/test-posix_spawn3.c: New file. + +2008-10-20 Bruno Haible + + * modules/posix_spawnp-tests (Depends-on): Add sys_wait. + * tests/test-posix_spawn1.c (WTERMSIG, WCOREDUMP, WEXITSTATUS, + WIFSIGNALED, WIFEXITED, WIFSTOPPED): Remove fallback definitions. + * tests/test-posix_spawn2.c (WTERMSIG, WCOREDUMP, WEXITSTATUS, + WIFSIGNALED, WIFEXITED, WIFSTOPPED): Likewise. + +2008-10-20 Bruno Haible + + * m4/posix_spawn.m4 (gl_POSIX_SPAWN_WORKS): Test against another bug + of posix_spawn on AIX 5.3. + +2008-10-20 Bruno Haible + + * m4/posix_spawn.m4 (gl_POSIX_SPAWN_WORKS): Make the check on MacOS X. + +2008-10-20 Bruno Haible + + * m4/posix_spawn.m4 (gl_POSIX_SPAWN_WORKS): Use AC_LANG_SOURCE instead + of AC_LANG_PROGRAM. + +2008-10-20 Simon Josefsson + + * lib/netdb.in.h: Don't define GNU specific constants until they + are supported or needed. Reported by Bruno Haible + . + +2008-10-20 Simon Josefsson + + * lib/canon-host.c: Include netdb.h instead of getaddrinfo.h. + +2008-10-20 Simon Josefsson + + * lib/getaddrinfo.h: Remove file. + * modules/getaddrinfo: Reflect move from getaddrinfo.h to netdb.h. + * m4/getaddrinfo.m4: Call gl_HEADER_NETDB. Don't check for netdb.h. + * lib/netdb.in.h: Add declarations from getaddrinfo.h. + * m4/netdb_h.m4: Initialize GNULIB_GETADDRINFO to 0. + * modules/netdb: Substitute GNULIB_GETADDRINFO. + * lib/getaddrinfo.c: Include netdb.h instead of getaddrinfo.h. + * tests/test-getaddrinfo.c: Likewise. + * lib/gai_strerror.c: Likewise. Also drop HAVE_NETDB_H check. + * NEWS: Mention change. + +2008-10-19 Bruno Haible + + * m4/posix_spawn.m4 (gl_POSIX_SPAWN_WORKS): Remove unneeded code. + +2008-10-19 Bruno Haible + + * lib/wait-process.c: Include simply . + (waitpid, WTERMSIG, WCOREDUMP, WEXITSTATUS, WIFSIGNALED, WIFEXITED, + WIFSTOPPED): Remove fallback definitions. + * modules/wait-process (Depends-on): Add sys_wait. + + New module 'sys_wait'. + * modules/sys_wait: New file. + * lib/sys_wait.in.h: New file, partially copied from + lib/wait-process.c. + * m4/sys_wait_h.m4: New file. + * doc/posix-headers/sys_wait.texi: Mention the new module. + +2008-10-19 Bruno Haible + + * m4/wait-process.m4 (gl_WAIT_PROCESS): Remove test for unistd.h. + +2008-10-19 Bruno Haible + + Assume that waitpid() fills an 'int' status, not a 'union wait'. + * lib/wait-process.c (WAIT_T): Remove type. + (WTERMSIG, WCOREDUMP, WEXITSTATUS): Define fallbacks using bit masks. + (wait_subprocess): Update. + +2008-10-19 Bruno Haible + + New module 'atoll'. + * modules/atoll: New file. + * lib/stdlib.in.h (atoll): New declaration. + * lib/atoll.c: New file, from glibc with modifications. + * m4/atoll.m4: New file. + * m4/stdlib_h.m4 (gl_STDLIB_H_DEFAULTS): Initialize GNULIB_ATOLL, + HAVE_ATOLL. + * modules/stdlib (Makefile.am): Substitute GNULIB_ATOLL, HAVE_ATOLL. + * doc/posix-functions/atoll.texi: Mention the new module. + +2008-10-19 Bruno Haible + + Add strtoull() declaration to . + * lib/stdlib.in.h (strtoull): New declaration. + * m4/strtoull.m4 (gl_FUNC_STRTOLL): Require gl_STDLIB_H_DEFAULTS. + Set HAVE_STRTOULL. + * m4/stdlib_h.m4 (gl_STDLIB_H_DEFAULTS): Initialize GNULIB_STRTOULL, + HAVE_STRTOULL. + * modules/strtoull (Depends-on): Add stdlib. + (configure.ac): Invoke gl_STDLIB_MODULE_INDICATOR. + * modules/stdlib (Makefile.am): Substitute GNULIB_STRTOULL, + HAVE_STRTOULL. + +2008-10-19 Bruno Haible + + Add strtoll() declaration to . + * lib/stdlib.in.h (strtoll): New declaration. + * m4/strtoll.m4 (gl_FUNC_STRTOLL): Require gl_STDLIB_H_DEFAULTS. + Set HAVE_STRTOLL. + * m4/stdlib_h.m4 (gl_STDLIB_H_DEFAULTS): Initialize GNULIB_STRTOLL, + HAVE_STRTOLL. + * modules/strtoll (Depends-on): Add stdlib. + (configure.ac): Invoke gl_STDLIB_MODULE_INDICATOR. + * modules/stdlib (Makefile.am): Substitute GNULIB_STRTOLL, HAVE_STRTOLL. + +2008-10-19 Bruno Haible + + * modules/bcopy (Depends-on): Add strings. + (Include): Specify . + +2008-10-19 Bruno Haible + + * doc/posix-functions/atexit.texi: Update doc regarding mingw. + +2008-10-19 Bruno Haible + + * lib/openat-die.c (openat_save_fail, openat_restore_fail): Rename + the parameter from 'errno' to 'errnum'. Fixes a compilation error on + mingw. + +2008-10-19 Bruno Haible + + * lib/atanl.c: Don't include isnanl.h. + * lib/cosl.c: Likewise. + * lib/ldexpl.c: Likewise. + * lib/logl.c: Likewise. + * lib/sinl.c: Likewise. + * lib/sqrtl.c: Likewise. + * lib/tanl.c: Likewise. + + Move the isnanf(), isnand(), isnanl() declarations to . + * lib/isnanf.h: Remove file. + * lib/isnand.h: Remove file. + * lib/isnanl.h: Remove file. + * lib/math.in.h: Include the contents of lib/isnanf.h, lib/isnand.h, + lib/isnanl.h. Use HAVE_ISNANF, HAVE_ISNAND, HAVE_ISNANL as substituted + macros. + * m4/isnanf.m4 (gl_FUNC_ISNANF): Require gl_MATH_H_DEFAULTS. Set + HAVE_ISNANF, don't define it as a C macro. + * m4/isnand.m4 (gl_FUNC_ISNAND): Require gl_MATH_H_DEFAULTS. Set + HAVE_ISNAND, don't define it as a C macro. + * m4/isnanl.m4 (gl_FUNC_ISNANL): Require gl_MATH_H_DEFAULTS. Set + HAVE_ISNANL, don't define it as a C macro. + * m4/math_h.m4 (gl_MATH_H_DEFAULTS): Initialize GNULIB_ISNAN[FDL] and + HAVE_ISNAN[FDL]. + * modules/isnanf (Files): Remove lib/isnanf.h. + (Depends-on): Add math. + (configure.ac): Invoke gl_MATH_MODULE_INDICATOR. + (Include): Specify instead of isnanf.h. + * modules/isnand (Files): Remove lib/isnand.h. + (Depends-on): Add math. + (configure.ac): Invoke gl_MATH_MODULE_INDICATOR. + (Include): Specify instead of isnand.h. + * modules/isnanl (Files): Remove lib/isnanl.h. + (Depends-on): Add math. + (configure.ac): Invoke gl_MATH_MODULE_INDICATOR. + (Include): Specify instead of isnanl.h. + * modules/math (Makefile.am): Substitute GNULIB_ISNAN[FDL] and + HAVE_ISNAN[FDL]. + * tests/test-isnanf.c: Include instead of isnanf.h. + * tests/test-isnand.c: Include instead of isnand.h. + * tests/test-isnanl.c: Include instead of isnanl.h. + * NEWS: Mention the change. + +2008-10-18 Bruno Haible + + Add getusershell(), setusershell(), endusershell() declarations to + . + * lib/unistd.in.h (getusershell, setusershell, endusershell): New + declarations. + * lib/getusershell.c: Include unistd.h. + * m4/getusershell.m4 (gl_FUNC_GETUSERSHELL): Require + gl_UNISTD_H_DEFAULTS and AC_USE_SYSTEM_EXTENSIONS. Set + HAVE_GETUSERSHELL. + * m4/unistd_h.m4 (gl_UNISTD_H_DEFAULTS): Initialize GNULIB_GETUSERSHELL + and HAVE_GETUSERSHELL. + * modules/getusershell (Depends-on): Add unistd, extensions. + (configure.ac): Invoke gl_UNISTD_MODULE_INDICATOR. + (Include): Specify . + * modules/unistd (Makefile.am): Substitute GNULIB_GETUSERSHELL and + HAVE_GETUSERSHELL. + +2008-10-18 Bruno Haible + + Add a getloadavg() declaration to . + * lib/stdlib.in.h; Include when needed for the + getloadavg declaration. + (getloadavg): New declaration. + * lib/getloadavg.c: Include first. + * m4/getloadavg.m4 (gl_GETLOADAVG): Require gl_STDLIB_H_DEFAULTS and + AC_USE_SYSTEM_EXTENSIONS. Test whether sys/loadavg.h exists. Set + HAVE_SYS_LOADAVG_H and HAVE_DECL_GETLOADAVG. + * m4/stdlib_h.m4 (gl_STDLIB_H_DEFAULTS): Initialize GNULIB_GETLOADAVG, + HAVE_SYS_LOADAVG_H, HAVE_DECL_GETLOADAVG. + * modules/getloadavg (Depends-on): Add stdlib, extensions. + (configure.ac): Invoke gl_STDLIB_MODULE_INDICATOR. + (Include): Specify . + * modules/stdlib (Makefile.am): Substitute GNULIB_GETLOADAVG, + HAVE_SYS_LOADAVG_H, HAVE_DECL_GETLOADAVG. + +2008-10-18 Bruno Haible + + * lib/dirchownmod.c: Don't include lchmod.h. + + Move the lchmod() declaration to . + * lib/lchmod.h: Remove file. + * lib/sys_stat.in.h: Add placeholder for GL_LINK_WARNING. + (lchmod): New declaration, moved here from lib/lchown.h. + * m4/lchmod.m4 (gl_FUNC_LCHMOD): Require gl_SYS_STAT_H_DEFAULTS and + AC_USE_SYSTEM_EXTENSIONS. Set HAVE_LCHMOD. + * m4/sys_stat_h.m4 (gl_SYS_STAT_H_DEFAULTS): Initialize GNULIB_LCHMOD + and HAVE_LCHMOD. + * modules/lchmod (Files): Remove lib/lchmod.h. + (Depends-on): Add sys_stat, extensions. + (configure.ac): Invoke gl_SYS_STAT_MODULE_INDICATOR. + (Include): Specify instead of lchmod.h. + * modules/sys_stat (Depends-on): Add link-warning. + (Makefile.am): Substitute GNULIB_LCHMOD, HAVE_LCHMOD, and the + definition of GL_LINK_WARNING. + * NEWS: Mention the change. + +2008-10-18 Bruno Haible + + * lib/fchdir.c: Don't include dirfd.h. + * lib/fts.c: Likewise. + * lib/getcwd.c: Likewise. + * lib/glob.c: Likewise. + + Move the dirfd() declaration to . + * lib/dirfd.h: Remove file. + * lib/dirent.in.h: Add placeholder for GL_LINK_WARNING. + (dirfd): New declaration. + * lib/dirfd.c: Include instead of dirfd.h. + * m4/dirfd.m4 (gl_FUNC_DIRFD): Require gl_DIRENT_H_DEFAULTS and + AC_USE_SYSTEM_EXTENSIONS. Invoke gl_REPLACE_DIRENT_H. Set + HAVE_DECL_DIRFD. + * m4/dirent_h.m4 (gl_DIRENT_H_DEFAULTS): Initialize GNULIB_DIRFD and + HAVE_DECL_DIRFD. + * modules/dirfd (Files): Remove lib/dirfd.h. + (Depends-on): Add dirent, extensions. + (configure.ac): Invoke gl_DIRENT_MODULE_INDICATOR. + (Include): Specify instead of dirfd.h. + * modules/dirent (Depends-on): Add link-warning. + (Makefile.am): Substitute GNULIB_DIRFD, HAVE_DECL_DIRFD, and + definition of GL_LINK_WARNING. + * NEWS: Mention the change. + +2008-10-18 Bruno Haible + + Move the euidaccess() declaration to . + * lib/euidaccess.h: Remove file. + * lib/unistd.in.h (euidaccess): New declaration. + * lib/euidaccess.c: Don't include euidaccess.h. + * m4/euidaccess.m4 (gl_FUNC_EUIDACCESS): Require gl_UNISTD_H_DEFAULTS. + Don't check whether euidaccess is declared. Set HAVE_EUIDACCESS. + * m4/unistd_h.m4 (gl_UNISTD_H_DEFAULTS): Initialize GNULIB_EUIDACCESS + and HAVE_EUIDACCESS. + * modules/euidaccess (Files): Remove lib/euidaccess.h. + (Depends-on): Add unistd. + (configure.ac): Invoke gl_UNISTD_MODULE_INDICATOR. + (Include): Specify instead of euidaccess.h. + * modules/unistd (Makefile.am): Substitute GNULIB_EUIDACCESS and + HAVE_EUIDACCESS. + * NEWS: Mention the change. + +2008-10-18 Bruno Haible + + * lib/xgetdomainname.c: Include instead of getdomainname.h. + + Move the getdomainname() declaration to . + * lib/getdomainname.h: Remove file. + * lib/unistd.in.h (getdomainname): New declaration. + * lib/getdomainname.c: Include instead of getdomainname.h. + * m4/getdomainname.m4 (gl_FUNC_GETDOMAINNAME): Require + gl_UNISTD_H_DEFAULTS and AC_USE_SYSTEM_EXTENSIONS. Set + HAVE_GETDOMAINNAME. + * m4/unistd_h.m4 (gl_UNISTD_H_DEFAULTS): Initialize + GNULIB_GETDOMAINNAME and HAVE_GETDOMAINNAME. + * modules/getdomainname (Files): Remove lib/getdomainname.h. + (Depends-on): Add unistd, extensions. + (configure.ac): Invoke gl_UNISTD_MODULE_INDICATOR. + (Includes): Specify instead of getdomainname.h. + * modules/unistd (Makefile.am): Substitute GNULIB_GETDOMAINNAME and + HAVE_GETDOMAINNAME. + * NEWS: Mention the change. + +2008-10-18 Bruno Haible + + * modules/dirent: New file. + * m4/dirent_h.m4: New file. + * m4/fchdir.m4 (gl_FUNC_FCHDIR): Require gl_DIRENT_H_DEFAULTS. + Invoke gl_REPLACE_DIRENT_H. Don't assign DIRENT_H directly. + * modules/fchdir (Files): Remove lib/dirent.in.h. + (Depends-on): Add dirent. + (Makefile.am): Move rules to modules/dirent. + * doc/posix-headers/dirent.texi: Mention the new module. + +2008-10-18 Bruno Haible + + Avoid -Wunused-parameter warnings in public gnulib header files. + * m4/gnulib-common.m4 (gl_COMMON_BODY): Define _UNUSED_PARAMETER_ as a + macro. + * lib/unistr.h (u32_mbtouc_unsafe, u32_mbtouc): Use it. + +2008-10-18 Bruno Haible + + * doc/glibc-functions/dirfd.texi: Mention the module 'dirfd'. + * doc/glibc-functions/error.texi: Mention the module 'error'. + * doc/glibc-functions/euidaccess.texi: Mention the module 'euidaccess'. + * doc/glibc-functions/getdomainname.texi: Mention the module + 'getdomainname'. + * doc/glibc-functions/getloadavg.texi: Mention the module 'getloadavg'. + * doc/glibc-functions/getpagesize.texi: Mention the module + 'getpagesize'. + * doc/glibc-functions/getusershell.texi: Mention the module + 'getusershell'. + * doc/glibc-functions/isnanl.texi: Mention the module 'isnanl'. + * doc/glibc-functions/lchmod.texi: Mention the module 'lchmod'. + * doc/glibc-functions/mempcpy.texi: Mention the module 'mempcpy'. + * doc/glibc-functions/memrchr.texi: Mention the module 'memrchr'. + * doc/glibc-functions/mkdtemp.texi: Mention the module 'mkdtemp'. + * doc/glibc-functions/rpmatch.texi: Mention the module 'rpmatch'. + * doc/glibc-functions/stpcpy.texi: Mention the module 'stpcpy'. + * doc/glibc-functions/stpncpy.texi: Mention the module 'stpncpy'. + * doc/glibc-functions/strchrnul.texi: Mention the module 'strchrnul'. + * doc/glibc-functions/strndup.texi: Mention the module 'strndup'. + * doc/glibc-functions/strnlen.texi: Mention the module 'strnlen'. + * doc/glibc-functions/strsep.texi: Mention the module 'strsep'. + * doc/glibc-functions/timegm.texi: Mention the module 'timegm'. + * doc/glibc-functions/vasprintf.texi: Mention the module 'vasprintf'. + 2008-10-17 Bruno Haible * m4/signbit.m4 (gl_SIGNBIT_TEST_PROGRAM): On platforms other than @@ -174,7 +1024,7 @@ (gl_thread_exit_func): Use _endthreadex instead of EndThread. 2008-10-11 Yoann Vandoorselaere - Bruno Haible + Bruno Haible Provide a Win32 implementation of the 'cond' module. * lib/glthread/cond.h [USE_WIN32]: New implementation. @@ -286,7 +1136,7 @@ * doc/gnulib.texi: Include it. 2008-10-09 Paolo Bonzini - Bruno Haible + Bruno Haible Combine the two replacements of 'close'. * lib/sys_socket.in.h (close): Define to a reminder to include @@ -313,7 +1163,7 @@ * modules/select-tests (Depends-on): Likewise. 2008-10-09 Paolo Bonzini - Bruno Haible + Bruno Haible New module 'close'. * modules/close: New file. @@ -332,7 +1182,7 @@ * modules/fchdir (Depends-on): Add close. 2008-10-09 Paolo Bonzini - Bruno Haible + Bruno Haible * lib/fcntl.in.h (open): Simplify conditionals. (_gl_register_fd): New declaration. @@ -350,7 +1200,7 @@ (_version): Rename from "version". 2008-10-09 Paolo Bonzini - Bruno Haible + Bruno Haible * lib/fchdir.c (_gl_unregister_fd): New functions, extracted from rpl_close.