gnulib.git
16 years ago* lib/argp-fmtstream.h (ARGP_FS_EI): Work around GCC 4.2.1 diagnostic
Paul Eggert [Sat, 13 Oct 2007 06:02:18 +0000 (23:02 -0700)]
* lib/argp-fmtstream.h (ARGP_FS_EI): Work around GCC 4.2.1 diagnostic

"warning: C99 inline functions are not supported; using GNU89".

16 years agoFix incorrect rounding of ceil, ceilf, ceill in some cases. Add new test.
Bruno Haible [Sat, 13 Oct 2007 01:09:19 +0000 (03:09 +0200)]
Fix incorrect rounding of ceil, ceilf, ceill in some cases. Add new test.

16 years agoRename tests/test-ceilf.c to tests/test-ceilf1.c.
Bruno Haible [Sat, 13 Oct 2007 01:00:51 +0000 (03:00 +0200)]
Rename tests/test-ceilf.c to tests/test-ceilf1.c.

16 years agoNew test.
Bruno Haible [Sat, 13 Oct 2007 00:52:28 +0000 (02:52 +0200)]
New test.

16 years agoFix incorrect rounding of floor, floorf, floorl in some cases. Add new test.
Bruno Haible [Sat, 13 Oct 2007 00:51:46 +0000 (02:51 +0200)]
Fix incorrect rounding of floor, floorf, floorl in some cases. Add new test.

16 years agoRename tests/test-floorf.c to tests/test-floorf1.c.
Bruno Haible [Sat, 13 Oct 2007 00:28:32 +0000 (02:28 +0200)]
Rename tests/test-floorf.c to tests/test-floorf1.c.

16 years agoAdd dependencies for test-trunc2.
Bruno Haible [Sat, 13 Oct 2007 00:21:50 +0000 (02:21 +0200)]
Add dependencies for test-trunc2.

16 years agoAdd new test for trunc function.
Bruno Haible [Sat, 13 Oct 2007 00:14:52 +0000 (02:14 +0200)]
Add new test for trunc function.

16 years agoRename tests/test-trunc.c to tests/test-trunc1.c.
Bruno Haible [Sat, 13 Oct 2007 00:07:12 +0000 (02:07 +0200)]
Rename tests/test-trunc.c to tests/test-trunc1.c.

16 years agoFix incorrect rounding of trunc, truncf, truncl in some cases. Add a new test.
Bruno Haible [Sat, 13 Oct 2007 00:03:49 +0000 (02:03 +0200)]
Fix incorrect rounding of trunc, truncf, truncl in some cases. Add a new test.

16 years agoRenamed to tests/test-truncf1.c.
Bruno Haible [Sat, 13 Oct 2007 00:00:48 +0000 (02:00 +0200)]
Renamed to tests/test-truncf1.c.

16 years agoRename test-truncf.c to test-truncf1.c.
Bruno Haible [Fri, 12 Oct 2007 23:52:20 +0000 (01:52 +0200)]
Rename test-truncf.c to test-truncf1.c.

16 years agoDon't claim strerror is broken on Interix.
Eric Blake [Thu, 11 Oct 2007 22:10:24 +0000 (16:10 -0600)]
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.

Signed-off-by: Eric Blake <ebb9@byu.net>
16 years agoPut unit test for i-ring module into a normal test module.
Bruno Haible [Thu, 11 Oct 2007 21:56:06 +0000 (23:56 +0200)]
Put unit test for i-ring module into a normal test module.

16 years agoPut unit test for filenamecat module into a normal test module.
Bruno Haible [Thu, 11 Oct 2007 21:44:32 +0000 (23:44 +0200)]
Put unit test for filenamecat module into a normal test module.

16 years agoSimplify and modernize strerror substitute, partly to fix Solaris 8 bug.
Paul Eggert [Thu, 11 Oct 2007 21:43:30 +0000 (14:43 -0700)]
Simplify and modernize strerror substitute, partly to fix Solaris 8 bug.

* lib/strerror.c: Include <string.h> always, to test interface,
and to remove the need for the dummy.
Include intprops.h to compute width instead of doing it ourselves
and missing a CHAR_BIT declaration, which broke tar 1.19 on Solaris 8.
(strerror): Define it to return NULL if there's no system strerror.
(rpl_strerror): Use INT_STRLEN_BOUND to compute bound.
Omit !HAVE_STRERROR code.  We don't need to worry about supporting
ancient pre-strerror Unix systems well any more.  Saying "unknown
system error" is enough.
* lib/string.in.h (strerror): Simplify the ifdef to reflect the
simpler strerror.c implementation.
* m4/strerror.m4 (gl_FUNC_STRERROR_SEPARATE, gl_PREREQ_STDERROR):
Simplify the tests to reflect the simpler strerror implementation.
* modules/strerror (Depends-on): Add intprops.

