X-Git-Url: http://erislabs.net/gitweb/?a=blobdiff_plain;f=ChangeLog;h=721d69ec21ff156beb3f5f08f19621fe8ea35663;hb=ceb82aa30f0b017db4ffa03801dc29b7c82cbde0;hp=070a66abc16f8c1bdce741c2988145d3ad93f685;hpb=863234aa6007a9c337cf62def1c3593b5a14cb44;p=gnulib.git diff --git a/ChangeLog b/ChangeLog index 070a66abc..721d69ec2 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,219 @@ +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, + glthread_cond_timedwait_func): Fix variable name. + Reported by Yoann Vandoorselaere . + +2008-10-13 Paolo Bonzini + + fix getaddrinfo emulation for systems with struct sockaddr.sa_len + * m4/getaddrinfo.m4 (gl_PREREQ_GETADDRINFO): Detect + struct sockaddr.sa_len. + * lib/getaddrinfo.c (getaddrinfo): Set it if appropriate. + +2008-10-13 Simon Josefsson + + * build-aux/pmccabe2html: Add css and css_url parameters. + +2008-10-12 Bruno Haible + + * tests/test-sameacls.c (main) [AIX]: Clear type argument before + calling aclx_get. + Reported by Rainer Tammer . + +2008-10-12 Bruno Haible + + Use msvcrt aware primitives for creation/termination of Win32 threads. + * lib/glthread/thread.c: Include . + (glthread_create_func): Use _beginthreadex instead of CreateThread. + (wrapper_func): Update signature. + (gl_thread_exit_func): Use _endthreadex instead of EndThread. + +2008-10-11 Yoann Vandoorselaere + Bruno Haible + + Provide a Win32 implementation of the 'cond' module. + * lib/glthread/cond.h [USE_WIN32]: New implementation. + * lib/glthread/cond.c (glthread_cond_init_func, + glthread_cond_wait_func, glthread_cond_timedwait_func, + glthread_cond_signal_func, glthread_cond_broadcast_func, + glthread_cond_destroy_func) [USE_WIN32]: New functions. + * modules/cond (Dependencies): Add gettimeofday. + +2008-10-11 Bruno Haible + + Make sleep work on older versions of mingw. + * m4/sleep.m4 (gl_FUNC_SLEEP): Test whether 'sleep' is declared, not + only whether it exists. + * doc/posix-functions/sleep.texi: Mention the problem with older + versions of mingw. + +2008-10-11 Bruno Haible + + New module 'shutdown'. + * modules/shutdown: New file. + * lib/sys_socket.in.h (shutdown): New declaration. + * lib/winsock.c (shutdown): New function. + * m4/sys_socket_h.m4 (gl_SYS_SOCKET_H_DEFAULTS): Initialize + GNULIB_SHUTDOWN. + * modules/sys_socket (Makefile.am): Substitute GNULIB_SHUTDOWN. + * doc/posix-functions/shutdown.texi: Document the new module. + +2008-10-11 Jim Meyering + + * lib/fclose.c: Fix typo in comment: s/close/fclose/. + +2008-10-11 Bruno Haible + + New module 'fclose'. + * modules/fclose: New file. + * lib/stdio.in.h (fclose): New declaration. + * lib/fclose.c: New file. + * m4/fclose.m4: New file. + * m4/stdio_h.m4 (gl_STDIO_H_DEFAULTS): Initialize GNULIB_FCLOSE, + REPLACE_FCLOSE. + * m4/close.m4 (gl_REPLACE_CLOSE): Invoke gl_REPLACE_FCLOSE. + * modules/stdio (Makefile.am): Substitute GNULIB_FCLOSE, + REPLACE_FCLOSE. + * modules/close (Depends-on): fclose. + * doc/posix-functions/fclose.texi: Mention the problem on Windows. + +2008-10-11 Bruno Haible + + * lib/winsock.c (_gl_close_fd_maybe_socket): If closesocket fails, + set errno and don't call _close. + +2008-10-10 Bruno Haible + + * lib/copy-acl.c (qcopy_acl) [CYGWIN]: Call chmod before setting the + ACL, not afterwards. Fixes test failure on Cygwin. + +2008-10-09 Ben Pfaff + + * build-aux/announce-gen: Fix gnulib version related part of usage + message. Die with a useful error message if no tarballs are + found. + +2008-10-10 Jim Meyering + + bootstrap: use git's --depth=N option only if it's supported + * build-aux/bootstrap: Work with git-1.4.4.4, which does not + recognize the --depth option. Reported by Pádraig Brady. + +2008-10-09 Bruno Haible + + New module 'ioctl'. + * modules/ioctl: New file. + * lib/sys_socket.in.h (ioctl): Remove declaration. + * lib/winsock.c: Include . + (rpl_ioctl): Define only of the gnulib module 'ioctl' is present. + * m4/sys_socket_h.m4 (gl_PREREQ_SYS_H_WINSOCK2): Require + gl_SYS_IOCTL_H_DEFAULTS. Set also SYS_IOCTL_H_HAVE_WINSOCK2_H. + * modules/sys_socket (Files): Add m4/sys_ioctl_h.m4. + * doc/posix-functions/ioctl.texi: Mention the new module. + +2008-10-09 Bruno Haible + + New module 'sys_ioctl'. + * lib/sys_ioctl.in.h: New file. + * m4/sys_ioctl_h.m4: New file. + * modules/sys_ioctl: New file. + * doc/glibc-headers/sys_ioctl.texi: Mention the new module. + +2008-10-09 Bruno Haible + + * lib/sys_socket.in.h (ioctl): Make signature POSIX compliant. + * lib/winsock.c: Include . + (rpl_ioctl): Change to second argument 'int' and then varargs. + +2008-10-09 Bruno Haible + + * m4/close.m4 (gl_FUNC_CLOSE): Arrange to replace the close() function + when the sys_socket module is present and the system has . + +2008-10-09 Bruno Haible + + * doc/posix-functions/close.texi: Mention module 'close' instead of + module 'sys_socket'. + +2008-10-09 Bruno Haible + + * doc/glibc-headers/sys_ioctl.texi: New file. + * doc/gnulib.texi: Include it. + +2008-10-09 Paolo Bonzini + Bruno Haible + + Combine the two replacements of 'close'. + * lib/sys_socket.in.h (close): Define to a reminder to include + . + (_gl_close_fd_maybe_socket): New declaration. + (HAVE__GL_CLOSE_FD_MAYBE_SOCKET): New macro. + * lib/winsock.c (close): Remove undefinition. + (_gl_close_fd_maybe_socket): Renamed from rpl_close. Define only when + needed for the gnulib module 'close'. + * lib/unistd.in.h (close): If the gnulib module 'close' is not used, + define to an error symbol or to a warning, if suitable. + * lib/close.c: Include . + (rpl_close): Invoke _gl_close_fd_maybe_socket when gnulib defines it. + * m4/sys_socket_h.m4 (gl_PREREQ_SYS_H_WINSOCK2): Set also + UNISTD_H_HAVE_WINSOCK2_H. + (gl_SYS_SOCKET_H_DEFAULTS): Require gl_UNISTD_H_DEFAULTS. + * m4/unistd_h.m4 (gl_UNISTD_H_DEFAULTS): Initialize + UNISTD_H_HAVE_WINSOCK2_H. + * modules/sys_socket (Files): Add m4/unistd_h.m4. + (configure.ac): Set a module indicator. + (Makefile.am): Substitute GNULIB_CLOSE. + * modules/unistd (Makefile.am): Substitute UNISTD_H_HAVE_WINSOCK2_H. + * modules/poll-tests (Depends-on): Add close. + * modules/select-tests (Depends-on): Likewise. + +2008-10-09 Paolo Bonzini + Bruno Haible + + New module 'close'. + * modules/close: New file. + * lib/unistd.in.h (close): Move declaration out of the + FCHDIR_REPLACEMENT scope. + (_gl_unregister_fd): New declaration. + * lib/close.c: New file. + * lib/fchdir.c (rpl_close): Remove function. + * m4/close.m4: New file. + * m4/fchdir.m4 (gl_FUNC_FCHDIR): When replacing fchdir, also replace + close. + * m4/unistd_h.m4 (gl_UNISTD_H_DEFAULTS): Initialize GNULIB_CLOSE and + REPLACE_CLOSE. + * modules/unistd (Makefile.am): Substitute GNULIB_CLOSE and + REPLACE_CLOSE. + * modules/fchdir (Depends-on): Add close. + 2008-10-09 Paolo Bonzini Bruno Haible