gnulib.git
16 years agofix typos in mathl
Paolo Bonzini [Tue, 15 Apr 2008 13:25:38 +0000 (15:25 +0200)]
fix typos in mathl

2008-04-15  Paolo Bonzini  <bonzini@gnu.org>

* lib/tanl.c (kernel_tanl): Rename flag to invert, initialize it
to 0.
* lib/trigl.c (ieee754_rem_pio2l): Fix range checks.

16 years agoautoupdate
Karl Berry [Tue, 15 Apr 2008 13:24:27 +0000 (06:24 -0700)]
autoupdate

16 years agoFix underquoting of AC_LANG_PROGRAM arguments.
Bruno Haible [Mon, 14 Apr 2008 23:52:03 +0000 (01:52 +0200)]
Fix underquoting of AC_LANG_PROGRAM arguments.

16 years agotest-strtod: fix typos: s/abs/fabs/
Jim Meyering [Mon, 14 Apr 2008 08:20:22 +0000 (10:20 +0200)]
test-strtod: fix typos: s/abs/fabs/

* tests/test-strtod.c (main): Use fabs, not narrowing-to-int "abs".

16 years agoAdd comment for last commit.
Bruno Haible [Sun, 13 Apr 2008 20:52:00 +0000 (22:52 +0200)]
Add comment for last commit.

16 years agoFix conflict between modules 'canonicalize' and 'canonicalize-lgpl'.
Bruno Haible [Sun, 13 Apr 2008 20:39:41 +0000 (22:39 +0200)]
Fix conflict between modules 'canonicalize' and 'canonicalize-lgpl'.

16 years agoAvoid a test failure on AIX 4 and AIX 5.
Bruno Haible [Sun, 13 Apr 2008 20:17:09 +0000 (22:17 +0200)]
Avoid a test failure on AIX 4 and AIX 5.

16 years agoFix compilation failure on AIX with xlc.
Bruno Haible [Sun, 13 Apr 2008 19:58:00 +0000 (21:58 +0200)]
Fix compilation failure on AIX with xlc.

16 years agoWork around a HP-UX stdio bug.
Bruno Haible [Sun, 13 Apr 2008 19:41:13 +0000 (21:41 +0200)]
Work around a HP-UX stdio bug.

16 years agoAvoid negating 0.0L - it yields a wrong result on HP-UX/hppa.
Bruno Haible [Sun, 13 Apr 2008 19:20:17 +0000 (21:20 +0200)]
Avoid negating 0.0L - it yields a wrong result on HP-UX/hppa.

16 years agoMake truncl work on OSF/1 4.0.
Bruno Haible [Sun, 13 Apr 2008 18:43:12 +0000 (20:43 +0200)]
Make truncl work on OSF/1 4.0.

16 years agoAvoid trailing comma, for picky AIX compiler.
Bruno Haible [Sun, 13 Apr 2008 17:33:56 +0000 (19:33 +0200)]
Avoid trailing comma, for picky AIX compiler.

16 years agoWork around a HP cc compiler bug.
Bruno Haible [Sun, 13 Apr 2008 17:25:13 +0000 (19:25 +0200)]
Work around a HP cc compiler bug.

16 years agoCheck for libintl.h. Needed for HAVE_LIBINTL_H.
Bruno Haible [Sun, 13 Apr 2008 16:35:13 +0000 (18:35 +0200)]
Check for libintl.h. Needed for HAVE_LIBINTL_H.

16 years agoRemove stray semicolon.
Bruno Haible [Sun, 13 Apr 2008 16:29:05 +0000 (18:29 +0200)]
Remove stray semicolon.

16 years agotest-quotearg needs to be linked against libintl (at least on Solaris).
Bruno Haible [Sun, 13 Apr 2008 16:15:04 +0000 (18:15 +0200)]
test-quotearg needs to be linked against libintl (at least on Solaris).

16 years agoOverride <sys/socket.h> when it exists but is incomplete.
Bruno Haible [Sun, 13 Apr 2008 12:56:42 +0000 (14:56 +0200)]
Override <sys/socket.h> when it exists but is incomplete.

16 years agoAvoid warning on EMX.
Bruno Haible [Sun, 13 Apr 2008 10:57:48 +0000 (12:57 +0200)]
Avoid warning on EMX.