16 years agoSilence test-fpending.
Eric Blake [Tue, 9 Oct 2007 14:09:48 +0000 (08:09 -0600)]
Silence test-fpending.

* modules/fpending-tests (Files): Add wrapper script.
* tests/test-fpending.sh: New file.

Signed-off-by: Eric Blake <ebb9@byu.net>
16 years agoMention many new modules in the right categories.
Bruno Haible [Tue, 9 Oct 2007 12:56:47 +0000 (14:56 +0200)]
Mention many new modules in the right categories.

16 years agoFix typo in comment.
Ben Pfaff [Tue, 9 Oct 2007 01:56:32 +0000 (18:56 -0700)]
Fix typo in comment.

16 years agoFix some portability problems in the previous change.
Paul Eggert [Tue, 9 Oct 2007 00:11:13 +0000 (17:11 -0700)]
Fix some portability problems in the previous change.

16 years ago* lib/xnanosleep.c (xnanosleep): Don't assume GCC 4.3.0 behavior
Paul Eggert [Mon, 8 Oct 2007 23:26:12 +0000 (16:26 -0700)]
* lib/xnanosleep.c (xnanosleep): Don't assume GCC 4.3.0 behavior
when avoiding problems with integer overflow.  Use a portable test
instead.

16 years agoChange license to LGPLv2+ on dummy, float, realloc, stdlib.
Simon Josefsson [Mon, 8 Oct 2007 10:50:32 +0000 (12:50 +0200)]
Change license to LGPLv2+ on dummy, float, realloc, stdlib.

16 years agoMention the license change.
Bruno Haible [Mon, 8 Oct 2007 07:23:39 +0000 (09:23 +0200)]
Mention the license change.

16 years agoFix type of TWO_MANT_DIG.
Bruno Haible [Sun, 7 Oct 2007 22:01:02 +0000 (00:01 +0200)]
Fix type of TWO_MANT_DIG.

16 years agoRename parameter 'exp' to 'expptr', to avoid gcc warnings.
Bruno Haible [Sun, 7 Oct 2007 20:10:35 +0000 (22:10 +0200)]
Rename parameter 'exp' to 'expptr', to avoid gcc warnings.

16 years agoMake xnanosleep's integer overflow test more robust.
Jim Meyering [Sun, 7 Oct 2007 18:49:20 +0000 (20:49 +0200)]
Make xnanosleep's integer overflow test more robust.

* lib/xnanosleep.c (xnanosleep): Declare a temporary to be "volatile",
so that gcc-4.3.0 doesn't optimize away this test for overflow.

Signed-off-by: Jim Meyering <meyering@redhat.com>
16 years agoUpdate the meaning of the license abbreviations.
Bruno Haible [Sun, 7 Oct 2007 17:47:13 +0000 (19:47 +0200)]
Update the meaning of the license abbreviations.

16 years agoChange copyright notice from GPLv2+ to GPLv3+.
Bruno Haible [Sun, 7 Oct 2007 17:14:58 +0000 (19:14 +0200)]
Change copyright notice from GPLv2+ to GPLv3+.

16 years agoChange copyright notice from LGPLv2.1+ to LGPLv3+.
Bruno Haible [Sun, 7 Oct 2007 15:38:16 +0000 (17:38 +0200)]
Change copyright notice from LGPLv2.1+ to LGPLv3+.

16 years agoChange copyright notice from LGPLv2.0+ to LGPLv3+.
Bruno Haible [Sun, 7 Oct 2007 15:23:24 +0000 (17:23 +0200)]
Change copyright notice from LGPLv2.0+ to LGPLv3+.

16 years agoChange copyright notice from LGPL to GPL.
Bruno Haible [Sun, 7 Oct 2007 15:00:27 +0000 (17:00 +0200)]
Change copyright notice from LGPL to GPL.

16 years agoTypo in last commit.
Bruno Haible [Sun, 7 Oct 2007 10:41:50 +0000 (12:41 +0200)]
Typo in last commit.

16 years agoEnsure glibc declares trunc().
Bruno Haible [Sun, 7 Oct 2007 03:10:20 +0000 (05:10 +0200)]
Ensure glibc declares trunc().

16 years agoTest for module 'freopen'.
Bruno Haible [Sun, 7 Oct 2007 02:48:29 +0000 (04:48 +0200)]
Test for module 'freopen'.

