X-Git-Url: http://erislabs.net/gitweb/?a=blobdiff_plain;f=ChangeLog;h=c6eee153e3c8fab17366a393ec4534aa52cd0621;hb=b9053ab39aefc89bb3df2ef28b27518aaaa13cc8;hp=041363331f6509c303a738b8c2427462ad75450f;hpb=4dd30a3ea2e00bbad5091af335962c4ebe4bfcfa;p=gnulib.git diff --git a/ChangeLog b/ChangeLog index 041363331..c6eee153e 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,755 @@ +2008-12-17 Bruno Haible + + * modules/btowc-tests: New file. + * tests/test-btowc1.sh: New file. + * tests/test-btowc2.sh: New file. + * tests/test-btowc.c: New file. + + New module 'btowc'. + * lib/wchar.in.h (btowc): New declaration. + * lib/btowc.c: New file. + * m4/btowc.m4: New file. + * modules/btowc: New file. + * m4/wchar.m4 (gl_WCHAR_H_DEFAULTS): Initialize GNULIB_BTOWC and + HAVE_BTOWC. + * modules/wchar (Makefile.am): Substitute GNULIB_BTOWC and HAVE_BTOWC. + * doc/posix-functions/btowc.texi: Document the new module. + +2008-12-17 Bruno Haible + + New module 'mbsinit'. + * lib/wchar.in.h (mbsinit): New declaration. + * lib/mbsinit.c: New file. + * m4/mbsinit.m4: New file. + * modules/mbsinit: New file. + * m4/wchar.m4 (gl_WCHAR_H_DEFAULTS): Initialize GNULIB_MBSINIT and + HAVE_MBSINIT. + * modules/wchar (Makefile.am): Substitute GNULIB_MBSINIT and + HAVE_MBSINIT. + * doc/posix-functions/mbsinit.texi: Document the new module. + +2008-12-16 Bruno Haible + + * lib/unistd.in.h: Add comment. + * tests/test-environ.c: Don't include . + +2008-12-16 Bruno Haible + + * lib/parse-duration.h (parse_duration): Document return value + convention. + * lib/parse-duration.c: Include specification header first. Add + comments. + (_): Remove macro. + (parse_year_month_day, parse_hour_minute_second): Move side effects + outside of strchr call. + (parse_non_iso8601): Move side effects outside of isspace call. + (parse_duration): Don't test errno is res != BAD_TIME. Remove fprintf + call. + +2008-12-16 Bruno Haible + + * tests/test-parse-duration.sh: Produce no output when the test + succeeds. + +2008-12-16 Bruno Haible + + * tests/test-parse-duration.sh: Fix quoting of $tmp and $tmpf + expressions. + +2008-12-15 Bruno Haible + + * doc/glibc-functions/fgetxattr.texi: Tweak wording. + * doc/glibc-functions/flistxattr.texi: Likewise. + * doc/glibc-functions/fopencookie.texi: Likewise. + * doc/glibc-functions/fremovexattr.texi: Likewise. + * doc/glibc-functions/fsetxattr.texi: Likewise. + * doc/glibc-functions/getxattr.texi: Likewise. + * doc/glibc-functions/lgetxattr.texi: Likewise. + * doc/glibc-functions/listxattr.texi: Likewise. + * doc/glibc-functions/llistxattr.texi: Likewise. + * doc/glibc-functions/lremovexattr.texi: Likewise. + * doc/glibc-functions/lsetxattr.texi: Likewise. + * doc/glibc-functions/removexattr.texi: Likewise. + * doc/glibc-functions/setxattr.texi: Likewise. + * doc/posix-functions/open_memstream.texi: Likewise. + +2008-12-15 Eric Blake + + Update doc for cygwin 1.7. + * doc/posix-functions/faccessat.texi: Cygwin 1.7 added several new + functions. + * doc/posix-functions/fchmodat.texi: Likewise. + * doc/posix-functions/fchownat.texi: Likewise. + * doc/posix-functions/fdopendir.texi: Likewise. + * doc/posix-functions/fmemopen.texi: Likewise. + * doc/posix-functions/freeaddrinfo.texi: Likewise. + * doc/posix-functions/fstatat.texi: Likewise. + * doc/posix-functions/futimens.texi: Likewise. + * doc/posix-functions/gai_strerror.texi: Likewise. + * doc/posix-functions/getaddrinfo.texi: Likewise. + * doc/posix-functions/getnameinfo.texi: Likewise. + * doc/posix-functions/if_freenameindex.texi: Likewise. + * doc/posix-functions/if_indextoname.texi: Likewise. + * doc/posix-functions/if_nameindex.texi: Likewise. + * doc/posix-functions/if_nametoindex.texi: Likewise. + * doc/posix-functions/insque.texi: Likewise. + * doc/posix-functions/linkat.texi: Likewise. + * doc/posix-functions/llrint.texi: Likewise. + * doc/posix-functions/llrintf.texi: Likewise. + * doc/posix-functions/llrintl.texi: Likewise. + * doc/posix-functions/lockf.texi: Likewise. + * doc/posix-functions/lrintl.texi: Likewise. + * doc/posix-functions/mkdirat.texi: Likewise. + * doc/posix-functions/mkfifoat.texi: Likewise. + * doc/posix-functions/mknodat.texi: Likewise. + * doc/posix-functions/mq_close.texi: Likewise. + * doc/posix-functions/mq_getattr.texi: Likewise. + * doc/posix-functions/mq_notify.texi: Likewise. + * doc/posix-functions/mq_open.texi: Likewise. + * doc/posix-functions/mq_receive.texi: Likewise. + * doc/posix-functions/mq_send.texi: Likewise. + * doc/posix-functions/mq_setattr.texi: Likewise. + * doc/posix-functions/mq_timedreceive.texi: Likewise. + * doc/posix-functions/mq_timedsend.texi: Likewise. + * doc/posix-functions/mq_unlink.texi: Likewise. + * doc/posix-functions/open_memstream.texi: Likewise. + * doc/posix-functions/openat.texi: Likewise. + * doc/posix-functions/posix_fadvise.texi: Likewise. + * doc/posix-functions/posix_fallocate.texi: Likewise. + * doc/posix-functions/posix_madvise.texi: Likewise. + * doc/posix-functions/posix_memalign.texi: Likewise. + * doc/posix-functions/posix_openpt.texi: Likewise. + * doc/posix-functions/readlinkat.texi: Likewise. + * doc/posix-functions/remque.texi: Likewise. + * doc/posix-functions/renameat.texi: Likewise. + * doc/posix-functions/rintl.texi: Likewise. + * doc/posix-functions/sem_unlink.texi: Likewise. + * doc/posix-functions/shm_open.texi: Likewise. + * doc/posix-functions/shm_unlink.texi: Likewise. + * doc/posix-functions/signgam.texi: Likewise. + * doc/posix-functions/sigset.texi: Likewise. + * doc/posix-functions/stpcpy.texi: Likewise. + * doc/posix-functions/stpncpy.texi: Likewise. + * doc/posix-functions/strerror.texi: Likewise. + * doc/posix-functions/strtod.texi: Likewise. + * doc/posix-functions/symlinkat.texi: Likewise. + * doc/posix-functions/unlinkat.texi: Likewise. + * doc/posix-functions/utimensat.texi: Likewise. + * doc/glibc-functions/bindresvport.texi: Likewise. + * doc/glibc-functions/dn_expand.texi: Likewise. + * doc/glibc-functions/exp10.texi: Likewise. + * doc/glibc-functions/exp10f.texi: Likewise. + * doc/glibc-functions/fgetxattr.texi: Likewise. + * doc/glibc-functions/flistxattr.texi: Likewise. + * doc/glibc-functions/fopencookie.texi: Likewise. + * doc/glibc-functions/freeifaddrs.texi: Likewise. + * doc/glibc-functions/fremovexattr.texi: Likewise. + * doc/glibc-functions/fsetxattr.texi: Likewise. + * doc/glibc-functions/getifaddrs.texi: Likewise. + * doc/glibc-functions/getxattr.texi: Likewise. + * doc/glibc-functions/lgetxattr.texi: Likewise. + * doc/glibc-functions/listxattr.texi: Likewise. + * doc/glibc-functions/llistxattr.texi: Likewise. + * doc/glibc-functions/lremovexattr.texi: Likewise. + * doc/glibc-functions/lsetxattr.texi: Likewise. + * doc/glibc-functions/pow10.texi: Likewise. + * doc/glibc-functions/pow10f.texi: Likewise. + * doc/glibc-functions/rcmd_af.texi: Likewise. + * doc/glibc-functions/removexattr.texi: Likewise. + * doc/glibc-functions/res_init.texi: Likewise. + * doc/glibc-functions/res_mkquery.texi: Likewise. + * doc/glibc-functions/res_query.texi: Likewise. + * doc/glibc-functions/res_querydomain.texi: Likewise. + * doc/glibc-functions/res_send.texi: Likewise. + * doc/glibc-functions/rresvport_af.texi: Likewise. + * doc/glibc-functions/setxattr.texi: Likewise. + * doc/glibc-functions/strcasestr.texi: Likewise. + +2008-12-15 Bruno Haible + + Fix compilation error on OSF/1 4.0. + * lib/sys_select.in.h: When invoked from OSF/1 or + , simply delegate to the system header. + Reported by Daniel Richard G. . + +2008-12-15 Bruno Haible + + * doc/posix-functions/openat.texi: Mention the 'openat' module. + * doc/posix-functions/fchmodat.texi: Likewise. + * doc/posix-functions/fchownat.texi: Likewise. + * doc/posix-functions/fdopendir.texi: Likewise. + * doc/posix-functions/fstatat.texi: Likewise. + * doc/posix-functions/mkdirat.texi: Likewise. + * doc/posix-functions/unlinkat.texi: Likewise. + +2008-12-14 Bruno Haible + + Update doc for POSIX:2008. + * doc/posix-functions/faccessat.texi: New file. + * doc/posix-functions/fchmodat.texi: New file. + * doc/posix-functions/fchownat.texi: New file. + * doc/posix-functions/fdopendir.texi: New file. + * doc/posix-functions/fstatat.texi: New file. + * doc/posix-functions/futimens.texi: New file. + * doc/posix-functions/linkat.texi: New file. + * doc/posix-functions/mkdirat.texi: New file. + * doc/posix-functions/mkfifoat.texi: New file. + * doc/posix-functions/mknodat.texi: New file. + * doc/posix-functions/open_wmemstream.texi: New file. + * doc/posix-functions/openat.texi: New file. + * doc/posix-functions/psiginfo.texi: New file. + * doc/posix-functions/pthread_mutex_consistent.texi: New file. + * doc/posix-functions/pthread_mutexattr_getrobust.texi: New file. + * doc/posix-functions/pthread_mutexattr_setrobust.texi: New file. + * doc/posix-functions/readlinkat.texi: New file. + * doc/posix-functions/renameat.texi: New file. + * doc/posix-functions/strerror_l.texi: New file. + * doc/posix-functions/symlinkat.texi: New file. + * doc/posix-functions/unlinkat.texi: New file. + * doc/posix-functions/utimensat.texi: New file. + * doc/gnulib.texi (Function Substitutes): Add these subsections. + +2008-12-14 Bruno Haible + + Update doc for POSIX:2008. + * doc/posix-functions/alphasort.texi: Renamed from + doc/glibc-functions/alphasort.texi. + * doc/posix-functions/dirfd.texi: Renamed from + doc/glibc-functions/dirfd.texi. + * doc/posix-functions/dprintf.texi: Renamed from + doc/glibc-functions/dprintf.texi. + * doc/posix-functions/duplocale.texi: Renamed from + doc/glibc-functions/duplocale.texi. + * doc/posix-functions/fexecve.texi: Renamed from + doc/glibc-functions/fexecve.texi. + * doc/posix-functions/fmemopen.texi: Renamed from + doc/glibc-functions/fmemopen.texi. + * doc/posix-functions/freelocale.texi: Renamed from + doc/glibc-functions/freelocale.texi. + * doc/posix-functions/getdate_err.texi: Renamed from + doc/glibc-functions/getdate_err.texi. + * doc/posix-functions/isalnum_l.texi: Renamed from + doc/glibc-functions/isalnum_l.texi. + * doc/posix-functions/isalpha_l.texi: Renamed from + doc/glibc-functions/isalpha_l.texi. + * doc/posix-functions/isblank_l.texi: Renamed from + doc/glibc-functions/isblank_l.texi. + * doc/posix-functions/iscntrl_l.texi: Renamed from + doc/glibc-functions/iscntrl_l.texi. + * doc/posix-functions/isdigit_l.texi: Renamed from + doc/glibc-functions/isdigit_l.texi. + * doc/posix-functions/isgraph_l.texi: Renamed from + doc/glibc-functions/isgraph_l.texi. + * doc/posix-functions/islower_l.texi: Renamed from + doc/glibc-functions/islower_l.texi. + * doc/posix-functions/isprint_l.texi: Renamed from + doc/glibc-functions/isprint_l.texi. + * doc/posix-functions/ispunct_l.texi: Renamed from + doc/glibc-functions/ispunct_l.texi. + * doc/posix-functions/isspace_l.texi: Renamed from + doc/glibc-functions/isspace_l.texi. + * doc/posix-functions/isupper_l.texi: Renamed from + doc/glibc-functions/isupper_l.texi. + * doc/posix-functions/iswalnum_l.texi: Renamed from + doc/glibc-functions/iswalnum_l.texi. + * doc/posix-functions/iswalpha_l.texi: Renamed from + doc/glibc-functions/iswalpha_l.texi. + * doc/posix-functions/iswblank_l.texi: Renamed from + doc/glibc-functions/iswblank_l.texi. + * doc/posix-functions/iswcntrl_l.texi: Renamed from + doc/glibc-functions/iswcntrl_l.texi. + * doc/posix-functions/iswctype_l.texi: Renamed from + doc/glibc-functions/iswctype_l.texi. + * doc/posix-functions/iswdigit_l.texi: Renamed from + doc/glibc-functions/iswdigit_l.texi. + * doc/posix-functions/iswgraph_l.texi: Renamed from + doc/glibc-functions/iswgraph_l.texi. + * doc/posix-functions/iswlower_l.texi: Renamed from + doc/glibc-functions/iswlower_l.texi. + * doc/posix-functions/iswprint_l.texi: Renamed from + doc/glibc-functions/iswprint_l.texi. + * doc/posix-functions/iswpunct_l.texi: Renamed from + doc/glibc-functions/iswpunct_l.texi. + * doc/posix-functions/iswspace_l.texi: Renamed from + doc/glibc-functions/iswspace_l.texi. + * doc/posix-functions/iswupper_l.texi: Renamed from + doc/glibc-functions/iswupper_l.texi. + * doc/posix-functions/iswxdigit_l.texi: Renamed from + doc/glibc-functions/iswxdigit_l.texi. + * doc/posix-functions/isxdigit_l.texi: Renamed from + doc/glibc-functions/isxdigit_l.texi. + * doc/posix-functions/mbsnrtowcs.texi: Renamed from + doc/glibc-functions/mbsnrtowcs.texi. + * doc/posix-functions/mkdtemp.texi: Renamed from + doc/glibc-functions/mkdtemp.texi. + * doc/posix-functions/newlocale.texi: Renamed from + doc/glibc-functions/newlocale.texi. + * doc/posix-functions/nl_langinfo_l.texi: Renamed from + doc/glibc-functions/nl_langinfo_l.texi. + * doc/posix-functions/open_memstream.texi: Renamed from + doc/glibc-functions/open_memstream.texi. + * doc/posix-functions/opterr.texi: Renamed from + doc/glibc-functions/opterr.texi. + * doc/posix-functions/optind.texi: Renamed from + doc/glibc-functions/optind.texi. + * doc/posix-functions/optopt.texi: Renamed from + doc/glibc-functions/optopt.texi. + * doc/posix-functions/psignal.texi: Renamed from + doc/glibc-functions/psignal.texi. + * doc/posix-functions/scandir.texi: Renamed from + doc/glibc-functions/scandir.texi. + * doc/posix-functions/sched_get_priority_min.texi: Renamed from + doc/glibc-functions/sched_get_priority_min.texi. + * doc/posix-functions/signgam.texi: Renamed from + doc/glibc-functions/signgam.texi. + * doc/posix-functions/stpcpy.texi: Renamed from + doc/glibc-functions/stpcpy.texi. + * doc/posix-functions/stpncpy.texi: Renamed from + doc/glibc-functions/stpncpy.texi. + * doc/posix-functions/strcasecmp_l.texi: Renamed from + doc/glibc-functions/strcasecmp_l.texi. + * doc/posix-functions/strcoll_l.texi: Renamed from + doc/glibc-functions/strcoll_l.texi. + * doc/posix-functions/strfmon_l.texi: Renamed from + doc/glibc-functions/strfmon_l.texi. + * doc/posix-functions/strftime_l.texi: Renamed from + doc/glibc-functions/strftime_l.texi. + * doc/posix-functions/strncasecmp_l.texi: Renamed from + doc/glibc-functions/strncasecmp_l.texi. + * doc/posix-functions/strndup.texi: Renamed from + doc/glibc-functions/strndup.texi. + * doc/posix-functions/strnlen.texi: Renamed from + doc/glibc-functions/strnlen.texi. + * doc/posix-functions/strsignal.texi: Renamed from + doc/glibc-functions/strsignal.texi. + * doc/posix-functions/strxfrm_l.texi: Renamed from + doc/glibc-functions/strxfrm_l.texi. + * doc/posix-functions/timer_gettime.texi: Renamed from + doc/glibc-functions/timer_gettime.texi. + * doc/posix-functions/tolower_l.texi: Renamed from + doc/glibc-functions/tolower_l.texi. + * doc/posix-functions/toupper_l.texi: Renamed from + doc/glibc-functions/toupper_l.texi. + * doc/posix-functions/towctrans_l.texi: Renamed from + doc/glibc-functions/towctrans_l.texi. + * doc/posix-functions/towlower_l.texi: Renamed from + doc/glibc-functions/towlower_l.texi. + * doc/posix-functions/towupper_l.texi: Renamed from + doc/glibc-functions/towupper_l.texi. + * doc/posix-functions/uselocale.texi: Renamed from + doc/glibc-functions/uselocale.texi. + * doc/posix-functions/vdprintf.texi: Renamed from + doc/glibc-functions/vdprintf.texi. + * doc/posix-functions/wcpcpy.texi: + Renamed from doc/glibc-functions/wcpcpy.texi. + * doc/posix-functions/wcpncpy.texi: Renamed from + doc/glibc-functions/wcpncpy.texi. + * doc/posix-functions/wcscasecmp.texi: Renamed from + doc/glibc-functions/wcscasecmp.texi. + * doc/posix-functions/wcscasecmp_l.texi: Renamed from + doc/glibc-functions/wcscasecmp_l.texi. + * doc/posix-functions/wcscoll_l.texi: Renamed from + doc/glibc-functions/wcscoll_l.texi. + * doc/posix-functions/wcsdup.texi: Renamed from + doc/glibc-functions/wcsdup.texi. + * doc/posix-functions/wcsncasecmp.texi: Renamed from + doc/glibc-functions/wcsncasecmp.texi. + * doc/posix-functions/wcsncasecmp_l.texi: Renamed from + doc/glibc-functions/wcsncasecmp_l.texi. + * doc/posix-functions/wcsnlen.texi: Renamed from + doc/glibc-functions/wcsnlen.texi. + * doc/posix-functions/wcsnrtombs.texi: Renamed from + doc/glibc-functions/wcsnrtombs.texi. + * doc/posix-functions/wcsxfrm_l.texi: Renamed from + doc/glibc-functions/wcsxfrm_l.texi. + * doc/posix-functions/wctrans_l.texi: Renamed from + doc/glibc-functions/wctrans_l.texi. + * doc/posix-functions/wctype_l.texi: Renamed from + doc/glibc-functions/wctype_l.texi. + * doc/gnulib.texi (Function Substitutes): Add these subsections. + (Glibc ctype.h, Glibc dirent.h, Glibc getopt.h, Glibc math.h, + Glibc sched.h, Glibc signal.h, Glibc stdio.h, Glibc stdlib.h, + Glibc string.h, Glibc time.h, Glibc unistd.h, Glibc wchar.h): Remove + these subsections. + (Glibc langinfo.h, Glibc locale.h, Glibc monetary.h, Glibc wctype.h): + Remove sections. + +2008-12-14 Bruno Haible + + Update doc for POSIX:2008. + * doc/posix-functions/*.texi: Update URL of POSIX specification. + +2008-12-14 Bruno Haible + + Update doc for POSIX:2008. + * doc/pastposix-functions/bcmp.texi: Renamed from + doc/posix-functions/bcmp.texi. + * doc/pastposix-functions/bcopy.texi: Renamed from + doc/posix-functions/bcopy.texi. + * doc/pastposix-functions/bsd_signal.texi: Renamed from + doc/posix-functions/bsd_signal.texi. + * doc/pastposix-functions/bzero.texi: Renamed from + doc/posix-functions/bzero.texi. + * doc/pastposix-functions/ecvt.texi: Renamed from + doc/posix-functions/ecvt.texi. + * doc/pastposix-functions/fcvt.texi: Renamed from + doc/posix-functions/fcvt.texi. + * doc/pastposix-functions/ftime.texi: Renamed from + doc/posix-functions/ftime.texi. + * doc/pastposix-functions/gcvt.texi: Renamed from + doc/posix-functions/gcvt.texi. + * doc/pastposix-functions/getcontext.texi: Renamed from + doc/posix-functions/getcontext.texi. + * doc/pastposix-functions/gethostbyaddr.texi: Renamed from + doc/posix-functions/gethostbyaddr.texi. + * doc/pastposix-functions/gethostbyname.texi: Renamed from + doc/posix-functions/gethostbyname.texi. + * doc/pastposix-functions/getwd.texi: Renamed from + doc/posix-functions/getwd.texi. + * doc/pastposix-functions/h_errno.texi: Renamed from + doc/posix-functions/h_errno.texi. + * doc/pastposix-functions/index.texi: Renamed from + doc/posix-functions/index.texi. + * doc/pastposix-functions/makecontext.texi: Renamed from + doc/posix-functions/makecontext.texi. + * doc/pastposix-functions/mktemp.texi: Renamed from + doc/posix-functions/mktemp.texi. + * doc/pastposix-functions/pthread_attr_getstackaddr.texi: Renamed from + doc/posix-functions/pthread_attr_getstackaddr.texi. + * doc/pastposix-functions/pthread_attr_setstackaddr.texi: Renamed from + doc/posix-functions/pthread_attr_setstackaddr.texi. + * doc/pastposix-functions/rindex.texi: Renamed from + doc/posix-functions/rindex.texi. + * doc/pastposix-functions/scalb.texi: Renamed from + doc/posix-functions/scalb.texi. + * doc/pastposix-functions/setcontext.texi: Renamed from + doc/posix-functions/setcontext.texi. + * doc/pastposix-functions/swapcontext.texi: Renamed from + doc/posix-functions/swapcontext.texi. + * doc/pastposix-functions/ualarm.texi: Renamed from + doc/posix-functions/ualarm.texi. + * doc/pastposix-functions/usleep.texi: Renamed from + doc/posix-functions/usleep.texi. + * doc/pastposix-functions/vfork.texi: Renamed from + doc/posix-functions/vfork.texi. + * doc/pastposix-functions/wcswcs.texi: Renamed from + doc/posix-functions/wcswcs.texi. + * doc/gnulib.texi (Legacy Function Substitutes): New chapter. + (Function Substitutes): Update. + +2008-12-14 Ralf Wildenhues + + * modules/relocatable-prog-wrapper (Depends-on): Add errno, needed by + m4/strerror.m4. + +2008-12-14 Ralf Wildenhues + Bruno Haible + + * modules/unilbrk/tables (Depends-on): Add unilbrk/base. + +2008-12-13 Bruno Haible + + * modules/strtoull (Depends-on): Remove unistd. + +2008-12-11 Ralf Wildenhues + + * modules/strtoull (Depends-on): Add stdlib. + +2008-12-11 Simon Josefsson + + * m4/manywarnings.m4 (gl_MANYWARN_ALL_GCC): Add more warnings. + +2008-12-10 Jim Meyering + + gl_ASSERT: don't say assertions are disabled when they're not + * m4/assert.m4 (gl_ASSERT): Do not make configure report + "checking whether to enable assertions... no", when they are in + fact enabled. This is solely a bug in the output of configure. + In spite of saying "no", NDEBUG was not defined in that case. + Also, as noted by Eric Blake, leave assertions enabled upon + --enable-assert=INVALID. + +2008-12-10 Bruno Haible + + Change MODULES.html to refer to POSIX:2008 where possible. + * MODULES.html.sh (POSIX2008_URL): New variable. + (posix_headers): Remove sys/timeb, ucontext. + (posix2001_headers): New variable. + (posix_functions): Remove bcmp, bcopy, bsd_signal, bzero, ecvt, fcvt, + ftime, gcvt, getcontext, gethostbyaddr, gethostbyname, getwd, h_errno, + index, makecontext, mktemp, pthread_attr_getstackaddr, + pthread_attr_setstackaddr, rindex, scalb, setcontext, swapcontext, + ualarm, usleep, vfork, wcswcs. Add the new POSIX:2008 functions. + (posix2001_functions): New variable. + (func_module): Use URLs to POSIX:2008 where possible and to POSIX:2001 + otherwise. + +2008-12-09 Ralf Wildenhues + + add missing include to parse-duration.c + * lib/parse-duration.c: #include "xalloc.h", for xstrdup. + * modules/parse-duration (Depends-on): Add xalloc. + + fix sed script reading maint.mk + * top/maint.mk (MYSELF): New macro, define as $(srcdir)/$(ME). + (syntax-check-rules): Use it. + +2008-12-09 Bruno Haible + + * m4/ldexpl.m4 (gl_FUNC_LDEXPL_WORKS): Add another check, that fails on + MacOS X 10.4/PowerPC. + Reported by Simon Josefsson. + +2008-12-08 Jim Meyering + + work around mingw's lack of some S_IF definitions + * lib/fts.c (S_IFLNK, S_IFSOCK): Define if not already defined. + Reported by Simon Josefsson. + +2008-12-08 Bruno Haible + + * m4/signbitl.m4 (gl_SIGNBIT_TEST_PROGRAM): Add a link check of signbit + applied to variables. Needed on MacOS X 10.4/PowerPC. + Reported by Simon Josefsson. + +2008-12-08 William Pursell (tiny change) + and Eric Blake + + assert: honor --enable-assert + * m4/assert.m4 (gl_ASSERT): Synchronize with autoconf 2.64, in + order to honor --enable-assert, rather than treating it as a + synonym for --disable-assert. + +2008-12-08 Jim Meyering + + * lib/posixtm.c: Remove now-useless declaration of mktime. + + * build-aux/announce-gen (get_tool_versions): Accept .xz tarballs. + +2008-12-07 Bruno Haible + + * tests/test-lock.c (test_lock, test_rwlock, test_recursive_lock, + test_once): Mark functions as static. + * tests/test-tls.c (test_tls): Likewise. + +2008-12-07 Bruno Haible + + * lib/striconveha.h (uniconv_register_autodetect): Renamed from + iconv_register_autodetect. + +2008-12-07 Jim Meyering + + posixtm.c: avoid a warning + * lib/posixtm.c (posixtime): Don't initialize tm0. + It's no longer needed to placate gcc4's -Wuninitialized, + and the attempt to placate would elicit a new warning. + + unicodeio.c: mark unused parameters + * lib/unicodeio.c (exit_failure_callback): Mark unused parameter. + (fallback_failure_callback): Likewise. + +2008-12-07 Bruno Haible + + * gnulib-tool (func_create_testdir): When building the tests + subdirectory, ignore the modules gnumakefile and maintainer-makefile. + Reported by Simon Josefsson. + +2008-12-07 Ralf Wildenhues + + * doc/manywarnings.texi, doc/gnulib-intro.texi: Fix typos. + +2008-12-06 Bruno Haible + + * lib/c-stack.h (c_stack_action): Clarify possible side effects. + Suggested by Eric Blake. + +2008-12-06 Bruno Haible + + Fix a c-stack test failure on MacOS X. + * m4/c-stack.m4 (AC_SYS_XSI_STACK_OVERFLOW_HEURISTIC): Require + AC_CANONICAL_HOST. Define FAULT_YIELDS_SIGBUS. If set, install a signal + handler for SIGBUS as well. + * lib/c-stack.c (c_stack_action): If FAULT_YIELDS_SIGBUS is set, + install a signal handler for SIGBUS as well. + Reported by Bruce Dugan via Eric Blake. + +2008-12-06 Bruno Haible + + Advocacy documentation. + * doc/gnulib-intro.texi (Benefits): New section. + * doc/gnulib.texi: Update. + +2008-12-06 Bruno Haible + + Document the 'manywarnings' module. + * doc/manywarnings.texi: New file. + * doc/gnulib.texi: Include it. + +2008-12-05 Eric Blake + + tests: silence some gcc warnings + * tests/test-getdate.c (LOG) [!DEBUG]: Mark no-op void. + * tests/uniwidth/test-uc_width2.c (finish_interval): Avoid printf + type mismatches. + +2008-12-03 Ralf Wildenhues + Bruno Haible + + * m4/openmp.m4 (AC_OPENMP): Do not define with Autoconf 2.62 or newer. + +2008-11-29 Jim Meyering + + unicodeio.c: mark unused parameters + * lib/unicodeio.c (exit_failure_callback): Mark unused parameter. + (fallback_failure_callback): Likewise. + + fts: fix a thinko + * lib/fts.c (s_ifmt_shift_bits): Remove function. Not needed after all. + (set_stat_type): Return S_IF*-valued "type" directly. + Prompted by James Youngman's spotting a related bug. + Confirmed by further testing through find. + + fts: provide dirent.d_type via FTSENT.fts_statp, when possible + * lib/fts.c (D_TYPE): Define. + (DT_UNKNOWN, DT_BLK, DT_CHR) [HAVE_STRUCT_DIRENT_D_TYPE]: Define. + (DT_DIR, DT_FIFO, DT_LNK, DT_REG, DT_SOCK): Likewise. + (s_ifmt_shift_bits): New function. + (set_stat_type): New function. + (fts_build): When not calling fts_stat, call set_stat_type + to propagate dirent.d_type info to fts_read caller. + * lib/fts_.h (FTSENT) [FTS_DEFER_STAT]: Mention that + fts_statp->st_mode type information may be valid. + +2008-11-28 Simon Josefsson + + * lib/sys_time.in.h: Add extern "C" block for C++. Suggested by + Brian Dessent . Reported by Sam Steingold + . + +2008-11-20 Bruno Haible + + Attempt to work around an AIX 5.3, 6.1 compiler bug with include_next. + * lib/math.in.h: Use INCLUDE_NEXT_AS_FIRST_DIRECTIVE instead of + INCLUDE_NEXT. + * m4/include_next.m4 (gl_INCLUDE_NEXT): Set also + INCLUDE_NEXT_AS_FIRST_DIRECTIVE. + * modules/math (Makefile.am): Substitute + INCLUDE_NEXT_AS_FIRST_DIRECTIVE instead of INCLUDE_NEXT. + Reported by Albert Chin . + +2008-11-18 Alexandre Duret-Lutz + Bruno Haible + + * lib/stdint.in.h: Define all type macros so that their expansion is + a single typedef'ed token. Fixes a compilation failure in Boost which + does "using ::int8_t;". + +2008-11-18 Simon Josefsson + + * m4/manywarnings.m4: New file with gl_MANYWARN_COMPLEMENT and + gl_MANYWARN_ALL_GCC. + * m4/warnings.m4: Removed gl_WARN_SUPPORTED and + gl_WARN_COMPLEMENT. Suggested by Bruno Haible . + * modules/manywarnings: New file. + * MODULES.html.sh: Mention manywarnings module. + +2008-11-18 Bruno Haible + + * doc/gnulib-tool.texi (Unit tests): New section. + +2008-11-18 Simon Josefsson + + * top/maint.mk (refresh-po): Fix sed regexp to avoid problems with + paths like 'lib/po/foo.po'. + +2008-11-17 Simon Josefsson + + * m4/warnings.m4: Improve code. Reported by Ralf Wildenhues + and Paolo Bonzini . + +2008-11-17 Simon Josefsson + + * m4/warnings.m4: Use CPPFLAGS to really check whether the + parameter works. + +2008-11-17 Simon Josefsson + + * m4/warnings.m4: Add gl_WARN_COMPLEMENT and gl_WARN_SUPPORTED. + +2008-11-17 Bruce Korb + + * modules/parse-duration-tests: New file. + * tests/test-parse-duration.sh: New file. + * tests/test-parse-duration.c: New file. + + New module 'parse-duration'. + * lib/parse-duration.h: New file. + * lib/parse-duration.c: New file. + * modules/parse-duration: New file. + +2008-11-17 Bruno Haible + + * tests/test-select-out.sh: Comment out the first pipe test. + Reported by Simon Josefsson. + +2008-11-17 Bruno Haible + + * modules/getaddrinfo (Depends-on): Add servent, hostent. + * m4/getaddrinfo.m4 (gl_PREREQ_GETADDRINFO): Use gl_SERVENT and + gl_HOSTENT. + +2008-11-17 Bruno Haible + + * m4/sockets.m4 (gl_SOCKETS): After trying -lsocket, try also + -lnetwork and -lnet. Needed for Haiku and BeOS. + +2008-11-16 Bruno Haible + + * m4/getaddrinfo.m4 (gl_GETADDRINFO): Fix indentation. + +2008-11-16 Bruno Haible + + Avoid test failure on Haiku. + * tests/test-fsync.c: Include . + (main): Don't require that fsync (0) fails. + 2008-11-15 Bruno Haible + New module 'hostent'. + * modules/hostent: New file. + * m4/hostent.m4: New file, based on code in m4/getaddrinfo.m4. + +2008-11-15 Bruno Haible + + New module 'servent'. + * modules/servent: New file. + * m4/servent.m4: New file, based on code in m4/getaddrinfo.m4. + +2008-11-15 Bruno Haible + + Avoid generating same test program with two different rules. + * modules/frexp-nolibm-tests (Makefile.am): Rename test program from + test-frexp to test-frexp-nolibm. + * modules/frexpl-nolibm-tests (Makefile.am): Rename test program from + test-frexpl to test-frexpl-nolibm. + +2008-11-15 Bruno Haible + + * modules/frexpl-tests (Makefile.am): Link test-frexpl with + $(FREXPL_LIBM). + +2008-11-15 Bruno Haible + + * lib/netdb.in.h: Activate the definitions also when the system's + has 'struct addrinfo'. + * m4/netdb_h.m4 (gl_HEADER_NETDB): Replace netdb.h also when it lacks + EAI_OVERFLOW or AI_NUMERICSERV. + * doc/posix-headers/netdb.texi: Document the problem. + +2008-11-15 Bruno Haible + + * tests/test-sched.c: Test also the existence of the SCHED_* macros. + Make the 'sched' module work on platforms where exists but is incomplete (such as Haiku). * lib/sched.in.h; Include the system's if it exists.