16 years agoAvoid warning on emx+gcc.
Bruno Haible [Sun, 13 Apr 2008 10:50:49 +0000 (12:50 +0200)]
Avoid warning on emx+gcc.

16 years agoEnable the fpucw handling also for x86_64.
Bruno Haible [Sun, 13 Apr 2008 00:26:28 +0000 (02:26 +0200)]
Enable the fpucw handling also for x86_64.

16 years agoUpdate ChangeLog entry: the problem on emx+gcc was a different one.
Bruno Haible [Sat, 12 Apr 2008 17:56:55 +0000 (19:56 +0200)]
Update ChangeLog entry: the problem on emx+gcc was a different one.

16 years agoFix link failure on Solaris 10/x86 with gcc.
Bruno Haible [Sat, 12 Apr 2008 17:53:25 +0000 (19:53 +0200)]
Fix link failure on Solaris 10/x86 with gcc.

16 years agoOverride the system isnanf also on IRIX 6.5 with gcc.
Bruno Haible [Sat, 12 Apr 2008 16:33:53 +0000 (18:33 +0200)]
Override the system isnanf also on IRIX 6.5 with gcc.

16 years ago* m4/math_h.m4 (gl_MATH_H): Fix typos.
Jim Meyering [Sat, 12 Apr 2008 15:25:00 +0000 (17:25 +0200)]
* m4/math_h.m4 (gl_MATH_H): Fix typos.

16 years agoFix mistake in EMX port.
Bruno Haible [Sat, 12 Apr 2008 15:10:44 +0000 (17:10 +0200)]
Fix mistake in EMX port.

16 years agoWork around Solaris 10 math.h bug.
Eric Blake [Sat, 12 Apr 2008 13:22:40 +0000 (07:22 -0600)]
Work around Solaris 10 math.h bug.

* m4/math_h.m4 (gl_MATH_H): Check for bug.
(gl_MATH_H_DEFAULTS): Set up default.
* modules/math (Makefile.am): Replace new indicators.
* lib/math.in.h (NAN, HUGE_VAL): Provide replacements.
* tests/test-math.c (main): Test this.
* m4/strtod.m4 (gl_FUNC_STRTOD): Don't rely on HUGE_VAL.
* doc/posix-headers/math.texi (math.h): Mention bug.
Reported by Nelson H. F. Beebe and Jim Meyering.

Signed-off-by: Eric Blake <ebb9@byu.net>
16 years agoAdapt to future versions of Apple GCC.
Bruno Haible [Sat, 12 Apr 2008 01:26:13 +0000 (03:26 +0200)]
Adapt to future versions of Apple GCC.

16 years agoAvoid test failure on IRIX.
Bruno Haible [Sat, 12 Apr 2008 00:34:33 +0000 (02:34 +0200)]
Avoid test failure on IRIX.

16 years agoLink test-strsignal with libintl.
Bruno Haible [Sat, 12 Apr 2008 00:03:40 +0000 (02:03 +0200)]
Link test-strsignal with libintl.

16 years agoLink test-getaddrinfo with libintl.
Bruno Haible [Fri, 11 Apr 2008 23:58:40 +0000 (01:58 +0200)]
Link test-getaddrinfo with libintl.

16 years agoFix two compilation errors.
Bruno Haible [Fri, 11 Apr 2008 23:34:34 +0000 (01:34 +0200)]
Fix two compilation errors.

16 years agoInclude stdbool, for 'true' and 'false'.
Bruno Haible [Fri, 11 Apr 2008 23:07:35 +0000 (01:07 +0200)]
Include stdbool, for 'true' and 'false'.

16 years agoFix compilation error with IRIX 6.5 cc.
Bruno Haible [Fri, 11 Apr 2008 22:24:39 +0000 (00:24 +0200)]
Fix compilation error with IRIX 6.5 cc.

16 years agoAvoid compile failure on OS/2.
Eric Blake [Fri, 11 Apr 2008 16:22:22 +0000 (10:22 -0600)]
Avoid compile failure on OS/2.

* lib/regex_internal.h (internal_function): Disable optimization
on OS/2 (__EMX__), where it caused compiler error.
Reported by Elbert Pol.