16 years agoTest for module 'fopen'.
Bruno Haible [Sun, 7 Oct 2007 02:47:49 +0000 (04:47 +0200)]
Test for module 'fopen'.

16 years agoNew modules 'fopen' and 'freopen'.
Bruno Haible [Sun, 7 Oct 2007 02:46:57 +0000 (04:46 +0200)]
New modules 'fopen' and 'freopen'.

16 years agoTest for 'open' module.
Bruno Haible [Sun, 7 Oct 2007 02:40:31 +0000 (04:40 +0200)]
Test for 'open' module.

16 years agoNew module 'open'.
Bruno Haible [Sun, 7 Oct 2007 02:39:17 +0000 (04:39 +0200)]
New module 'open'.

16 years agoTest for module 'ceill'.
Bruno Haible [Fri, 5 Oct 2007 01:55:37 +0000 (03:55 +0200)]
Test for module 'ceill'.

16 years agoNew module 'ceill'.
Bruno Haible [Fri, 5 Oct 2007 01:54:50 +0000 (03:54 +0200)]
New module 'ceill'.

16 years agoTest for module 'ceilf'.
Bruno Haible [Fri, 5 Oct 2007 01:44:19 +0000 (03:44 +0200)]
Test for module 'ceilf'.

16 years agoNew module 'ceilf'.
Bruno Haible [Fri, 5 Oct 2007 01:43:42 +0000 (03:43 +0200)]
New module 'ceilf'.

16 years agoTest for module 'floorl'.
Bruno Haible [Fri, 5 Oct 2007 01:34:16 +0000 (03:34 +0200)]
Test for module 'floorl'.

16 years agoNew module 'floorl'.
Bruno Haible [Fri, 5 Oct 2007 01:33:31 +0000 (03:33 +0200)]
New module 'floorl'.

16 years agoTest for module 'floorf'.
Bruno Haible [Fri, 5 Oct 2007 01:02:59 +0000 (03:02 +0200)]
Test for module 'floorf'.

16 years agoNew module 'floorf'.
Bruno Haible [Fri, 5 Oct 2007 01:02:08 +0000 (03:02 +0200)]
New module 'floorf'.

16 years agoTalk about git instead or in addition to cvs.
Bruno Haible [Fri, 5 Oct 2007 00:24:39 +0000 (02:24 +0200)]
Talk about git instead or in addition to cvs.

16 years agoExplain what an absent module means.
Bruno Haible [Fri, 5 Oct 2007 00:02:30 +0000 (02:02 +0200)]
Explain what an absent module means.

16 years agoTest for module 'truncl'.
Bruno Haible [Thu, 4 Oct 2007 23:41:26 +0000 (01:41 +0200)]
Test for module 'truncl'.

16 years agoNew module 'truncl'.
Bruno Haible [Thu, 4 Oct 2007 23:39:53 +0000 (01:39 +0200)]
New module 'truncl'.

16 years agoTest for module 'truncf'.
Bruno Haible [Thu, 4 Oct 2007 23:08:22 +0000 (01:08 +0200)]
Test for module 'truncf'.

16 years agoNew module 'truncf'.
Bruno Haible [Thu, 4 Oct 2007 23:06:37 +0000 (01:06 +0200)]
New module 'truncf'.

16 years agoSynthesize an EXTRA_DIST augmentation also for tests modules.
Bruno Haible [Thu, 4 Oct 2007 01:42:26 +0000 (03:42 +0200)]
Synthesize an EXTRA_DIST augmentation also for tests modules.

16 years agoTest for module 'trunc'.
Bruno Haible [Thu, 4 Oct 2007 01:23:10 +0000 (03:23 +0200)]
Test for module 'trunc'.

16 years agoNew module 'trunc'.
Bruno Haible [Thu, 4 Oct 2007 01:22:14 +0000 (03:22 +0200)]
New module 'trunc'.

16 years agoTest for __fpending function.
Bruno Haible [Wed, 3 Oct 2007 21:36:11 +0000 (23:36 +0200)]
Test for __fpending function.

16 years agoAdd support for QNX (untested).
Bruno Haible [Wed, 3 Oct 2007 20:16:40 +0000 (22:16 +0200)]
Add support for QNX (untested).

16 years agoPrefer @command as replacement of invalid @program.
Bruno Haible [Wed, 3 Oct 2007 13:09:50 +0000 (15:09 +0200)]
Prefer @command as replacement of invalid @program.

