Fixes after wcwidth module creation.
[gnulib.git] / lib / ChangeLog
index 87dcee9..9a7894c 100644 (file)
@@ -1,6 +1,206 @@
+2006-06-28  Bruno Haible  <bruno@clisp.org>
+
+       * wcwidth.h: Declare nothing if !HAVE_WCHAR_T. Provide a fallback
+       declaration for wcwidth.
+       * mbswidth.c: Restore the includes of <wchar.h> and <wctypes.h>.
+
+2006-06-28  Eric Blake  <ebb9@byu.net>
+
+       * xvasprintf.h: Fix comments.
+
+2006-06-28  Eric Blake  <ebb9@byu.net>
+
+       * mbchar.h (wcwidth): Include wcwidth.h.
+       * mbswidth.c (wcwidth): Move from here...
+       * wcwidth.h: ...to this new file.
+
+2006-06-28  Simon Josefsson  <jas@extundo.com>
+
+       * getaddrinfo.c: Try to load ws2_32.dll on Windows, to find the
+       functions there.  It will succeed on Windows XP, but on Windows
+       2000 and (presumably) earlier, it will fail, and use the internal
+       re-implementation.
+       (use_win32_p): New function.
+       (getaddrinfo): Use strtoul on servname, to support numeric ports.
+       Support AI_NUMERICSERV to disable getservbyname.
+       (getnameinfo): New function, only supports
+       NI_NUMERICHOST|NI_NUMERICSERV for now.
+
+       * getaddrinfo.h: Test and check for AI_* flags separately, MinGW
+       only have some of them.  Add AI_NUMERICSERV.  Add prototype for
+       getnameinfo.
+
+2006-06-27  Bruno Haible  <bruno@clisp.org>
+
+       * stdlib_.h (intmax_t, uintmax_t): Undefine before typedef.
+
+2006-06-26  Paul Eggert  <eggert@cs.ucla.edu>
+
+       * base64.c (B64): Use _ as the formal parameter, not x, to avoid
+       bug in IBM C V6 for AIX.  Problem reported by Larry Jones in
+       <http://lists.gnu.org/archive/html/bug-gnulib/2006-06/msg00181.html>.
+
+2006-06-26  Bruno Haible  <bruno@clisp.org>
+
+       * stdlib_.h: Include <wchar.h> if necessary for WCHAR_MIN or
+       WCHAR_MAX.
+       Reported by Mark D. Baushke and Larry Jones.
+
+2006-06-26  Bruno Haible  <bruno@clisp.org>
+
+       * stdlib_.h: Don't include <stdint.h> when using the SGI C compiler
+       in pre-C99 mode.
+       Suggested by Mark D. Baushke and Larry Jones.
+
+2006-06-23  Mark D. Baushke  <mdb@gnu.org>
+
+       * stdlib_.h: Treat BSD/OS like OpenBSD.
+
+2006-06-23  Bruno Haible  <bruno@clisp.org>
+
+       * stdlib_.h: Treat IRIX like OpenBSD.
+
+2006-06-23  Bruno Haible  <bruno@clisp.org>
+
+       * stdlib_.h (UINT8_C, UINT16_C, UINT32_C): Define according to
+       ISO C 99 Technical Corrigendum 1.
+
+2006-06-22  Paul Eggert  <eggert@cs.ucla.edu>
+
+       * glob.c (collated_compare): Remove 'const' uses that weren't needed.
+       Some compiler complained about some of them.  Problem reported by
+       Larry Jones in
+       <http://lists.gnu.org/archive/html/bug-gnulib/2006-06/msg00172.html>.
+
+2006-06-21  Simon Josefsson  <jas@extundo.com>
+
+       * getaddrinfo.c (getaddrinfo): Set ai_family in the return
+       variable.
+
+       * socket_.h: Don't define WINVER.
+
+       * inet_pton.h, inet_pton.c: New file, taken from glibc but
+       slightly modified to work in gnulib.
+
+2006-06-19  Paul Eggert  <eggert@cs.ucla.edu>
+
+       * read-file.c (fread_file): Start with buffer allocation of
+       0 bytes rather than 1 byte; this simplifies the code.
+       Don't invoke feof; it's not needed.  Refactor to avoid duplicate
+       code to free buffer and save/restore errno.
+       (internal_read_file): Remove unused local.
+
+2006-06-20  Paul Eggert  <eggert@cs.ucla.edu>
+
+       * openat.c (openat): Use ?:, not if, to work around GCC bug 4210
+       <http://gcc.gnu.org/bugzilla/show_bug.cgi?id=4210>.
+       Problem reported by Denis Excoffier in
+       <http://lists.gnu.org/archive/html/bug-tar/2006-06/msg00023.html>.
+
+2006-06-19  Simon Josefsson  <jas@extundo.com>
+
+       * inet_ntop.c: Always build inet_ntop4, since inet_ntop6 calls it.
+
+2006-06-19  Paul Eggert  <eggert@cs.ucla.edu>
+
+       * alloca_.h (alloca) [defined alloca]: Don't define or declare.
+
+2006-06-17  Bruno Haible  <bruno@clisp.org>
+
+       * stdint_.h [FreeBSD >= 5]: Don't include <sys/inttypes.h>.
+
+2006-06-17  Bruno Haible  <bruno@clisp.org>
+
+       * stdint_.h (_UINT8_T, _UINT32_T, _UINT64_T): New macros. Fixes a
+       problem on Solaris 2.5.1.
+
+2006-06-16  Eric Blake  <ebb9@byu.net>
+
+       * unsetenv.c [!defined errno]: Assume errno.h declares errno.
+       * unicodeio.c [!defined errno]: Likewise.
+       * strtol.c [!defined errno]: Likewise.
+       * strtod.c [!defined errno]: Likewise.
+
+2006-06-15  Bruno Haible  <bruno@clisp.org>
+
+       * stdint_.h: Rewritten to be fully auto-configured.
+       Fixes bug on HP-UX/IA64.
+
+2006-06-11  Paul Eggert  <eggert@cs.ucla.edu>
+
+       * getdate.y (__attribute__): Don't define if already defined.
+       Problem reported by Larry Jones.
+       * utimens.c (__attribute__): Likewise.
+
+2006-06-04  Paul Eggert  <eggert@cs.ucla.edu>
+
+       * regexec.c (group_nodes_into_DFAstates): Fix a buffer overrun
+       reported by Andreas Schwab.
+
+2006-05-30  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
+           Bruno Haible  <bruno@clisp.org>
+
+       * strndup.c (strndup) [!_LIBC]: Don't undefine macro definition.
+
+2006-05-26  Martin Lambers  <marlam@marlam.de>
+
+       * getpass.c: Updates the test for the native W32 API, and adds
+       missing includes, thus fixing compilation warnings.
+
+2006-05-25  Paul Eggert  <eggert@cs.ucla.edu>
+
+       * tempname.c (small_open, large_open): New macros.
+       (__open, __open64) [!_LIBC]: Remove.
+       (__gen_tempname): Use small_open and large_open instead of __open
+       and __open64.  This fixes a portability bug on HP-UX 11.11i
+       reported by Simon Wing-Tang in
+       <http://lists.gnu.org/archive/html/bug-coreutils/2006-05/msg00114.html>.
+
+2006-05-25  Sergey Poznyakoff  <gray@gnu.org.ua>
+
+       * exclude.c (exclude_fnmatch): New function.
+       (excluded_file_name): Call exclude_fnmatch.
+       * exclude.h (excluded_file_name): New prototype
+
+2006-05-24  Bruno Haible  <bruno@clisp.org>
+
+       * printf-args.c (printf_fetchargs): Turn NULL pointers for
+       TYPE_STRING and TYPE_WIDE_STRING into a non-NULL replacement.
+       Reported by Thorsten Maerz <torte@netztorte.de> via
+       Aaron Stone <aaron@serendipity.cx>.
+
+2006-05-19  Paul Eggert  <eggert@cs.ucla.edu>
+
+       * nanosleep.c [HAVE_SYS_SELECT_H]: Include <sys/select.h>.
+       Use the usual Autoconf way to include <time.h> and/or sys/time.h.
+       (my_usleep): Don't mishandle maximum value.
+
+2006-05-19  Jim Meyering  <jim@meyering.net>
+
+       * getugroups.c: Correct an outdated comment.  From Bruno Haible.
+
+2006-05-17  Bruno Haible  <bruno@clisp.org>
+
+       Cygwin portability.
+       * classpath.c (PATH_SEPARATOR) [CYGWIN]: Define as ':'.
+
+2006-05-17  Bruno Haible  <bruno@clisp.org>
+
+       * stdint_.h: Fix recognition of Cygwin.
+
+2006-05-11  Jim Meyering  <jim@meyering.net>
+
+       * sha1.c (sha1_buffer): Correct comment: s/MD5/SHA1/.  From James Lemley.
+
 2006-05-10  Paul Eggert  <eggert@cs.ucla.edu>
 
        * crc.c (crc32_update): Remove unnecessary L suffix.
+       * md4.c (rol): Cast right-shift arg to uint32_t to prevent
+       unwanted sign propagation, e.g., on hosts with 64-bit int.
+       There still are some problems with reeelly weird theoretical hosts
+       (e.g., 33-bit int) but it's not worth worrying about now.
+       * sha1.c (rol): Likewise.
+       (K1, K2, K3, K4): Remove unnecessary L suffix.
 
 2006-05-10  Bruno Haible  <bruno@clisp.org>
 
        (re_acquire_state_context): Likewise.
 
 2006-03-29  Mark D. Baushke  <mdb@gnu.org>
-            Bruno Haible  <bruno@clisp.org>
+           Bruno Haible  <bruno@clisp.org>
 
        * stdint_.h: On OpenBSD, don't redefine types already included in
        <sys/types.h> and <inttypes.h>.