Signed-off-by: Eric Blake <ebb9@byu.net>
16 years agoFlush the standard error stream before aborting.
Bruno Haible [Fri, 11 Apr 2008 14:31:39 +0000 (16:31 +0200)]
Flush the standard error stream before aborting.

16 years agoTweak comment.
Bruno Haible [Fri, 11 Apr 2008 13:57:56 +0000 (15:57 +0200)]
Tweak comment.

16 years agoFix __GNUC_STDC_INLINE__ predefine with Apple GCC on MacOS X 10.5.
Bruno Haible [Fri, 11 Apr 2008 13:13:24 +0000 (15:13 +0200)]
Fix __GNUC_STDC_INLINE__ predefine with Apple GCC on MacOS X 10.5.

16 years agoFix a link error on MacOS X.
Bruno Haible [Fri, 11 Apr 2008 11:29:33 +0000 (13:29 +0200)]
Fix a link error on MacOS X.

16 years agoMerge branch 'master' of ssh://haible@git.sv.gnu.org/srv/git/gnulib
Bruno Haible [Fri, 11 Apr 2008 10:01:17 +0000 (12:01 +0200)]
Merge branch 'master' of ssh://haible@git.sv.gnu.org/srv/git/gnulib

16 years agoMake gc_random work under Windows.
Simon Josefsson [Fri, 11 Apr 2008 07:16:11 +0000 (09:16 +0200)]
Make gc_random work under Windows.
Based on patch from Adam Strzelecki <ono@java.pl> in
<http://lists.gnu.org/archive/html/help-gsasl/2008-02/msg00000.html>.

16 years agoTypo in comment.
Bruno Haible [Thu, 10 Apr 2008 23:45:36 +0000 (01:45 +0200)]
Typo in comment.

16 years agoPort the extended stdio functions to emx+gcc.
Bruno Haible [Thu, 10 Apr 2008 10:58:26 +0000 (12:58 +0200)]
Port the extended stdio functions to emx+gcc.

16 years agoPort the extended stdio functions to emx+gcc.
Bruno Haible [Wed, 9 Apr 2008 22:56:00 +0000 (00:56 +0200)]
Port the extended stdio functions to emx+gcc.

16 years agoupdate from texinfo
Karl Berry [Wed, 9 Apr 2008 17:31:35 +0000 (10:31 -0700)]
update from texinfo

16 years agoAvoid some more autoconf warnings.
Eric Blake [Wed, 9 Apr 2008 14:24:35 +0000 (08:24 -0600)]
Avoid some more autoconf warnings.

* m4/acl.m4 (gl_FUNC_ACL): s/AC_HELP_STRING/AS_HELP_STRING/.
* m4/afs.m4 (gl_AFS): Likewise.
* m4/gc-random.m4 (gl_GC_RANDOM): Likewise.
* m4/absolute-header.m4 (gl_ABSOLUTE_HEADER): s/AC_FOREACH/m4_foreach_w/.
* m4/stdint.m4 (gl_STDINT_BITSIZEOF, gl_CHECK_TYPES_SIGNED)
(gl_INTEGER_TYPE_SUFFIX): Likewise.
* m4/onceonly_2_57.m4 (AC_CHECK_HEADERS_ONCE, AC_CHECK_FUNCS_ONCE)
(AC_CHECK_DECLS_ONCE): Likewise.
Rename file...
* m4/onceonly.m4: ...to this, and delete 2.54 variant, now that
gnulib-tool requires autoconf 2.59 or better.
* gnulib-tool (func_get_filelist): s/\(onceonly\)_2_57.m4/\1.m4/.

Signed-off-by: Eric Blake <ebb9@byu.net>
16 years agoAvoid some autoconf warnings.
Eric Blake [Wed, 9 Apr 2008 12:42:08 +0000 (06:42 -0600)]
Avoid some autoconf warnings.

* m4/regex.m4 (gl_REGEX): s/AC_HELP_STRING/AS_HELP_STRING/.
* m4/include_next.m4 (gl_INCLUDE_NEXT): s/AC_FOREACH/m4_foreach_w/.

