X-Git-Url: http://erislabs.net/gitweb/?a=blobdiff_plain;f=ChangeLog;h=d62f2daeda7e61da6f32109a382b339323cd5b11;hb=478b8e3ee921a64ab6b7653157279201f5dd78f0;hp=36443a30715e71696adb87897730b956ef39b834;hpb=219c504b3178a07389eef1cd411bde3864f3f54c;p=gnulib.git diff --git a/ChangeLog b/ChangeLog index 36443a307..d62f2daed 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,193 @@ +2010-04-04 Hauke Fath (tiny change) + Bruno Haible + + Port extended stdio to NetBSD 1.5. + * lib/stdio-impl.h [NetBSD]: Include . + (struct __sfileext, fp_ub): Define the "old way" for NetBSD 1.5Z and + older. + +2010-04-04 Bruno Haible + + string: Remove unused substitution. + * m4/string_h.m4 (gl_HEADER_STRING_H_DEFAULTS): Don't initialize + HAVE_DECL_STRERROR. + * modules/string (Makefile.am): Don't substitute HAVE_DECL_STRERROR. + +2010-04-04 Bruno Haible + + strtod: Avoid a possible C++ test error. + * m4/strtod.m4 (gl_FUNC_STRTOD): When setting HAVE_STRTOD to 0, don't + set REPLACE_STRTOD. + +2010-04-04 Bruno Haible + + strerror: Update documentation. + * doc/posix-functions/strerror.texi: Remove mention of old platforms. + +2010-04-04 Bruno Haible + + stdio: Fix some C++ test errors on Solaris 8 with GCC. + * lib/stdio.in.h (vdprintf, vfprintf, vprintf, vsprintf): Use + _GL_CXXALIAS_SYS_CAST. + +2010-04-04 Bruno Haible + + frexpl: Fix a C++ test error on Solaris 8 and Cygwin. + * m4/frexpl.m4 (gl_FUNC_FREXPL, gl_FUNC_FREXPL_NO_LIBM): When the + function is not declared, set HAVE_DECL_FREXPL to 0, instead of setting + REPLACE_FREXPL to 1. + * doc/posix-functions/frexpl.texi: Update documentation. + +2010-04-04 Bruno Haible + + math: Fix some C++ test errors on Solaris 8 and Cygwin. + * lib/math.in.h (cosl, logl, sinl): Use simpler idiom. + +2010-04-04 Bruno Haible + + Implement nanosleep for native Windows. + * lib/nanosleep.c (nanosleep): New implementation for native Windows. + +2010-04-04 Bruno Haible + + math: Fix some C++ test errors on Solaris 8. + * lib/math.in.h (truncf, trunc): Use simpler idiom. + +2010-04-04 Bruno Haible + + math: Fix some C++ test errors on Cygwin. + * lib/math.in.h (ceilf, ceill, floorf, floorl, roundf, round, roundl, + truncl): Provide declaration if the system does not have it. + * m4/ceilf.m4 (gl_FUNC_CEILF): If the function is not declared, set + HAVE_DECL_CEILF to 0, not REPLACE_CEILF to 1. + * m4/ceill.m4 (gl_FUNC_CEILL): If the function is not declared, set + HAVE_DECL_CEILL to 0, not REPLACE_CEILL to 1. + * m4/floorf.m4 (gl_FUNC_FLOORF): If the function is not declared, set + HAVE_DECL_FLOORF to 0, not REPLACE_FLOORF to 1. + * m4/floorl.m4 (gl_FUNC_FLOORL): If the function is not declared, set + HAVE_DECL_FLOORL to 0, not REPLACE_FLOORL to 1. + * m4/round.m4 (gl_FUNC_ROUND): If the function is not declared, set + HAVE_DECL_ROUND to 0, not REPLACE_ROUND to 1. + * m4/roundf.m4 (gl_FUNC_ROUNDF): If the function is not declared, set + HAVE_DECL_ROUNDF to 0, not REPLACE_ROUNDF to 1. + * m4/roundl.m4 (gl_FUNC_ROUNDL): If the function is not declared, set + HAVE_DECL_ROUNDL to 0, not REPLACE_ROUNDL to 1. + * m4/truncl.m4 (gl_FUNC_TRUNCL): If the function is not declared, set + HAVE_DECL_TRUNCL to 0, not REPLACE_TRUNCL to 1. + * m4/math_h.m4 (gl_MATH_H_DEFAULTS): Initialize HAVE_DECL_CEILF, + HAVE_DECL_CEILL, HAVE_DECL_FLOORF, HAVE_DECL_FLOORL, HAVE_DECL_ROUND, + HAVE_DECL_ROUNDF, HAVE_DECL_ROUNDL, HAVE_DECL_TRUNCL. + * modules/math (Makefile.am): Substitute HAVE_DECL_CEILF, + HAVE_DECL_CEILL, HAVE_DECL_FLOORF, HAVE_DECL_FLOORL, HAVE_DECL_ROUND, + HAVE_DECL_ROUNDF, HAVE_DECL_ROUNDL, HAVE_DECL_TRUNCL. + +2010-04-04 Bruno Haible + + * m4/ceilf.m4 (gl_FUNC_CEILF): Remove redundant AC_SUBST invocation. + * m4/ceill.m4 (gl_FUNC_CEILL): Likewise. + * m4/floorf.m4 (gl_FUNC_FLOORF): Likewise. + * m4/floorl.m4 (gl_FUNC_FLOORL): Likewise. + * m4/isfinite.m4 (gl_ISFINITE): Likewise. + * m4/isinf.m4 (gl_ISINF): Likewise. + * m4/truncl.m4 (gl_FUNC_TRUNCL): Likewise. + +2010-04-04 Bruno Haible + + * m4/trunc.m4 (gl_FUNC_TRUNC): Remove redundant AC_SUBST invocation. + * m4/truncf.m4 (gl_FUNC_TRUNCF): Likewise. + +2010-04-04 Bruno Haible + + * m4/tmpfile.m4 (gl_FUNC_TMPFILE): Renamed from gl_TMPFILE. + * modules/tmpfile (configure.ac): Update. + + tmpfile: Fix C++ test error on mingw. + * lib/stdio.in.h (tmpfile): New declaration. + * m4/tmpfile.m4 (gl_TMPFILE): Require gl_STDIO_H_DEFAULTS. Set + REPLACE_TMPFILE instead of defining tmpfile as a macro in config.h. + * modules/tmpfile (Depends-on): Add stdio. + (configure.ac): Invoke gl_STDIO_MODULE_INDICATOR. + * m4/stdio_h.m4 (gl_STDIO_H): Also check whether tmpfile is declared. + (gl_STDIO_H_DEFAULTS): Initialize GNULIB_TMPFILE and REPLACE_TMPFILE. + * modules/stdio (Makefile.am): Substitute GNULIB_TMPFILE and + REPLACE_TMPFILE. + * tests/test-stdio-c++.cc (tmpfile): Verify signature. + +2010-04-04 Bruno Haible + + ioctl: Fix C++ test error on mingw. + * lib/ioctl.c (ioctl): Renamed from rpl_ioctl. + * lib/sys_ioctl.in.h (ioctl): When SYS_IOCTL_H_HAVE_WINSOCK2_H is 1, + use _GL_FUNCDECL_SYS, not _GL_FUNCDECL_RPL. + +2010-04-03 Bruno Haible + + wcwidth: Fix C++ test error on mingw. + * lib/wcwidth.c (wcwidth): Renamed from rpl_wcwidth. + * m4/wcwidth.m4 (gl_FUNC_WCWIDTH): If the wcwidth function does not + exist, don't set REPLACE_WCWIDTH. Instead, rely on HAVE_DECL_WCWIDTH. + +2010-04-03 Bruno Haible + + nanosleep: Fix C++ test error on mingw. + * lib/nanosleep.c (nanosleep): Renamed from rpl_nanosleep. + * lib/time.in.h (nanosleep): Use modern idiom. + * m4/nanosleep.m4 (gl_FUNC_NANOSLEEP): When the system does not have a + nanosleep function, set HAVE_NANOSLEEP to 0, instead of setting + REPLACE_NANOSLEEP to 1. + * m4/time_h.m4 (gl_HEADER_TIME_H_DEFAULTS): Initialize HAVE_NANOSLEEP. + * modules/time (Makefile.am): Substitute HAVE_NANOSLEEP. + +2010-04-03 Bruno Haible + + strptime: Fix C++ test error on mingw. + * lib/time.in.h (strptime): Use HAVE_STRPTIME, not REPLACE_STRPTIME. + * m4/strptime.m4 (gl_FUNC_STRPTIME): Set HAVE_STRPTIME, not + REPLACE_STRPTIME. Invoke gl_PREREQ_STRPTIME. + (gl_PREREQ_STRPTIME): New macro, extracted from gl_FUNC_STRPTIME. + * m4/time_h.m4 (gl_HEADER_TIME_H_DEFAULTS): Initialize HAVE_STRPTIME, + not REPLACE_STRPTIME. + * modules/time (Makefile.am): Substitute HAVE_STRPTIME, not + REPLACE_STRPTIME. + +2010-04-03 Bruno Haible + + timegm: Fix C++ test error on mingw. + * lib/time.in.h (timegm): Use modern idiom. + * m4/timegm.m4 (gl_FUNC_TIMEGM): When timegm does not exist, set + HAVE_TIMEGM to 0, not REPLACE_TIMEGM to 1. + * m4/time_h.m4 (gl_HEADER_TIME_H_DEFAULTS): Initialize HAVE_TIMEGM. + * modules/time (Makefile.am): Substitute HAVE_TIMEGM. + +2010-04-03 Bruno Haible + + timegm: Assume declaration if function exists. + * m4/timegm.m4 (gl_FUNC_TIMEGM): Assume timegm is declared if and only + if it exists. Don't clobber ac_cv_func_timegm. + +2010-04-03 Bruno Haible + + time_r: Fix C++ test error on mingw. + * lib/time.in.h (localtime_r, gmtime_r): Use modern idiom. + * m4/time_r.m4 (gl_TIME_R): When localtime_r does not exist, set + HAVE_LOCALTIME_R to 0, not REPLACE_LOCALTIME_R to 1. + * m4/time_h.m4 (gl_HEADER_TIME_H_DEFAULTS): Initialize HAVE_LOCALTIME_R. + * modules/time (Makefile.am): Substitute HAVE_LOCALTIME_R. + +2010-04-03 Bruno Haible + + time_r: Minor updates. + * modules/time_r (Description): Mention the provided functions. + * lib/time_r.c: Don't include . + * doc/posix-functions/gmtime_r.texi: Mention the 'time_r' module. + * doc/posix-functions/localtime_r.texi: Likewise. + +2010-04-03 Bruno Haible + + time: Fix regression introduced on 2010-03-08. + * m4/time_h.m4 (gl_TIME_MODULE_INDICATOR): Require + gl_HEADER_TIME_H_DEFAULTS, not gl_HEADER_STRING_H_DEFAULTS. + 2010-04-03 Jim Meyering maint.mk: don't silently disable project-specific syntax-check rules