New module: mreadlink-with-size.
[pspp] / ChangeLog
index dd3207dabd46304f208b1c87abe129c0e9a615b5..12fd89f5bc3b0107c21ccf5b41686d89bc81993c 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,207 @@
+2007-06-18  Jim Meyering  <jim@meyering.net>
+
+       New module: mreadlink-with-size.
+       * MODULES.html.sh: Add mreadlink-with-size.
+       * modules/mreadlink-with-size: New module
+       * modules/canonicalize (Depends-on): Depend on mreadlink-with-size,
+       not xreadlink-with-size.
+       * lib/mreadlink-with-size.c, lib/mreadlink.h: New files.
+
+2007-06-16  Bruno Haible  <bruno@clisp.org>
+
+       * m4/frexpl.m4 (gl_FUNC_FREXPL_WORKS): Catch the MacOS X 10.4 bug.
+       * doc/functions/frexpl.texi: Document the MacOS X 10.4 bug.
+       Reported by Gary V. Vaughan <gary@gnu.org>.
+
+2007-06-15  Paul Eggert  <eggert@cs.ucla.edu>
+
+       Revamp lchown so that it lives in unistd.h where it belongs.
+       * lib/lchown.h: Remove.
+       * lib/dirchownmod.c: Don't include lib/lchown.h.
+       * lib/fchownat.c: Likewise.
+       * lib/openat.c: Likewise.
+       * lib/lchown.c (REPLACE_CHOWN): Define to 0 if the system chown
+       does not follow symlinks.
+       (EOPNOTSUPP): Define if not defined.
+       * lib/unistd_.h (chown): Do not replace if REPLADE_CHOWN
+       is defined to 0.
+       (lchown): New decl.
+       * m4/lchown.m4 (gl_FUNC_LCHOWN): Require gl_UNISTD_H_DEFAULTS.
+       Do not check for lchown decl.
+       Set REPLACE_LCHOWN.
+       * m4/unistd_h.m4 (gl_UNISTD_H_DEFAULTS): Set GNULIB_LCHOWN,
+       REPLACE_LCHOWN.
+       * modules/chown: Make it clear it follows symlinks.
+       * modules/lchown: Make it clear it doesn't follow symlinks.
+       (Files): Remove lib/lchown.h
+       (Depends-on): Add unistd.
+       (configure.ac): Add gl_UNISTD_MODULE_INDICATOR([lchown]).
+       (Include): Include <unistd.h>, not "lchown.h".
+       * modules/unistd (unistd.h): Substitude GNULIB_LCHOWN and
+       REPLACE_LCHOWN.
+
+2007-06-15  Jim Meyering  <jim@meyering.net>
+
+       Change license (GPL to LGPL) of fsusage and dependents.
+       * modules/fsusage (License): Change to LGPL.
+       * modules/full-read (License): Likewise.
+       * modules/full-write (License): Likewise.
+       * modules/safe-read (License): Likewise.
+       * modules/safe-write (License): Likewise.
+
+2007-06-14  Ben Pfaff  <blp@gnu.org>
+
+       Missing part of allocsa -> malloca transition.
+       * modules/relocatable-prog-wrapper: gl_ALLOCSA should be
+       gl_MALLOCA.
+
+2007-06-12  Bruno Haible  <bruno@clisp.org>
+
+       * m4/isnanl.m4 (gl_FUNC_ISNANL_WORKS): Guess no when cross-compiling
+       to ia64, x86_64, i386.
+       Reported by Eric Blake.
+
+2007-06-12  Bruno Haible  <bruno@clisp.org>
+
+       * m4/printf.m4 (gl_PRINTF_INFINITE_LONG_DOUBLE): Guess no also when
+       cross-compiling to x86_64.
+
+2007-06-12  Paul Eggert  <eggert@cs.ucla.edu>
+
+       * m4/absolute-header.m4 (gl_ABSOLUTE_HEADER): Fix POSIX sed portability
+       glitch reported by Ralf Wildenhues in
+       <http://lists.gnu.org/archive/html/bug-gnulib/2007-06/msg00114.html>.
+
+       * m4/regex.m4 (gl_REGEX): Catch a bug with [[:alnum:]_-] reported by
+       Vin Shelton.
+
+2007-06-11  Bruno Haible  <bruno@clisp.org>
+
+       * lib/printf-args.c (PRINTF_FETCHARGS) [ENABLE_UNISTDIO]: Fix NULL
+       replacement string.
+       Reported by Eric Blake.
+
+2007-06-10  Bruno Haible  <bruno@clisp.org>
+
+       Prepare vasnprintf code for use with Unicode strings.
+       * lib/printf-args.h (PRINTF_FETCHARGS): New macro.
+       (arg_type) [ENABLE_UNISTDIO]: Define TYPE_U8_STRING, TYPE_U16_STRING,
+       TYPE_U32_STRING.
+       (argument) [ENABLE_UNISTDIO]: Add a_u8_string, a_u16_string,
+       a_u32_string variants.
+       (PRINTF_FETCHARGS): Renamed from printf_fetchargs.
+       * lib/printf-args.c: Don't include config.h and the specification
+       header if PRINTF_FETCHARGS is already defined.
+       (PRINTF_FETCHARGS): Renamed from printf_fetchargs.
+       (PRINTF_FETCHARGS) [ENABLE_UNISTDIO]: Add code for TYPE_U8_STRING,
+       TYPE_U16_STRING, TYPE_U32_STRING.
+       * lib/printf-parse.h [ENABLE_UNISTDIO] (u8_directive, u8_directives,
+       u16_directive, u16_directives, u32_directive, u32_directives): New
+       types.
+       (ulc_printf_parse, u8_printf_parse, u16_printf_parse, u32_printf_parse):
+       New declarations.
+       * lib/printf-parse.c: Don't include config.h and the specification
+       header if PRINTF_PARSE is already defined. Eliminate the set of
+       parameters for WIDE_CHAR_VERSION; the user of this file must provide
+       them now. Include c-ctype.h.
+       (PRINTF_PARSE) [ENABLE_UNISTDIO]: Add code implementing the 'U'
+       directive and CHAR_T_ONLY_ASCII.
+       * lib/vasnprintf.c: Don't include config.h and the specification header
+       if VASNPRINTF is already defined.
+       (DCHAR_IS_TCHAR, DCHAR_CPY): New macros.
+       (VASNPRINTF): Use PRINTF_FETCHARGS instead of printf_fetchargs. Use
+       DCHAR_CPY. Handle the case that DCHAR_T and FCHAR_T are not the same
+       type. Handle the case that TCHAR_T and FCHAR_T are not of the same
+       size. Handle the case that DCHAR_T and TCHAR_T are not the same type,
+       add a conversion from TCHAR_T[] to DCHAR_T[], and rework the padding
+       code accordingly.
+       (VASNPRINTF) [ENABLE_UNISTDIO]: Implement the 'U' directive. Enable
+       pad_ourselves also in this case, with the 'c' and 's' directives, and
+       with a different notion of "width".
+       * m4/vasnprintf.m4 (gl_PREREQ_VASNPRINTF_WITH_EXTRAS): New macros.
+
+2007-06-10  Bruno Haible  <bruno@clisp.org>
+
+       * modules/unistr/u32-mbsnlen: New file.
+       * lib/unistr/u32-mbsnlen.c: New file.
+
+       * modules/unistr/u16-mbsnlen: New file.
+       * lib/unistr/u16-mbsnlen.c: New file.
+
+       * modules/unistr/u8-mbsnlen: New file.
+       * lib/unistr/u8-mbsnlen.c: New file.
+
+       * lib/unistr.h (u8_mbsnlen, u16_mbsnlen, u32_mbsnlen): New
+       declarations.
+
+2007-06-10  Bruno Haible  <bruno@clisp.org>
+
+       * lib/string_.h (mbsnlen): New declaration.
+       * lib/mbsnlen.c: New file.
+       * m4/mbsnlen.m4: New file.
+       * modules/mbsnlen: New file.
+       * m4/string_h.m4 (gl_HEADER_STRING_H_DEFAULTS): Set GNULIB_MBSNLEN.
+       * modules/string (string.h): Substitute GNULIB_MBSNLEN.
+       * MODULES.html.sh (Internationalization functions): Add mbsnlen.
+
+2007-06-10  Bruno Haible  <bruno@clisp.org>
+
+       * lib/mbslen.c: Include <stdlib.h>, needed for MB_CUR_MAX.
+
+2007-06-10  Bruno Haible  <bruno@clisp.org>
+
+       * lib/mbiter.h: Include <stddef.h>, needed for ptrdiff_t.
+       * lib/mbuiter.h: Likewise.
+
+2007-06-10  Bruno Haible  <bruno@clisp.org>
+
+       * m4/vasnprintf.m4 (gl_PREREQ_VASNPRINTF): Check for _snprintf
+       declaration.
+
+2007-06-10  Karl Berry  <karl@gnu.org>
+
+       * config/srclist.txt: remove gettext entries, Bruno prefers
+       to update individually.
+
+2007-06-10  Bruno Haible  <bruno@clisp.org>
+
+       * lib/vasnprintf.c (VASNPRINTF) [!USE_SNPRINTF]: Remove variable
+       'maxlen'. Ensure only length + width bytes are allocated, not
+       length + 1 + width.
+
+2007-06-09  Bruno Haible  <bruno@clisp.org>
+
+       * lib/vasnprintf.c (FCHAR_T, DCHAR_T, TCHAR_T): New macros.
+       (CHAR_T): Remove macro.
+       (VASNPRINTF): Update.
+
+2007-06-09  Bruno Haible  <bruno@clisp.org>
+
+       * MODULES.html.sh (Unicode string functions): Add the new modules.
+
+       * modules/uniconv/u32-conv-to-enc: New file.
+       * lib/uniconv/u32-conv-to-enc.c: New file.
+       * modules/uniconv/u32-conv-to-enc-tests: New file.
+       * tests/uniconv/test-u32-conv-to-enc.c: New file.
+
+       * modules/uniconv/u16-conv-to-enc: New file.
+       * lib/uniconv/u16-conv-to-enc.c: New file.
+       * lib/uniconv/u-conv-to-enc.h: New file.
+       * modules/uniconv/u16-conv-to-enc-tests: New file.
+       * tests/uniconv/test-u16-conv-to-enc.c: New file.
+
+       * modules/uniconv/u8-conv-to-enc: New file.
+       * lib/uniconv/u8-conv-to-enc.c: New file.
+       * modules/uniconv/u8-conv-to-enc-tests: New file.
+       * tests/uniconv/test-u8-conv-to-enc.c: New file.
+
+       * lib/uniconv.h (u8_conv_to_encoding, u16_conv_to_encoding,
+       u32_conv_to_encoding): New declarations.
+
+2007-06-09  Bruno Haible  <bruno@clisp.org>
+
+       * tests/uniconv/test-u32-strconv-to-enc.c (main): Remove unused code.
+
 2007-06-09  Bruno Haible  <bruno@clisp.org>
 
        Rename 'allocsa' -> 'malloca', 'freesa' -> 'freea'.
        * lib/striconveha.c: Update.
        * modules/relocatable-prog-wrapper (Files): Update.
        * lib/relocwrapper.c: Update.
+       * build-aux/install-reloc: Update.
+       * MODULES.html.sh (Memory management functions <stdlib.h>): Update.
 
 2007-06-08  Bruno Haible  <bruno@clisp.org>