Signed-off-by: Eric Blake <ebb9@byu.net>
16 years agoUse 'git describe --match' if present (added in git 1.5.5).
Eric Blake [Tue, 8 Apr 2008 13:38:18 +0000 (07:38 -0600)]
Use 'git describe --match' if present (added in git 1.5.5).

* build-aux/git-version-gen: Limit result to tags that match 'v*'
if possible.

Signed-off-by: Eric Blake <ebb9@byu.net>
16 years agoAdd tentative support for OpenServer.
Bruno Haible [Tue, 8 Apr 2008 11:11:19 +0000 (13:11 +0200)]
Add tentative support for OpenServer.

16 years agognulib-tool (func_add_or_update): s/backuped/backed up/ in diagnostic
Jim Meyering [Fri, 4 Apr 2008 06:43:58 +0000 (08:43 +0200)]
gnulib-tool (func_add_or_update): s/backuped/backed up/ in diagnostic

16 years agoAvoid possible error with non-ASCII bytes in UTF-8 locales.
Bruno Haible [Sun, 6 Apr 2008 09:31:10 +0000 (11:31 +0200)]
Avoid possible error with non-ASCII bytes in UTF-8 locales.

16 years agoFix quoting in double-slash-root.m4.
Ralf Wildenhues [Sat, 5 Apr 2008 22:34:50 +0000 (00:34 +0200)]
Fix quoting in double-slash-root.m4.

* m4/double-slash-root.m4 (gl_DOUBLE_SLASH_ROOT): Fix quoting,
hide error from 'ls', needed on OS/2.
Report by Elbert Pol <elbert.pol@gmail.com>.

Signed-off-by: Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
16 years agoMake test-fseeko.c failures meaningful.
Eric Blake [Fri, 4 Apr 2008 12:58:46 +0000 (06:58 -0600)]
Make test-fseeko.c failures meaningful.

* tests/test-fseeko.c: Print line number on failure.
* tests/test-fseek.c: Likewise.
Reported by Nelson H. F. Beebe.

Signed-off-by: Eric Blake <ebb9@byu.net>
16 years agoImprove strtod bug detection check.
Eric Blake [Fri, 4 Apr 2008 04:37:49 +0000 (22:37 -0600)]
Improve strtod bug detection check.

* m4/strtod.m4 (gl_FUNC_STRTOD): Also check for hex-float parsing,
required for Solaris 10.
Reported by Bob Friesenhahn and Nelson H. F. Beebe.

Signed-off-by: Eric Blake <ebb9@byu.net>
16 years agorelocatable-prog-wrapper needs the gl_ENVIRON macro.
Bruno Haible [Fri, 4 Apr 2008 02:23:39 +0000 (04:23 +0200)]
relocatable-prog-wrapper needs the gl_ENVIRON macro.

16 years agoEnsure sane .version contents.
Eric Blake [Thu, 3 Apr 2008 22:31:30 +0000 (16:31 -0600)]
Ensure sane .version contents.

* top/GNUmakefile (_dummy): Also delete .version when rebuilding
version string.
* build-aux/git-version-gen: Improve documentation.

Signed-off-by: Eric Blake <ebb9@byu.net>
16 years agoMake GNU make output nicer.
Eric Blake [Thu, 3 Apr 2008 20:03:49 +0000 (14:03 -0600)]
Make GNU make output nicer.

* top/GNUmakefile [!_have-Makefile]: Add dependency on
MAKECMDGOALS to enforce message for all command line targets.  Set
srcdir for use in maint.mk.

Signed-off-by: Eric Blake <ebb9@byu.net>
16 years agoAnother maintainer tweak.
Eric Blake [Thu, 3 Apr 2008 16:55:10 +0000 (10:55 -0600)]
Another maintainer tweak.

* top/GNUmakefile (_is-dist-target): Allow maintainer-distcheck as
a target that regenerates version.

Signed-off-by: Eric Blake <ebb9@byu.net>
16 years agovc-list-files: don't cause coreutils "make po-check" failure
Jim Meyering [Thu, 3 Apr 2008 16:23:40 +0000 (18:23 +0200)]
vc-list-files: don't cause coreutils "make po-check" failure

* build-aux/vc-list-files: Skip postprocessing when $2 is '.'