16 years agoAdd gnulib.html, generated by "make html".
Bruno Haible [Wed, 3 Oct 2007 12:07:57 +0000 (14:07 +0200)]
Add gnulib.html, generated by "make html".

16 years agoUse valid texinfo directives. @program is not a valid directive.
Bruno Haible [Wed, 3 Oct 2007 12:06:53 +0000 (14:06 +0200)]
Use valid texinfo directives. @program is not a valid directive.

16 years agoPerform one more "_.h" -> ".in.h" substitution.
Jim Meyering [Tue, 2 Oct 2007 07:57:35 +0000 (09:57 +0200)]
Perform one more "_.h" -> ".in.h" substitution.

* modules/unistd (Makefile.am) [unistd.h]: Use unistd.h.in
instead of unistd_.h here, too.

16 years agoAC_LIBSOURCES([alloca.c]) must be a no-op, otherwise it breaks the 'alloca-opt'
Bruno Haible [Mon, 1 Oct 2007 23:14:09 +0000 (01:14 +0200)]
AC_LIBSOURCES([alloca.c]) must be a no-op, otherwise it breaks the 'alloca-opt'
module.

16 years agoUpdate after renamings.
Bruno Haible [Mon, 1 Oct 2007 22:43:39 +0000 (00:43 +0200)]
Update after renamings.

16 years agoRename wctype_.h to wctype.in.h.
Bruno Haible [Mon, 1 Oct 2007 22:42:53 +0000 (00:42 +0200)]
Rename wctype_.h to wctype.in.h.

16 years agoRename wchar_.h to wchar.in.h.
Bruno Haible [Mon, 1 Oct 2007 22:41:54 +0000 (00:41 +0200)]
Rename wchar_.h to wchar.in.h.

16 years agoRename unistd_.h to unistd.in.h.
Bruno Haible [Mon, 1 Oct 2007 22:40:59 +0000 (00:40 +0200)]
Rename unistd_.h to unistd.in.h.

16 years agoRename time_.h to time.in.h.
Bruno Haible [Mon, 1 Oct 2007 22:39:46 +0000 (00:39 +0200)]
Rename time_.h to time.in.h.

16 years agoRename sysexits_.h to sysexits.in.h.
Bruno Haible [Mon, 1 Oct 2007 22:38:39 +0000 (00:38 +0200)]
Rename sysexits_.h to sysexits.in.h.

16 years agoRename sys_time_.h to sys_time.in.h.
Bruno Haible [Mon, 1 Oct 2007 22:37:40 +0000 (00:37 +0200)]
Rename sys_time_.h to sys_time.in.h.

16 years agoRename sys_stat_.h to sys_stat.in.h.
Bruno Haible [Mon, 1 Oct 2007 22:36:42 +0000 (00:36 +0200)]
Rename sys_stat_.h to sys_stat.in.h.

16 years agoRename sys_socket_.h to sys_socket.in.h.
Bruno Haible [Mon, 1 Oct 2007 22:35:36 +0000 (00:35 +0200)]
Rename sys_socket_.h to sys_socket.in.h.

16 years agoRename sys_select_.h to sys_select.in.h.
Bruno Haible [Mon, 1 Oct 2007 22:34:23 +0000 (00:34 +0200)]
Rename sys_select_.h to sys_select.in.h.

16 years agoRename string_.h to string.in.h.
Bruno Haible [Mon, 1 Oct 2007 22:33:23 +0000 (00:33 +0200)]
Rename string_.h to string.in.h.

16 years agoRename stdlib_.h to stdlib.in.h.
Bruno Haible [Mon, 1 Oct 2007 22:31:18 +0000 (00:31 +0200)]
Rename stdlib_.h to stdlib.in.h.

16 years agoRename stdio_.h to stdio.in.h.
Bruno Haible [Mon, 1 Oct 2007 22:29:20 +0000 (00:29 +0200)]
Rename stdio_.h to stdio.in.h.

16 years agoRename stdint_.h to stdint.in.h.
Bruno Haible [Mon, 1 Oct 2007 22:28:19 +0000 (00:28 +0200)]
Rename stdint_.h to stdint.in.h.

16 years agoRename stdbool_.h to stdbool.in.h.
Bruno Haible [Mon, 1 Oct 2007 22:27:14 +0000 (00:27 +0200)]
Rename stdbool_.h to stdbool.in.h.

16 years agoRename signal_.h to signal.in.h.
Bruno Haible [Mon, 1 Oct 2007 22:26:06 +0000 (00:26 +0200)]
Rename signal_.h to signal.in.h.

