X-Git-Url: http://erislabs.net/gitweb/?a=blobdiff_plain;f=ChangeLog;h=cb620489c7e86cd628dd7278f4aebecc8f306925;hb=c9b62cc067d130a354c1b4e22ca59771d2fa0c93;hp=f819138fd5ea13c1289a60aaf0eefa23085f27a1;hpb=17fecfc4d6363d6d4127a97b42f0acbbcbd60a44;p=gnulib.git diff --git a/ChangeLog b/ChangeLog index f819138fd..cb620489c 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,312 @@ +2007-05-13 Bruno Haible + + * stpcpy.m4 (gl_FUNC_STPCPY): Require AC_C_RESTRICT. + * stpncpy.m4 (gl_FUNC_STPNCPY): Likewise. + * strsep.m4 (gl_FUNC_STRSEP): Likewise. + * strtok_r.m4 (gl_FUNC_STRTOK_R): Likewise. + (gl_PREREQ_STRTOK_R): Don't require it here. + +2007-05-13 Bruno Haible + + * lib/stdlib_.h (mkdtemp, mkstemp): Comment out argument name. Needed + when used in C++ mode. + +2007-05-12 Bruno Haible + + * lib/linebuffer.h: Tweak doc. + * lib/linebuffer.c: Likewise. + +2007-05-12 James Youngman + + * lib/linebuffer.c (readlinebuffer_delim): New function, + like readlinebuffer, but use a caller-specified delimiter. + (readlinebuffer): Just call readlinebuffer_delim with '\n' + as the delimiter. + * lib/linebuffer.h (readlinebuffer_delim): Declare it. + +2007-05-12 Sergey Poznyakoff + + * m4/openat.m4 (gl_FUNC_OPENAT): Do not require openat-die. + * modules/openat (Files): Remove openat-die.c. + (Depends-on): Add openat-die. + * modules/openat-die: New module. + +2007-05-06 Bruno Haible + + * m4/printf.m4 (gl_PRINTF_FLAG_GROUPING, gl_VSNPRINTF_ZEROSIZE_C99): + Update with info about Cygwin. + * doc/functions/fprintf.texi: Update. + * doc/functions/printf.texi: Update. + * doc/functions/snprintf.texi: Update. + * doc/functions/sprintf.texi: Update. + * doc/functions/vfprintf.texi: Update. + * doc/functions/vprintf.texi: Update. + * doc/functions/vsnprintf.texi: Update. + * doc/functions/vsprintf.texi: Update. + Reported by Eric Blake. + +2007-05-06 Bruno Haible + + * lib/vasnprintf.c (VASNPRINTF) [NEED_PRINTF_FLAG_ZERO]: Perform the + padding ourselves for the floating-point directives. + * m4/printf.m4 (gl_PRINTF_FLAG_ZERO): New macro. + * m4/vasnprintf.m4 (gl_PREREQ_VASNPRINTF_FLAG_ZERO): New macro. + * m4/snprintf-posix.m4 (gl_FUNC_SNPRINTF_POSIX): Invoke + gl_PRINTF_FLAG_ZERO and test its result. Invoke + gl_PREREQ_VASNPRINTF_FLAG_ZERO. + * m4/sprintf-posix.m4 (gl_FUNC_SPRINTF_POSIX): Likewise. + * m4/fprintf-posix.m4 (gl_FUNC_FPRINTF_POSIX): Likewise. + * m4/vasnprintf-posix.m4 (gl_FUNC_VASNPRINTF_POSIX): Likewise. + * m4/vasprintf-posix.m4 (gl_FUNC_VASPRINTF_POSIX): Likewise. + * m4/vfprintf-posix.m4 (gl_FUNC_VFPRINTF_POSIX): Likewise. + * m4/vsnprintf-posix.m4 (gl_FUNC_VSNPRINTF_POSIX): Likewise. + * m4/vsprintf-posix.m4 (gl_FUNC_VSPRINTF_POSIX): Likewise. + * tests/test-snprintf-posix.h (test_function): Also check the width + and some flags in the %f directive. + * tests/test-sprintf-posix.h (test_function): Likewise. + * tests/test-vasnprintf-posix.c (test_function): Likewise. + * tests/test-vasprintf-posix.c (test_function): Likewise. + * doc/functions/fprintf.texi: Update. + * doc/functions/printf.texi: Update. + * doc/functions/snprintf.texi: Update. + * doc/functions/sprintf.texi: Update. + * doc/functions/vfprintf.texi: Update. + * doc/functions/vprintf.texi: Update. + * doc/functions/vsnprintf.texi: Update. + * doc/functions/vsprintf.texi: Update. + +2007-05-06 Bruno Haible + + * lib/vasnprintf.c (VASNPRINTF) [NEED_PRINTF_FLAG_GROUPING]: Don't + pass the ' flag character to sprintf or snprintf. + * m4/printf.m4 (gl_PRINTF_FLAG_GROUPING): New macro. + * m4/vasnprintf.m4 (gl_PREREQ_VASNPRINTF_FLAG_GROUPING): New macro. + * m4/snprintf-posix.m4 (gl_FUNC_SNPRINTF_POSIX): Invoke + gl_PRINTF_FLAG_GROUPING and test its result. Invoke + gl_PREREQ_VASNPRINTF_FLAG_GROUPING. + * m4/sprintf-posix.m4 (gl_FUNC_SPRINTF_POSIX): Likewise. + * m4/fprintf-posix.m4 (gl_FUNC_FPRINTF_POSIX): Likewise. + * m4/vasnprintf-posix.m4 (gl_FUNC_VASNPRINTF_POSIX): Likewise. + * m4/vasprintf-posix.m4 (gl_FUNC_VASPRINTF_POSIX): Likewise. + * m4/vfprintf-posix.m4 (gl_FUNC_VFPRINTF_POSIX): Likewise. + * m4/vsnprintf-posix.m4 (gl_FUNC_VSNPRINTF_POSIX): Likewise. + * m4/vsprintf-posix.m4 (gl_FUNC_VSPRINTF_POSIX): Likewise. + * tests/test-snprintf-posix.h (test_function): Also check the grouping + flag. + * tests/test-sprintf-posix.h (test_function): Likewise. + * tests/test-vasnprintf-posix.c (test_function): Likewise. + * tests/test-vasprintf-posix.c (test_function): Likewise. + * doc/functions/fprintf.texi: Update. + * doc/functions/printf.texi: Update. + * doc/functions/snprintf.texi: Update. + * doc/functions/sprintf.texi: Update. + * doc/functions/vfprintf.texi: Update. + * doc/functions/vprintf.texi: Update. + * doc/functions/vsnprintf.texi: Update. + * doc/functions/vsprintf.texi: Update. + +2007-05-01 Bruno Haible + + * tests/test-argp-2.sh (func_compare): Drop .exe suffix. + +2007-05-03 Paul Eggert + + * m4/d-ino.m4 (gl_CHECK_TYPE_STRUCT_DIRENT_D_INO): Use better + comment for D_INO_IN_DIRENT. Problem reported by James Youngman. + +2007-05-02 Paul Eggert + + * m4/d-ino.m4 (gl_CHECK_TYPE_STRUCT_DIRENT_D_INO): Test whether + readdir returns garbage in d_ino. Problem reported by Kaz Sasayama in + . + +2007-05-02 Sergey Poznyakoff + + * lib/argp-help.c (struct hol_entry): New member `ord'. + (HOL_ENTRY_PTRCMP): Use ord for comparison + (hol_sort): Initialize ord. + +2007-05-01 Bruno Haible + + * doc/functions/_Exit_C99.texi: Renamed from doc/functions/_Exit.texi. + Reported by Eric Blake. + * doc/gnulib.texi (Function Substitutes): Update. + +2007-05-01 Bruno Haible + + * doc/functions.texi: Remove file, now redundant through + doc/functions/*.texi. + +2007-05-01 Bruno Haible + + * modules/argp (Depends-on): Add sleep. + +2007-05-01 Bruno Haible + + * modules/sleep-tests: New file. + * tests/test-sleep.c: New file. + + * modules/sleep: New file. + * lib/sleep.c: New file. + * m4/sleep.m4: New file. + * lib/unistd_.h (sleep): New declaration. + * m4/unistd_h.m4 (gl_UNISTD_H_DEFAULTS): Initialize GNULIB_SLEEP, + HAVE_SLEEP. + * modules/unistd (Makefile.am): Substitute GNULIB_SLEEP, HAVE_SLEEP. + * doc/functions/sleep.texi: Document the sleep module. + +2007-05-01 Bruno Haible + + * lib/sigprocmask.h: Remove file. + * lib/signal_.h: Incorporate the previous contents of sigprocmask.h. + * lib/sigprocmask.c: Include instead of sigprocmask.h. + * m4/signal_h.m4 (gl_SIGNAL_H_DEFAULTS): Substitute GNULIB_SIGPROCMASK, + HAVE_POSIX_SIGNALBLOCKING, HAVE_SIGSET_T. + * m4/signalblocking.m4 (gl_SIGNALBLOCKING): Require + gl_SIGNAL_H_DEFAULTS. Set HAVE_POSIX_SIGNALBLOCKING as a shell variable. + (gl_PREREQ_SIGPROCMASK): Require gl_SIGNAL_H_DEFAULTS. Set + HAVE_SIGSET_T as a shell variable. + * modules/signal (Makefile.am): Substitute GNULIB_SIGPROCMASK, + HAVE_POSIX_SIGNALBLOCKING, HAVE_SIGSET_T into signal.h. + * modules/sigprocmask (Files): Remove lib/sigprocmask.h. + (Depends-on): Add signal. Remove verify. + (configure.ac): Invoke gl_SIGNAL_MODULE_INDICATOR. + (Include): Mention instead of sigprocmask.h. + * NEWS: Mention the change. + * lib/fatal-signal.c: Don't include sigprocmask.h. + +2007-05-01 Bruno Haible + + * modules/signal: New file. + * lib/signal_.h: New file. + * m4/signal_h.m4: New file. + +2007-05-01 Bruno Haible + + * lib/wctype_.h: Test HAVE_ISWCNTRL at configure time. + * m4/wctype.m4 (gl_WCTYPE_H): Substitute HAVE_ISWCNTRL. + * modules/wctype (Makefile.am): Substitute HAVE_ISWCNTRL instead of + HAVE_WCTYPE_CTMP_BUG into wctype.h. + +2007-05-01 Bruno Haible + + * lib/sys_stat_.h: Test HAVE_LSTAT, HAVE_DECL_MKDIR, HAVE_IO_H at + configure time. + * m4/sys_stat_h.m4 (gl_HEADER_SYS_STAT_H): Substitute HAVE_LSTAT, + HAVE_DECL_MKDIR, HAVE_IO_H via AC_SUBST. + * modules/sys_stat (Makefile.am): Substitute their values into + sys/stat.h. + +2007-05-01 Bruno Haible + + * lib/glob_.h: Test HAVE_SYS_CDEFS_H at configure time. + * m4/glob.m4 (gl_PREREQ_GLOB): Substitute HAVE_SYS_CDEFS_H via AC_SUBST. + * modules/glob (Makefile.am): Put HAVE_SYS_CDEFS_H value into glob.h. + +2007-05-01 Bruno Haible + + * doc/header/assert.texi: Undo last change: don't mention the gnulib + 'assert' module here. + +2007-05-01 Bruno Haible + + * doc/functions/*.texi: New files. + * doc/functions/google-ranking.txt: New file. + * doc/gnulib.texi (Function Substitutes): New chapter. + (ctime, inet_ntoa): Remove sections. + * doc/ctime.texi: Remove file. + * doc/inet_ntoa.texi: Remove file. + * doc/Makefile (gnulib.info, gnulib.html, gnulib.dvi): Update + dependencies. + (%.info): New rule, specifying a --reference-limit. + +2007-05-01 Bruno Haible + + * MODULES.html.sh (posix_functions): Remove 'exec', 'toc'. + +2007-05-01 Bruno Haible + + * modules/mkdir (Depends-on): Add sys_stat, because sys_stat provides + the portability of 'mkdir' to mingw systems. + +2007-05-01 Bruno Haible + + * doc/headers/google-ranking.txt: New file. + +2007-04-30 Eric Blake + + Prefer fseeko to fseek. + * modules/getpass (Depends-on): Add fseeko. + * lib/getpass.c (getpass): Use fseeko, not fseek. + +2007-04-30 Sergey Poznyakoff + + * lib/argp-help.c (hol_entry_cmp): Option sorting algorithm + assumes the sorting is stable, while most qsort implementations + are not. Use argument addresses to ensure they never compare as + equal. + + * tests/test-argp-2.sh (usage-indent test): Fix output + (func_compare): Restore diff options + * tests/test-argp.c: Restore #include "progname.h" + +2007-04-29 Bruno Haible + + * m4/printf.m4 (gl_VSNPRINTF_ZEROSIZE_C99): New macro. + * m4/snprintf-posix.m4 (gl_FUNC_SNPRINTF_POSIX): Invoke + gl_VSNPRINTF_ZEROSIZE_C99. Test gl_cv_func_vsnprintf_zerosize_c99. + * m4/vsnprintf-posix.m4 (gl_FUNC_VSNPRINTF_POSIX): Likewise. + * modules/snprintf-posix-tests (Files): Add tests/test-snprintf.c. + (configure.ac): Define CHECK_SNPRINTF_POSIX. + (TESTS, check_PROGRAMS): Add test-snprintf. + * modules/vsnprintf-posix-tests (Files): Add tests/test-vsnprintf.c. + (configure.ac): Define CHECK_VSNPRINTF_POSIX. + (TESTS, check_PROGRAMS): Add test-vsnprintf. + * tests/test-snprintf.c (main) [!CHECK_SNPRINTF_POSIX]: Disable + assertions that fail on HP-UX, OSF/1, or IRIX. + * tests/test-vsnprintf.c (main) [!CHECK_VSNPRINTF_POSIX]: Likewise. + +2007-04-29 Bruno Haible + + * MODULES.html.sh (posix_functions): Remove 'contents'. + +2007-04-29 Karl Berry + + * config/srclist.txt (gendocs_template_min): new entry. + +2007-04-29 Bruno Haible + + Work around fpurge bug on BSD systems. + * modules/fpurge (Makefile.am): Compile fpurge.c unconditionally. + * m4/fpurge.m4 (gl_FUNC_FPURGE): Don't invoke AC_LIBOBJ. + * lib/fpurge.h (fpurge): Don't handle __fpurge wrapper here. Define + fpurge to rpl_fpurge if the system already has this function. + * lib/fpurge.c (fpurge): Handle also the __fpurge wrapper case and + the case where the system already has this function. Correct invariants + on BSD systems. + * lib/fseeko.c (rpl_fseeko): Update recognition of preceding fflush on + BSD systems. + +2007-04-29 Sergey Poznyakoff + + * lib/argp-help.c (hol_cluster_cmp): Reverse comparison. Change + proposed by Sven Verdoolaege. + + * tests/test-argp.c: Fix option ordering. Test deeply clustered + options. + * tests/test-argp-2.sh (func_compare): Use diff instead of cmp. + (usage and help tests): Update + +2007-04-29 Bruno Haible + + * tests/test-fflush.c (main): Use a file of size 17, not 10. + Print more information in case of failure. Disable a test on BeOS. + +2007-04-29 Bruno Haible + + * tests/**/test-*.[hc] (ASSERT): Use fprintf to show the line number. + This helps debugging on systems on which no gdb is available. + 2007-04-29 Bruno Haible * lib/freading.h: Improve comments.