16 years agoAllow VPATH usage of vc-list-files.
Eric Blake [Thu, 3 Apr 2008 14:45:00 +0000 (08:45 -0600)]
Allow VPATH usage of vc-list-files.

* build-aux/vc-list-files (scriptversion): Add timestamp.
(options): Add --help, --version, -C.
(CVS): Support installed cvsu.

Signed-off-by: Eric Blake <ebb9@byu.net>
16 years agoFix mode change
Eric Blake [Thu, 3 Apr 2008 13:58:16 +0000 (07:58 -0600)]
Fix mode change

Signed-off-by: Eric Blake <ebb9@byu.net>
16 years agoautoupdate
Karl Berry [Thu, 3 Apr 2008 13:19:48 +0000 (06:19 -0700)]
autoupdate

16 years agoupdate from texinfo
Karl Berry [Thu, 3 Apr 2008 13:18:57 +0000 (06:18 -0700)]
update from texinfo

16 years agoAvoid some "statement with no effect" warnings from gcc.
Bruno Haible [Wed, 2 Apr 2008 22:37:05 +0000 (00:37 +0200)]
Avoid some "statement with no effect" warnings from gcc.

16 years agoAvoid some warnings from "gcc -Wshadow".
Jim Meyering [Wed, 2 Apr 2008 22:15:24 +0000 (00:15 +0200)]
Avoid some warnings from "gcc -Wshadow".

16 years agobootstrap: remove dangling *.[ch] symlinks from lib
Jim Meyering [Wed, 2 Apr 2008 06:32:17 +0000 (08:32 +0200)]
bootstrap: remove dangling *.[ch] symlinks from lib

* build-aux/bootstrap [dangling symlink removal]: Move find's
-depth option to precede all others, to avoid a warning.
Remove *.[ch] files too, and from "$source_base" (usually lib/).

16 years agoAvoid some warnings from "gcc -Wshadow".
Bruno Haible [Wed, 2 Apr 2008 22:07:16 +0000 (00:07 +0200)]
Avoid some warnings from "gcc -Wshadow".

16 years agoRefine documentation of NAN problem.
Bruno Haible [Wed, 2 Apr 2008 01:30:52 +0000 (03:30 +0200)]
Refine documentation of NAN problem.

16 years agoFix test to work on IRIX 6.5 with cc.
Bruno Haible [Wed, 2 Apr 2008 01:29:50 +0000 (03:29 +0200)]
Fix test to work on IRIX 6.5 with cc.

16 years agoRefine documentation of NAN problem.
Bruno Haible [Wed, 2 Apr 2008 01:23:43 +0000 (03:23 +0200)]
Refine documentation of NAN problem.

16 years agoUse macros NaNf, NaNd, NaNl instead of NAN.
Bruno Haible [Wed, 2 Apr 2008 01:06:02 +0000 (03:06 +0200)]
Use macros NaNf, NaNd, NaNl instead of NAN.

16 years agoFix typos.
Eric Blake [Tue, 1 Apr 2008 13:50:28 +0000 (07:50 -0600)]
Fix typos.

* tests/test-strtod.c (main): s/FLT_/DBL_/ for minimum and epsilon
values to be the right type.

Signed-off-by: Eric Blake <ebb9@byu.net>
16 years agoFix typo.
Eric Blake [Tue, 1 Apr 2008 13:47:40 +0000 (07:47 -0600)]
Fix typo.

1 ulp of (double)1.0 is DBL_EPSILON, not FLT_EPSILON.

Signed-off-by: Eric Blake <ebb9@byu.net>
16 years agoFor now, cater to gnulib strtod inaccuracies.
Eric Blake [Tue, 1 Apr 2008 12:34:34 +0000 (06:34 -0600)]
For now, cater to gnulib strtod inaccuracies.

* tests/test-strtod.c (main): Allow 1-ulp error on expected
fractional results.  While not as nice from a QoI perspective, it
is a quicker patch than correctly implementing decimal to binary
rounding.

Signed-off-by: Eric Blake <ebb9@byu.net>
16 years agoGuarantee a definition of NAN.
Eric Blake [Tue, 1 Apr 2008 02:56:25 +0000 (20:56 -0600)]
Guarantee a definition of NAN.

