* check-module: Add copyright notice.
[pspp] / lib / ChangeLog
index 2fe0eba62001a62c687c76c1e95bb06721e23f8a..32cd7675985d76bb763cc4fccdf793ece6bd6a95 100644 (file)
@@ -1,3 +1,146 @@
+2006-08-14  Paul Eggert  <eggert@cs.ucla.edu>
+
+       * TODO: Remove; this belongs only in coreutils.
+
+2006-08-14  Eric Blake  <ebb9@byu.net>
+
+       Import the following change from libc:
+
+       2006-08-12  Ulrich Drepper  <drepper@redhat.com>
+
+       Upstream bug 2997.
+       * misc/error.c: Add space between program name and message if file
+       name is missing.
+
+2006-08-11  Paul Eggert  <eggert@cs.ucla.edu>
+
+       * pipe-safer.c (pipe_safer): Fix misspelling: HAVE_FUNC_PIPE ->
+       HAVE_PIPE.  Fix a file descriptor leak when fd_safer fails.
+
+       * regex_internal.c (re_string_skip_chars): Don't assume WEOF fits
+       in wchar_t.  Problem reported by Eric Blake.
+
+       * snprintf.c (snprintf): memcpy LEN bytes, not SIZE - 1, when
+       LEN is smaller than SIZE.  Suggested by Bruno Haible.
+       Also, help the compiler to keep LEN in a register.
+
+2006-08-10  Paul Eggert  <eggert@cs.ucla.edu>
+
+       * .cppi-disable: Add snprintf.h, socket_.h.
+       * snprintf.c: Include <errno.h> and <limits.h>.
+       (EOVERFLOW): Define if the system does not.
+       Do not include "minmax.h"; it wasn't used.
+       (snprintf): Don't assume size_t promotes to an unsigned type.
+       Fix bug when generated string was too long for the buffer: the
+       buffer's contents are supposed to be the initial prefix of the
+       output.  Don't assume vasnprintf returns EOVERFLOW if the size
+       exceeds INT_MAX; do the check ourselves.
+
+       Import the following changes from libc:
+
+       2006-06-02  Jakub Jelinek  <jakub@redhat.com>
+
+       * posix/regex_internal.c (re_string_skip_chars): If no character has
+       been converted at all, set *last_wc to WEOF.  If mbrtowc failed, set wc
+       to the byte which couldn't be converted.
+       (re_string_reconstruct): Don't clear valid_raw_len before calling
+       re_string_skip_chars.  If wc is WEOF after re_string_skip_chars, set
+       tip_context using re_string_context_at.
+
+       2006-05-02  Ulrich Drepper  <drepper@redhat.com>
+
+       * posix/regex.h: g++ still cannot handled [restrict].
+
+       2006-04-21  Ulrich Drepper  <drepper@redhat.com>
+
+       * posix/regex.h: Remove special handling for VMS.
+
+2006-08-09  Paul Eggert  <eggert@cs.ucla.edu>
+
+       Sync from coreutils.
+
+       2006-07-19  Mike Frysinger  <vapier@gentoo.org>
+
+       * lib/mountlist.c [ME_REMOTE]: Filter out cifs.
+       Reported by Toralf Förster in <http://bugs.gentoo.org/141012>.
+
+2006-08-08  Eric Blake  <ebb9@byu.net>
+
+       * verror.c (verror_at_line): Work around glibc bug 2997, so that
+       verror_at_line output complies with GNU Coding Standards even when
+       file is NULL.
+
+2006-08-08  Eric Blake  <ebb9@byu.net>
+
+       * verror.h, verror.c: New files.
+
+2006-08-07  Bruno Haible  <bruno@clisp.org>
+
+       * allocsa.h (sa_alignof) [_AIX]: Also consider 'long long' in newer
+       versions of AIX.
+       Reported by Ralf Wildenhues.
+
+2006-08-06  Eric Blake  <ebb9@byu.net>
+
+       * error.h: Fold in some upstream changes from glibc.
+       * error.c: Likewise.
+
+2006-07-29  Bruno Haible  <bruno@clisp.org>
+
+       * localcharset.c: Assume <stddef.h>, <stdlib.h>, <string.h> exist.
+
+2006-07-29  Bruno Haible  <bruno@clisp.org>
+
+       * setenv.c: Undo unintended modification done on 2006-02-27.
+
+2006-07-28  Eric Blake  <ebb9@byu.net>
+
+       * regex_internal.h (struct re_dfa_t) [!_LIBC]: Avoid invalid C89
+       macro expansion.
+
+2006-07-28  Simon Josefsson  <jas@extundo.com>
+
+       * inet_ntop.h, inet_pton.h: No need to guard netinet/in.h
+       #include's.
+
+2006-07-28  Simon Josefsson  <jas@extundo.com>
+
+       * inet_ntop.h, inet_pton.h: No need to guard arpa/inet.h
+       #include's.
+
+2006-07-28  Bruno Haible <bruno@clisp.org>
+
+       * inet_ntop.h, inet_pton.h: Use #if HAVE* instead of #ifdef HAVE*.
+
+2006-07-28  Yoann Vandoorselaere <yoann.v@prelude-ids.com>
+
+       * inet_ntop.h, inet_pton.h: Need to include netinet/in.h before
+       arpa/inet.h.
+
+2006-07-28  Bruno Haible  <bruno@clisp.org>
+
+       * mbchar.h (iswalnum, iswalpha, iswblank, iswcntrl, iswdigit, iswgraph,
+       iswlower, iswprint, iswpunct, iswspace, iswupper, iswxdigit): Define
+       fallbacks.
+       Avoids link error on FreeBSD 4.x.
+       Reported by Yoann Vandoorselaere <yoann.v@prelude-ids.com>.
+
+       * wcwidth.h (iswprint): Assume an ASCII compatible wide character
+       encoding.
+       * mbswidth.c (iswcntrl): Likewise.
+
+2006-07-28  Paul Eggert  <eggert@cs.ucla.edu>
+
+       * modechange.c (mode_compile): Numeric modes now affect setuid and
+       setgid on directories only if they set these bits.
+       * modechange.h: Remove obsolete comment about masks.
+
+2006-07-27  Bruno Haible  <bruno@clisp.org>
+
+       * stdint_.h (INT*_C, UINT*_C) [C++]: Define these if
+       __STDC_CONSTANT_MACROS is defined, not if __STDC_LIMIT_MACROS is
+       defined.
+
 2006-07-26  Eric Blake  <ebb9@byu.net>
 
        * mkstemp-safer.c [! HAVE_MKSTEMP]: Add prototype for platforms
@@ -5,7 +148,6 @@
        * pipe-safer.c (pipe_safer) [!HAVE_FUNC_PIPE]: Provide fallback to
        avoid compilation warning on mingw.
 
-
 2006-07-25  Bruno Haible  <bruno@clisp.org>
 
        * version-etc.c (version_etc_va): Use va_copy, assumed to be defined in
        (ISGRAPH): Remove.  All uses changed to isgraph.
        (FOLD) [!defined _LIBC]: Remove special case.
        * getdate.y (lookup_word): Remove no-longer-needed call to islower.
-       * regext_internal.h (isblank): Depend on HAVE_DECL_ISBLANK, not
+       * regex_internal.h (isblank): Depend on HAVE_DECL_ISBLANK, not
        HAVE_ISBLANK.
        * strftime.c (TOLOWER, TOUPPER) [!defined _LIBC]: Remove special case.