X-Git-Url: http://erislabs.net/gitweb/?a=blobdiff_plain;f=ChangeLog;h=d2f0bc965d0cac1c94a2322314da2c45dbbfa1ad;hb=3247f1f8ad0dc42bbf863d481e4111b4735e4bb5;hp=de36adf82faacfc5a19f588db1228839d89f3322;hpb=44a64be5593bf0c5b49de64dd8204114eab7b521;p=gnulib.git diff --git a/ChangeLog b/ChangeLog index de36adf82..d2f0bc965 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,278 @@ +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 + HP-UX and IRIX, use -0.0L. + * tests/test-ceill.c (minus_zero): Likewise. + * tests/test-floorl.c (minus_zero): Likewise. + * tests/test-frexpl.c (minus_zero): Likewise. + * tests/test-isnan.c (minus_zerol): Likewise. + * tests/test-isnanl.h (minus_zero): Likewise. + * tests/test-ldexpl.c (minus_zero): Likewise. + * tests/test-roundl.c (minus_zero): Likewise. + * tests/test-signbit.c (minus_zerol): Likewise. + * tests/test-snprintf-posix.h (minus_zerol): Likewise. + * tests/test-sprintf-posix.h (minus_zerol): Likewise. + * tests/test-truncl.c (minus_zero): Likewise. + * tests/test-vasnprintf-posix.c (minus_zerol): Likewise. + * tests/test-vasprintf-posix.c (minus_zerol): Likewise. + Reported by Markus Armbruster via Jim Meyering + and by Nelson H. F. Beebe via Eric Blake. + +2008-10-17 Bruno Haible + + Avoid gcc warnings because of #pragma GCC system_header on older gcc. + * lib/arpa_inet.in.h: Encloses reference to PRAGMA_SYSTEM_HEADER so + that it gets activated only for gcc >= 3.0. + * lib/dirent.in.h: Likewise. + * lib/errno.in.h: Likewise. + * lib/fcntl.in.h: Likewise. + * lib/float.in.h: Likewise. + * lib/iconv.in.h: Likewise. + * lib/inttypes.in.h: Likewise. + * lib/locale.in.h: Likewise. + * lib/math.in.h: Likewise. + * lib/netdb.in.h: Likewise. + * lib/netinet_in.in.h: Likewise. + * lib/search.in.h: Likewise. + * lib/signal.in.h: Likewise. + * lib/spawn.in.h: Likewise. + * lib/stdarg.in.h: Likewise. + * lib/stdint.in.h: Likewise. + * lib/stdio.in.h: Likewise. + * lib/stdlib.in.h: Likewise. + * lib/string.in.h: Likewise. + * lib/strings.in.h: Likewise. + * lib/sys_file.in.h: Likewise. + * lib/sys_ioctl.in.h: Likewise. + * lib/sys_select.in.h: Likewise. + * lib/sys_socket.in.h: Likewise. + * lib/sys_stat.in.h: Likewise. + * lib/sys_time.in.h: Likewise. + * lib/sysexits.in.h: Likewise. + * lib/time.in.h: Likewise. + * lib/unistd.in.h: Likewise. + * lib/wchar.in.h: Likewise. + * lib/wctype.in.h: Likewise. + Reported by Yoann Vandoorselaere . + +2008-10-17 Jim Meyering + + ignore-value: don't depend on inline module + * modules/ignore-value (Depends-on): Remove 'inline'. + (configure.ac): Instead, add AC_REQUIRE([AC_C_INLINE]) here. + Suggestion from Bruno Haible. + +2008-10-17 Bruno Haible + + New implementation of condition variables for Win32. + * lib/glthread/cond.h (struct gl_waitqueue_link): New type. + (gl_linked_waitqueue_t): New type. + (gl_cond_t): Use it. + * lib/glthread/cond.c (struct gl_waitqueue_element): New type. + (gl_waitqueue_init, gl_waitqueue_add, gl_waitqueue_remove, + gl_waitqueue_notify_first, gl_waitqueue_notify_all): New functions. + (glthread_cond_init_func, glthread_cond_wait_func, + glthread_cond_timedwait_func, glthread_cond_signal_func, + glthread_cond_broadcast_func, glthread_cond_destroy_func): + Reimplemented on the basis of gl_linked_waitqueue_t. + * lib/glthread/lock.h (gl_carray_waitqueue_t): Renamed from + gl_waitqueue_t. + (gl_rwlock_t): Update. + * lib/glthread/lock.c (gl_waitqueue_t): Alias to gl_carray_waitqueue_t. + +2008-10-17 Simon Josefsson + + * modules/recvfrom (Depends-on): Add dependency on getpeername. + Reported by Yoann Vandoorselaere . + +2008-10-17 Jim Meyering + + ignore-value: new module + * modules/ignore-value: New file. + * lib/ignore-value.h: New file. + * MODULES.html.sh (Compiler warning management): New section, + just for this module. More to come. + +2008-10-16 Paul Eggert + + open-safer.c: avoid 'signed and unsigned in conditional...' warning + * lib/open-safer.c (open_safer): Use an "if/else" statement in place + of the ternary operator. Reported by Reuben Thomas . + +2008-10-16 Jim Meyering + + openat-die.c: avoid 'no previous prototype' warning + * lib/openat-die.c: Include "openat.h". + Reported by Reuben Thomas . + +2008-10-16 Simon Josefsson + + * m4/netdb_h.m4: Assume that if netdb.h exists, it works. + * lib/netdb.in.h: Fix typo. + Reported by Bruno Haible + + * lib/netdb.in.h: Include sys/socket.h for platforms without + netdb.h, to get structures like hostent on MinGW. + * modules/netdb (Depends-on): Add sys_socket. + +2008-10-15 Simon Josefsson + + * modules/netdb, modules/netdb-tests: New file. + * m4/netdb_h.m4: New file. + * lib/netdb.in.h: Add, currently just an empty file pending + definitions. + * tests/test-netdb.c: New file. + * doc/posix-headers/netdb.texi: Mention that we replace it if + needed. + * MODULES.html.sh (Support for systems lacking POSIX:2001): Add + netdb. + +2008-10-15 Simon Josefsson + + * doc/gnulib.texi (Getaddrinfo and WINVER): Sync documentation + with code. + +2008-10-13 Bruno Haible + + * lib/glthread/cond.c (glthread_cond_wait_func, + glthread_cond_timedwait_func): Add a comment. + +2008-10-13 Yoann Vandoorselaere + + * tests/test-poll.c: Include , for ioctl(). + * tests/test-select.c: Likewise, + 2008-10-13 Bruno Haible * lib/glthread/cond.c (glthread_cond_wait_func,