X-Git-Url: http://erislabs.net/gitweb/?a=blobdiff_plain;f=ChangeLog;h=4801d215c61e7090aff49865cb5fab3bfddab6ab;hb=b474f4eb2187f6ae6f504ce9ff5eb11b7ec811bc;hp=bc1abeece62c2a464c4fee7685fddf4dc4037c0b;hpb=73f48e6fcc45389a6d7022b7de234d82b97b2f7f;p=gnulib.git diff --git a/ChangeLog b/ChangeLog index bc1abeece..4801d215c 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,475 @@ +2007-10-22 Ralf Wildenhues + + * lib/getloadavg.c + [defined (__osf__) && (defined (__alpha) || defined (__alpha__)]: + Undef `sys' after including sys/table.h, for Tru64 4.0D. + + * tests/test-i-ring.c: Work for C89. + +2007-10-22 Bruno Haible + + * m4/ulonglong.m4 (AC_TYPE_UNSIGNED_LONG_LONG_INT): Use -1ull, not + -1u, in preprocessor expression, so that we don't test for the bug + in HP-UX 11.00 cpp. Testing for this bug caused problems; see + . + +2007-10-22 Eric Blake + + * tests/test-yesno.sh: Silence stderr during test. + +2007-10-22 Simon Josefsson + + * modules/crypto/gc-camellia: New file. + + * m4/gc-camellia.m4: New file. + + * lib/gc-libgcrypt.c (gc_cipher_open): Support Camellia. + + * lib/gc.h (enum Gc_cipher): Add GC_CAMELLIA128, GC_CAMELLIA256. + +2007-10-22 Simon Josefsson + + * build-aux/maint.mk (gzip_rsyncable): Don't fail if gzip sends + --help to stdout. Reported by sms@antinode.org (Steven + M. Schweda). + +2007-10-22 Simon Josefsson + + * users.txt: Fix link to libksba. + +2007-10-21 Ben Pfaff + + * modules/roundf-tests: Add dependency on floorf, ceilf to allow + round.c roundf implementation that depends on floorf and ceilf to + be tested unconditionally. + +2007-10-21 Ben Pfaff + + * m4/check-libm-func.m4: Removed. + * m4/check-math-lib.m4: New file. + * m4/round.m4: Rewrite to use gl_CHECK_MATH_LIB. + * m4/roundf.m4: Ditto, and fix lack of HAVE_DECL_ROUNDF + definition and lack of AC_LIBOBJ([roundf]). + * m4/roundl.m4: Ditto, and similarly for roundl. + * modules/round: Reference new m4 file. + * modules/roundf: Ditto. + * modules/roundl: Ditto. + * tests/test-round2.c (main): Use ROUND instead of round. + Bug report from Bruno Haible. + +2007-10-21 Bruno Haible + + * lib/printf-parse.c: Don't assume exists in IN_LIBASPRINTF + context. + +2007-10-21 Bruno Haible + + * tests/test-wcwidth.c (main): Allow negative result for some control + characters. + + * m4/wcwidth.m4 (gl_FUNC_WCWIDTH): Check also the width of U+200B. + Needed on OSF/1 5.1. + +2007-10-21 Bruno Haible + + * tests/test-floorf1.c: Include isnanf.h. + (main): Use isnanf() instead of isnan(). + * tests/test-ceilf1.c: Include isnanf.h. + (main): Use isnanf() instead of isnan(). + * tests/test-truncf1.c: Include isnanf.h. + (main): Use isnanf() instead of isnan(). + * tests/test-roundf1.c: Include isnanf.h. + (main): Use isnanf() instead of isnan(). + +2007-10-21 Eric Blake + + * users.txt: Update URL for m4. + +2007-10-21 Bruno Haible + + * users.txt: Add clisp. Update URLs to Simon Josefsson's projects. + +2007-10-21 Bruno Haible + + * gnulib-tool (func_create_megatestdir): Determine the cvsdate from + Git's management files if the CVS files are not present. + +2007-10-20 Bruno Haible + + * lib/count-one-bits.h (COUNT_ONE_BITS): Use the builtin also for + gcc-3.4.x. + +2007-10-20 Ben Pfaff + + * lib/math.in.h: Declare round, roundf, roundl if we are providing + implementations. + * m4/math_h.m4: New substitutions for round, roundf, roundl modules. + * lib/round.c: New file. + * lib/roundf.c: New file. + * lib/roundl.c: New file. + * m4/round.m4: New file. + * m4/roundf.m4: New file. + * m4/roundl.m4: New file. + * m4/check-libm-func-m4: New file. + * modules/math: Replace round, roundf, roundl related @VARS@ in + math.in.h. + * modules/round: New file. + * modules/round-tests: New file. + * modules/roundf: New file. + * modules/roundf-tests: New file. + * modules/roundl: New file. + * modules/roundl-tests: New file. + * tests/test-round1.c: New file. + * tests/test-round2.c: New file. + * tests/test-roundf1.c: New file. + * tests/test-roundf2.c: New file. + * tests/test-roundl.c: New file. + * doc/functions/round.texi: Mention round module. + * doc/functions/roundf.texi: Mention roundf module. + * doc/functions/roundl.texi: Mention roundl module. + * MODULES.html.sh: Mention new modules. + Thanks to Bruno Haible for suggestions. + +2007-10-20 Jim Meyering + + * lib/xprintf.c: Include unconditionally. + + Change xprintf's license to GPL. + * modules/xprintf (License): s/LGPL/GPL/, since this module + depends on modules (exit and exitfail) which are GPL. + Suggestion from Bruno Haible. + + xprintf fixes. + * lib/xprintf.c (xprintf, xfprintf): Use va_end. + Use a clearer diagnostic. + Patch from Bruno Haible. + +2007-10-20 Bruno Haible + + * lib/vasnprintf.c (VASNPRINTF): Don't report overflow if the available + length is INT_MAX and sizeof (DCHAR_T) > sizeof (TCHAR_T). + Reported by Ralf Wildenhues . + +2007-10-20 Bruno Haible + + * tests/test-floorf2.c (correct_result_p): Don't rely on excess + precision in the comparison result > x - 1 or similar. + * tests/test-ceilf2.c (correct_result_p): Likewise. + * tests/test-truncf2.c (correct_result_p): Likewise. + * tests/test-trunc2.c (correct_result_p): Likewise. + Reported by Ralf Wildenhues . + +2007-10-20 Bruno Haible + + * modules/ceil: New file. + * m4/ceil.m4: New file. + * doc/functions/ceil.texi: Mention the 'ceil' module. + +2007-10-20 Bruno Haible + + * modules/floor: New file. + * m4/floor.m4: New file. + * doc/functions/floor.texi: Mention the 'floor' module. + +2007-10-20 Bruno Haible + + * modules/ceilf-tests (Depends-on): Add fprintf-posix. Needed for use + of %a. + * modules/floorf-tests (Depends-on): Likewise. + * modules/truncf-tests (Depends-on): Likewise. + * modules/trunc-tests (Depends-on): Likewise. + Reported by Ben Pfaff. + +2007-10-19 Jim Meyering + + * lib/xprintf.c (xprintf, xfprintf): Test err < 0, not just "err". + Don't bother testing specific errno values. Just test ferror. + + New module: xprintf + * modules/xprintf, lib/xprintf.c, lib/xprintf.h: New files. + +2007-10-19 Bruno Haible + + * modules/csharpexec (Makefile.am): Use @FOO@ syntax instead of $(FOO) + syntax. + * modules/javaexec (Makefile.am): Likewise. + * modules/relocatable-prog (Makefile.am): Likewise. + Suggested by Jim Meyering. + +2007-10-18 Bruno Haible + + * lib/vasnprintf.c (VASNPRINTF): Don't use %n on glibc >= 2.3 systems. + Reported by Jim Meyering. + +2007-10-18 Eric Blake + + * modules/filenamecat-tests (Makefile.am): Link against -lintl. + +2007-10-18 Bruno Haible + + * m4/printf.m4 (gl_PRINTF_DIRECTIVE_N, gl_SNPRINTF_DIRECTIVE_N): Put + the format string into writable memory. Needed in Fortify conditions. + +2007-10-18 Colin Watson (tiny change) + Bruno Haible + + * lib/trim.c: Include config.h unconditionally. Include trim.h always. + Include ctype.h always. Include stdlib.h, not mbuiter.h, for MB_CUR_MAX. + * modules/trim (Depends-on): Add mbchar. + (configure.ac): Add gl_FUNC_MBRTOWC. + (Makefile.am): Augment lib_SOURCES. + +2007-10-17 Paul Eggert + + Modify glob.c to use fstatat and dirfd, to simplify it. + Suggested by Eric Blake. + * lib/glob.c (__fxstatat64) [!_LIBC]: New macro. + Don't include ; not used. + (link_exists2_p, glob_in_dir) [!_LIBC]: No longer a special case. + (link_exists_p): Simplify implementation, since we can now assume + dirfd and fstatat. + * modules/glob (Depends-on): Add dirfd, openat. Remove stdbool. + +2007-10-17 Ralf Wildenhues + + * gnulib-tool (func_get_dependencies): Fix sed script to + match only tests. + +2007-10-17 Bruno Haible + + * m4/locale-fr.m4 (gt_LOCALE_FR, gt_LOCALE_FR_UTF8): On Cygwin, don't + allow locale names without encoding suffix. + * m4/locale-tr.m4 (gt_LOCALE_TR_UTF8): Likewise. + * m4/locale-zh.m4 (gt_LOCALE_ZH_CN): Likewise. + +2007-10-16 Bruno Haible + + * lib/getcwd.c (__getcwd): Define with explicit rpl_ prefix. + * lib/getgroups.c (getgroups): Likewise. + * lib/gettimeofday.c (localtime, gmtime, tzset): Likewise. + +2007-10-16 Bruno Haible + + * modules/absolute-header (License): Change from LGPL to LGPLv2+. + * modules/malloc-posix (License): Likewise. + * modules/realloc-posix (License): Likewise. + * modules/calloc-posix (License): Likewise. + * modules/intprops (License): Change from GPL to LGPL, with + Paul Eggert's approval. + +2007-10-16 Paul Eggert + + Merge glibc changes into lib/glob.c. + + * lib/glob.c (glob_in_dir): Sync with glibc/posix/glob.c, dated + 2007-10-15 04:59:03 UTC. Here are the changes: + + 2007-10-14 Ulrich Drepper + + * lib/glob.c: Reimplement link_exists_p to use fstatat64. + + * lib/glob.c: Add some branch prediction throughout. + + 2007-10-07 Ulrich Drepper + + [BZ #5103] + * lib/glob.c (glob): Recognize patterns starting \/. + + 2007-02-14 Jakub Jelinek + + [BZ #3996] + * lib/glob.c (attribute_hidden): Define if not defined. + (glob): Unescape dirname, filename or username when needed and not + GLOB_NOESCAPE. Handle \/ correctly. Handle GLOB_MARK if filename + is NULL. Handle unescaped [ in pattern without closing ]. + Don't pass GLOB_CHECK down to recursive glob for directories. + (__glob_pattern_type): New function. + (__glob_pattern_p): Implement using __glob_pattern_type. + (glob_in_dir): Handle GLOB_NOCHECK patterns containing no meta + characters and backslashes if not GLOB_NOESCAPE or unterminated [. + Remove unreachable code. + + 2006-09-30 Ulrich Drepper + + * lib/glob.c (glob_in_dir): Add some comments and asserts to + explain why there are no leaks. + + 2006-09-25 Jakub Jelinek + + [BZ #3253] + * lib/glob.c (glob_in_dir): Don't alloca one struct globlink at a + time, rather allocate increasingly bigger arrays of pointers, if + possible with alloca, if too large with malloc. + +2007-10-16 Paul Eggert + + Check for 64-bit int errors in HP-UX 10.20 preprocessor. + Problem reported by H.Merijn Brand in + . + * m4/longlong.m4 (AC_TYPE_LONG_LONG_INT): Check preprocessor too. + * m4/ulonglong.m4 (AC_TYPE_UNSIGNED_LONG_LONG_INT): Likewise. + +2007-10-15 Bruno Haible + + * lib/fchdir.c (close, open, closedir, opendir, dup, dup2): Define + with explicit rpl_ prefix. + * lib/fopen.c (fopen): Likewise. + * lib/freopen.c (freopen): Likewise. + * lib/iconv.c (iconv): Likewise. + * lib/iconv_close.c (iconv_close): Likewise. + +2007-10-15 Ralf Wildenhues + + * m4/iconv_open (gl_FUNC_ICONV_OPEN_UTF): Fix cache variable name. + +2007-10-15 Bruno Haible + + * m4/getaddrinfo.m4 (gl_GETADDRINFO, gl_PREREQ_GETADDRINFO): Use + instead of since we only need NULL. + Reported by Ben Pfaff . + +2007-10-15 Bruno Haible + + * doc/gnulib-tool.texi (Initial import): Swap order of -I directives. + Replace paragraph talking about LIBOBJS. + Reported by Colin Watson . + +2007-10-15 Bruno Haible + + * m4/getaddrinfo.m4 (gl_GETADDRINFO, gl_PREREQ_GETADDRINFO): Include + before using NULL. + +2007-10-15 Simon Josefsson + + * m4/getaddrinfo.m4: Use NULL rather than 0 for pointers. + Reported by Albert Chin . + +2007-10-14 Bruno Haible + + * modules/iconv_open-utf-tests: New file. + * tests/test-iconv-utf.c: New file. + + Enhance iconv_open to support UTF-16BE, UTF-16LE, UTF-32BE, UTF-32LE. + * modules/iconv_open-utf: New file. + * lib/iconv.in.h (_ICONV_UTF8_UTF*, _ICONV_UTF*_UTF8): New macros. + (iconv, iconv_close): New declarations. + * lib/iconv_open.c: Include c-strcase.h. Don't require ICONV_FLAVOR to + be defined. + (iconv_open): Add special handling of conversion between UTF-8 and + UTF-{16,32}{BE,LE}. + * lib/iconv.c: New file, incorporating code from GNU libiconv 1.11. + * lib/iconv_close.c: New file. + * m4/iconv_open.m4 (gl_REPLACE_ICONV_OPEN): New macro, extracted from + gl_FUNC_ICONV_OPEN. + (gl_FUNC_ICONV_OPEN): Use it. + (gl_FUNC_ICONV_OPEN_UTF): New macro. + * m4/iconv_h.m4 (gl_ICONV_H_DEFAULTS): Initialize also REPLACE_ICONV + and REPLACE_ICONV_UTF. + * modules/iconv_open (Depends-on): Add c-strcase. + (Makefile.am): Substitute also REPLACE_ICONV, REPLACE_ICONV_UTF, + ICONV_CONST. + * doc/functions/iconv_open.texi: Mention the iconv_open-utf module. + +2007-10-13 Albert Chin + Bruno Haible + + * m4/getaddrinfo.m4 (gl_GETADDRINFO): Perform the test for getaddrinfo + through a link check that includes . Needed for OSF/1 5.1. + +2007-10-13 Bruno Haible + + * lib/argp-fmtstream.h (ARGP_FS_EI): If __GNUC_STDC_INLINE__ is + defined, use the ISO C99 inline semantics. + * lib/argp.h (ARGP_EI): Likewise. + +2007-10-13 Bruno Haible + + Handle 'inline' change in gcc 4.3.0. + * lib/argp-fmtstream.h (argp_fmtstream_putc, argp_fmtstream_puts, + argp_fmtstream_write, argp_fmtstream_set_lmargin, + argp_fmtstream_set_rmargin, argp_fmtstream_set_wmargin, + argp_fmtstream_point): Disable 'extern' declaration if the function + definition is going to be provided inline. + (ARGP_FS_EI): If __GNUC_STDC_INLINE__ is defined, use the GNU C inline + semantics, not the ISO C99 inline semantics. + * lib/argp.h (argp_usage, _option_is_short, _option_is_end): Disable + 'extern' declaration if the function definition is going to be provided + inline. + (ARGP_EI): Don't assume GNU C. If __GNUC_STDC_INLINE__ is defined, use + the GNU C inline semantics, not the ISO C99 inline semantics. With + GCC 4.2, avoid a warning. + +2007-10-13 Bruno Haible + + * lib/freading.h (freading): Enable the use of __freading for + glibc >= 2.7. + * lib/freading.c (freading): Likewise. + +2007-10-12 Paul Eggert + + * lib/argp-fmtstream.h (ARGP_FS_EI): Work around GCC 4.2.1 diagnostic + "warning: C99 inline functions are not supported; using GNU89". + +2007-10-12 Bruno Haible + + * lib/ceil.c (FUNC): Avoid rounding errors for values near a power + of 2. + * tests/test-ceilf2.c: New file. + * modules/ceilf-tests: (Files, Depends-on, Makefile.am): Add new test. + + * tests/test-ceilf1.c: Renamed from tests/test-ceilf.c. + * modules/ceilf-tests: Update. + +2007-10-12 Bruno Haible + + * lib/floor.c (FUNC): Avoid rounding errors for values near a power + of 2. + * tests/test-floorf2.c: New file. + * modules/floorf-tests: (Files, Depends-on, Makefile.am): Add new test. + + * tests/test-floorf1.c: Renamed from tests/test-floorf.c. + * modules/floorf-tests: Update. + +2007-10-12 Bruno Haible + + * tests/test-trunc2.c: New file. + * modules/trunc-tests: (Files, Depends-on, Makefile.am): Add new test. + + * tests/test-trunc1.c: Renamed from tests/test-trunc.c. + * modules/trunc-tests: Update. + +2007-10-12 Bruno Haible + + * lib/trunc.c (FUNC): Avoid rounding errors for values near a power + of 2. + * tests/test-truncf2.c: New file. + * modules/truncf-tests: (Files, Depends-on, Makefile.am): Add new test. + + * tests/test-truncf1.c: Renamed from tests/test-truncf.c. + * modules/truncf-tests: Update. + +2007-10-11 Eric Blake + + Don't claim strerror is broken on Interix. + * doc/functions/strerror.texi (strerror): Known broken systems are + now Solaris 8, and not Interix. + * m4/strerror.m4 (gl_FUNC_STRERROR_SEPARATE): No longer filter out + Interix on cross-compile. + Reported by Martin Koeppe in + http://lists.gnu.org/archive/html/bug-gnulib/2007-10/msg00005.html. + +2007-10-11 Bruno Haible + + * modules/i-ring-tests: New file. + * tests/test-i-ring.c: Renamed from lib/i-ring-test.c. Use ASSERT + instead of assert. + +2007-10-11 Bruno Haible + + * modules/filenamecat-tests: New file. + * tests/test-filenamecat.c: New file, extracted from lib/filenamecat.c. + * lib/filenamecat.c: Remove test code. + 2007-10-11 Paul Eggert Simplify and modernize strerror substitute, partly to fix Solaris 8 bug. @@ -34689,7 +35161,6 @@ * m4/uintmax_t.m4: New file. * m4/Makefile.am (EXTRA_DIST): Add inttypes_h.m4 and uintmax_t.m4. -Copyright (C) 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007 - Free Software Foundation, Inc. +Copyright (C) 1997-2007 Free Software Foundation, Inc. Copying and distribution of this file, with or without modification, are permitted provided the copyright notice and this notice are preserved.