16 years agoRename search_.h to search.in.h.
Bruno Haible [Mon, 1 Oct 2007 22:24:48 +0000 (00:24 +0200)]
Rename search_.h to search.in.h.

16 years agoRename poll_.h to poll.in.h.
Bruno Haible [Mon, 1 Oct 2007 22:23:40 +0000 (00:23 +0200)]
Rename poll_.h to poll.in.h.

16 years agoRename netinet_in_.h to netinet_in.in.h.
Bruno Haible [Mon, 1 Oct 2007 22:22:31 +0000 (00:22 +0200)]
Rename netinet_in_.h to netinet_in.in.h.

16 years agoRename math_.h to math.in.h.
Bruno Haible [Mon, 1 Oct 2007 22:21:15 +0000 (00:21 +0200)]
Rename math_.h to math.in.h.

16 years agoRename locale_.h to locale.in.h.
Bruno Haible [Mon, 1 Oct 2007 22:19:59 +0000 (00:19 +0200)]
Rename locale_.h to locale.in.h.

16 years agoRename inttypes_.h to inttypes.in.h.
Bruno Haible [Mon, 1 Oct 2007 22:18:55 +0000 (00:18 +0200)]
Rename inttypes_.h to inttypes.in.h.

16 years agoRename iconv_.h to iconv.in.h.
Bruno Haible [Mon, 1 Oct 2007 22:17:23 +0000 (00:17 +0200)]
Rename iconv_.h to iconv.in.h.

16 years agoRename glob_.h to glob.in.h.
Bruno Haible [Mon, 1 Oct 2007 22:16:21 +0000 (00:16 +0200)]
Rename glob_.h to glob.in.h.

16 years agoRename getopt_.h to getopt.in.h.
Bruno Haible [Mon, 1 Oct 2007 22:14:33 +0000 (00:14 +0200)]
Rename getopt_.h to getopt.in.h.

16 years agoRename fnmatch_.h to fnmatch.in.h.
Bruno Haible [Mon, 1 Oct 2007 22:13:04 +0000 (00:13 +0200)]
Rename fnmatch_.h to fnmatch.in.h.

16 years agoRename float_.h to float.in.h.
Bruno Haible [Mon, 1 Oct 2007 22:11:20 +0000 (00:11 +0200)]
Rename float_.h to float.in.h.

16 years agoRename fcntl_.h to fcntl.in.h.
Bruno Haible [Mon, 1 Oct 2007 22:10:04 +0000 (00:10 +0200)]
Rename fcntl_.h to fcntl.in.h.

16 years agoRename dirent_.h to dirent.in.h.
Bruno Haible [Mon, 1 Oct 2007 22:08:48 +0000 (00:08 +0200)]
Rename dirent_.h to dirent.in.h.

16 years agoRename byteswap_.h to byteswap.in.h.
Bruno Haible [Mon, 1 Oct 2007 22:07:19 +0000 (00:07 +0200)]
Rename byteswap_.h to byteswap.in.h.

16 years agoRename argz_.h to argz.in.h.
Bruno Haible [Mon, 1 Oct 2007 22:05:40 +0000 (00:05 +0200)]
Rename argz_.h to argz.in.h.

16 years agoRename alloca_.h to alloca.in.h.
Bruno Haible [Mon, 1 Oct 2007 22:03:53 +0000 (00:03 +0200)]
Rename alloca_.h to alloca.in.h.

16 years agoIgnore files created by makeinfo or texi2dvi.
Bruno Haible [Sun, 30 Sep 2007 23:06:50 +0000 (01:06 +0200)]
Ignore files created by makeinfo or texi2dvi.

16 years agoMake the test compile on BeOS.
Bruno Haible [Sun, 30 Sep 2007 13:54:30 +0000 (15:54 +0200)]
Make the test compile on BeOS.

16 years agoUse check_PROGRAMS instead of noinst_PROGRAMS.
Bruno Haible [Sun, 30 Sep 2007 11:15:40 +0000 (13:15 +0200)]
Use check_PROGRAMS instead of noinst_PROGRAMS.

16 years agoTweak doc of getdelim and getline declarations.
Bruno Haible [Sun, 30 Sep 2007 03:53:48 +0000 (05:53 +0200)]
Tweak doc of getdelim and getline declarations.

16 years agoChange xreadlink module to use areadlink.
Bruno Haible [Sun, 30 Sep 2007 02:17:42 +0000 (04:17 +0200)]
Change xreadlink module to use areadlink.

16 years agom4 macro indentation.
Bruno Haible [Sat, 29 Sep 2007 23:23:51 +0000 (01:23 +0200)]
m4 macro indentation.