* lib/math.in.h (NAN): Define if missing.
* tests/test-math.c (main): Test it.
* doc/posix-headers/math.texi (math.h): Document this.
* lib/isnan.c (rpl_isnand): Use it.
* tests/test-ceilf1.c (NaN): Delete, and use NAN instead.
* tests/test-floorf1.c (NaN): Likewise.
* tests/test-frexp.c (NaN): Likewise.
* tests/test-isnand.c (NaN): Likewise.
* tests/test-isnanf.c (NaN): Likewise.
* tests/test-round1.c (NaN): Likewise.
* tests/test-roundf1.c (NaN): Likewise.
* tests/test-snprintf-posix.h (NaN): Likewise.
* tests/test-sprintf-posix.h (NaN): Likewise.
* tests/test-trunc1.c (NaN): Likewise.
* tests/test-truncf1.c (NaN): Likewise.
* tests/test-vasnprintf-posix.c (NaN): Likewise.
* tests/test-vasprintf-posix.c (NaN): Likewise.
* modules/isnand-nolibm (Depends-on): Add math.
* modules/isnanf-nolibm (Depends-on): Likewise.
* modules/isnanl (Depends-on): Likewise.
* modules/isnanl-nolibm (Depends-on): Likewise.
* modules/snprintf-posix-tests (Depends-on): Likewise.
* modules/sprintf-posix-tests (Depends-on): Likewise.
* modules/vsnprintf-posix-tests (Depends-on): Likewise.
* modules/vsprintf-posix-tests (Depends-on): Likewise.
* modules/vasnprintf-posix-tests (Depends-on): Likewise.
* modules/vasprintf-posix-tests (Depends-on): Likewise.

Signed-off-by: Eric Blake <ebb9@byu.net>
16 years agoUpdate test results on OSF/1.
Bruno Haible [Mon, 31 Mar 2008 23:37:42 +0000 (01:37 +0200)]
Update test results on OSF/1.

16 years agoConvert from C99 syntax to C89 syntax.
Bruno Haible [Mon, 31 Mar 2008 22:26:18 +0000 (00:26 +0200)]
Convert from C99 syntax to C89 syntax.

16 years agoAssume NaNs exist; don't test the NAN macro.
Bruno Haible [Mon, 31 Mar 2008 22:04:49 +0000 (00:04 +0200)]
Assume NaNs exist; don't test the NAN macro.

16 years agoDon't compare actual signbit return values.
Jim Meyering [Mon, 31 Mar 2008 17:22:06 +0000 (19:22 +0200)]
Don't compare actual signbit return values.

* tests/test-strtod.c (main): Rather, compare only their
zero/non-zero nature.

16 years agoupdate from texinfo
Karl Berry [Mon, 31 Mar 2008 18:03:28 +0000 (11:03 -0700)]
update from texinfo

16 years agoCorrect docs for Solaris strtod.
Eric Blake [Mon, 31 Mar 2008 14:30:11 +0000 (08:30 -0600)]
Correct docs for Solaris strtod.

* doc/posix-functions/strtod.texi (strtod): Solaris strtod parses
"nan" after all.

Signed-off-by: Eric Blake <ebb9@byu.net>
16 years agoMore strtod documentation.
Eric Blake [Mon, 31 Mar 2008 12:22:49 +0000 (06:22 -0600)]
More strtod documentation.

* doc/posix-functions/strtod.texi (strtod): Interpret more test
failures as distinct bugs.

Signed-off-by: Eric Blake <ebb9@byu.net>
16 years ago* lib/wchar.in.h [defined __need_mbstate_t]: Just include <wchar.h>.
Paul Eggert [Mon, 31 Mar 2008 05:50:54 +0000 (00:50 -0500)]
* lib/wchar.in.h [defined __need_mbstate_t]: Just include <wchar.h>.

Problem reported by Erik Benada in
<http://lists.gnu.org/archive/html/bug-gnulib/2008-03/msg00249.html>.

16 years agoAdd info about many more platforms.
Bruno Haible [Sun, 30 Mar 2008 23:59:11 +0000 (01:59 +0200)]
Add info about many more platforms.

16 years agoTest signbit behavior on zeros.
Eric Blake [Sun, 30 Mar 2008 22:40:35 +0000 (16:40 -0600)]
Test signbit behavior on zeros.

* tests/test-signbit.c (test_signbitf): Add tests for zero.
(test_signbitd, test_signbitl): Likewise.

Signed-off-by: Eric Blake <ebb9@byu.net>
16 years agoFix typo in last patch.
Eric Blake [Sun, 30 Mar 2008 22:39:41 +0000 (16:39 -0600)]
Fix typo in last patch.

Signed-off-by: Eric Blake <ebb9@byu.net>
16 years agoMerge branch 'master' of ssh://karl@git.sv.gnu.org/srv/git/gnulib
Karl Berry [Sun, 30 Mar 2008 22:04:25 +0000 (15:04 -0700)]
Merge branch 'master' of ssh://karl@git.sv.gnu.org/srv/git/gnulib

16 years agoautoupdate
Karl Berry [Sun, 30 Mar 2008 22:03:19 +0000 (15:03 -0700)]
autoupdate

16 years agoMore strtod touchups.
Eric Blake [Sun, 30 Mar 2008 21:57:54 +0000 (15:57 -0600)]
More strtod touchups.

* tests/test-strtod.c (main): Ignore tests for signbit on NaN, and
sign of negative underflow, for now.  Use .5, not .1.
* doc/posix-functions/strtod.texi (strtod): Mention these
limitations.
Reported by Jim Meyering.

Signed-off-by: Eric Blake <ebb9@byu.net>
16 years agoOptimize conversion from UTF-8 to UTF-8//TRANSLIT.
Bruno Haible [Sun, 30 Mar 2008 16:56:58 +0000 (18:56 +0200)]
Optimize conversion from UTF-8 to UTF-8//TRANSLIT.

16 years agoAvoid failure when attempting to return empty iconv results on some platforms.
Bruno Haible [Sun, 30 Mar 2008 16:48:14 +0000 (18:48 +0200)]
Avoid failure when attempting to return empty iconv results on some platforms.

16 years agoFix buffer overrun.
Bruno Haible [Sun, 30 Mar 2008 16:29:39 +0000 (18:29 +0200)]
Fix buffer overrun.

16 years agostrtod touchups.
Eric Blake [Sun, 30 Mar 2008 14:07:51 +0000 (08:07 -0600)]
strtod touchups.

* lib/strtod.c (strtod): Avoid compiler warnings.
Reported by Jim Meyering.

Signed-off-by: Eric Blake <ebb9@byu.net>
16 years agoUse the EOVERFLOW module instead of a manual fallback for EOVERFLOW.
Bruno Haible [Sun, 30 Mar 2008 13:58:28 +0000 (15:58 +0200)]
Use the EOVERFLOW module instead of a manual fallback for EOVERFLOW.

16 years agoUse module 'EOVERFLOW' rather than defining an EOVERFLOW replacement in the C
Bruno Haible [Sun, 30 Mar 2008 13:18:13 +0000 (15:18 +0200)]
Use module 'EOVERFLOW' rather than defining an EOVERFLOW replacement in the C
code.

16 years agoRemove EOVERFLOW override.
Bruno Haible [Sun, 30 Mar 2008 12:38:27 +0000 (14:38 +0200)]
Remove EOVERFLOW override.

16 years agoTests for module 'EOVERFLOW'.
Bruno Haible [Sun, 30 Mar 2008 12:36:00 +0000 (14:36 +0200)]
Tests for module 'EOVERFLOW'.

16 years agoNew module 'EOVERFLOW'.
Bruno Haible [Sun, 30 Mar 2008 12:34:48 +0000 (14:34 +0200)]
New module 'EOVERFLOW'.

16 years agoFix a bug in unistdio routines, introduced on 2007-06-10.
Bruno Haible [Sun, 30 Mar 2008 12:09:00 +0000 (14:09 +0200)]
Fix a bug in unistdio routines, introduced on 2007-06-10.

16 years agoImprove freadseek's efficiency after ungetc.
Bruno Haible [Sun, 30 Mar 2008 10:25:40 +0000 (12:25 +0200)]
Improve freadseek's efficiency after ungetc.

16 years agoUse freadptr's return value.
Bruno Haible [Sun, 30 Mar 2008 09:32:20 +0000 (11:32 +0200)]
Use freadptr's return value.