Bruno Haible [Fri, 19 Oct 2007 10:51:22 +0000 (12:51 +0200)]
Use @FOO@ syntax instead of $(FOO) syntax, because it uncovers typos early.
Jim Meyering [Fri, 19 Oct 2007 07:35:06 +0000 (09:35 +0200)]
Correct file name.
Bruno Haible [Thu, 18 Oct 2007 23:50:42 +0000 (01:50 +0200)]
Don't use %n on glibc >= 2.3 systems.
Eric Blake [Thu, 18 Oct 2007 12:05:40 +0000 (06:05 -0600)]
* modules/filenamecat-tests (Makefile.am): Link against -lintl.
Signed-off-by: Eric Blake <ebb9@byu.net>
Bruno Haible [Thu, 18 Oct 2007 11:13:15 +0000 (13:13 +0200)]
Improve detection of whether %n is supported or not.
Bruno Haible [Thu, 18 Oct 2007 10:57:57 +0000 (12:57 +0200)]
Fix various issues with the 'trim' module.
Paul Eggert [Wed, 17 Oct 2007 23:06:45 +0000 (16:06 -0700)]
Modify glob.c to use fstatat and dirfd, to simplify it.
Suggested by Eric Blake.
* lib/glob.c (__fxstatat64) [!_LIBC]: New macro.
Don't include <stdbool.h>; not used.
(link_exists2_p, glob_in_dir) [!_LIBC]: No longer a special case.
(link_exists_p): Simplify implementation, since we can now assume
dirfd and fstatat.
* modules/glob (Depends-on): Add dirfd, openat. Remove stdbool.
Bruno Haible [Wed, 17 Oct 2007 22:23:46 +0000 (00:23 +0200)]
Improve comments in last patch.
Ralf Wildenhues [Wed, 17 Oct 2007 19:30:40 +0000 (21:30 +0200)]
* gnulib-tool (func_get_dependencies): Fix sed script to match only tests.
Bruno Haible [Wed, 17 Oct 2007 15:23:56 +0000 (17:23 +0200)]
Restrict the usable locale names on Cygwin.
Bruno Haible [Wed, 17 Oct 2007 00:20:47 +0000 (02:20 +0200)]
Use rpl_ prefix for functions, so as to avoid endless recursions in weird cases.
Bruno Haible [Wed, 17 Oct 2007 00:11:05 +0000 (02:11 +0200)]
Relax the license.
Paul Eggert [Tue, 16 Oct 2007 23:39:39 +0000 (16:39 -0700)]
Merge glibc changes into lib/glob.c.
* lib/glob.c (glob_in_dir): Sync with glibc/posix/glob.c, dated
2007-10-15 04:59:03 UTC. Here are the changes:
2007-10-14 Ulrich Drepper <drepper@redhat.com>
* lib/glob.c: Reimplement link_exists_p to use fstatat64.
* lib/glob.c: Add some branch prediction throughout.
2007-10-07 Ulrich Drepper <drepper@redhat.com>
[BZ #5103]
* lib/glob.c (glob): Recognize patterns starting \/.
2007-02-14 Jakub Jelinek <jakub@redhat.com>
[BZ #3996]
* lib/glob.c (attribute_hidden): Define if not defined.
(glob): Unescape dirname, filename or username when needed and not
GLOB_NOESCAPE. Handle \/ correctly. Handle GLOB_MARK if filename
is NULL. Handle unescaped [ in pattern without closing ].
Don't pass GLOB_CHECK down to recursive glob for directories.
(__glob_pattern_type): New function.
(__glob_pattern_p): Implement using __glob_pattern_type.
(glob_in_dir): Handle GLOB_NOCHECK patterns containing no meta
characters and backslashes if not GLOB_NOESCAPE or unterminated [.
Remove unreachable code.
2006-09-30 Ulrich Drepper <drepper@redhat.com>
* lib/glob.c (glob_in_dir): Add some comments and asserts to
explain why there are no leaks.
2006-09-25 Jakub Jelinek <jakub@redhat.com>
[BZ #3253]
* lib/glob.c (glob_in_dir): Don't alloca one struct globlink at a
time, rather allocate increasingly bigger arrays of pointers, if
possible with alloca, if too large with malloc.
2007-10-16 Paul Eggert <eggert@cs.ucla.edu>
Paul Eggert [Tue, 16 Oct 2007 20:33:21 +0000 (13:33 -0700)]
Check for 64-bit int errors in HP-UX 10.20 preprocessor.
Problem reported by H.Merijn Brand in
<http://lists.gnu.org/archive/html/bug-tar/2007-10/msg00018.html>.
* m4/longlong.m4 (AC_TYPE_LONG_LONG_INT): Check preprocessor too.
* m4/ulonglong.m4 (AC_TYPE_UNSIGNED_LONG_LONG_INT): Likewise.
Bruno Haible [Mon, 15 Oct 2007 20:40:19 +0000 (22:40 +0200)]
Use rpl_ prefix for functions, so as to avoid endless recursions in weird cases.
Ralf Wildenhues [Mon, 15 Oct 2007 19:15:17 +0000 (21:15 +0200)]
* m4/iconv_open (gl_FUNC_ICONV_OPEN_UTF): Fix cache variable name.
Bruno Haible [Mon, 15 Oct 2007 18:29:01 +0000 (20:29 +0200)]
Tweak last patch.
Bruno Haible [Mon, 15 Oct 2007 18:11:36 +0000 (20:11 +0200)]
Fix typos in last patch.
Bruno Haible [Mon, 15 Oct 2007 13:52:42 +0000 (15:52 +0200)]
Replace paragraph that was explaining old way of handling LIBOBJS.
Bruno Haible [Mon, 15 Oct 2007 11:12:04 +0000 (13:12 +0200)]
Ensure NULL is defined, before using it.
Simon Josefsson [Mon, 15 Oct 2007 09:07:33 +0000 (11:07 +0200)]
m4/getaddrinfo.m4: Use NULL rather than 0 for pointers.
Bruno Haible [Sun, 14 Oct 2007 10:29:27 +0000 (12:29 +0200)]
Test for module 'iconv_open-utf'.
Bruno Haible [Sun, 14 Oct 2007 10:27:28 +0000 (12:27 +0200)]
New module 'iconv_open-utf': Enhance iconv_open to support UTF-{16,32}{BE,LE}.
Bruno Haible [Sat, 13 Oct 2007 14:26:13 +0000 (16:26 +0200)]
A different way to test for getaddrinfo, so that it works on OSF/1 5.1.
Bruno Haible [Sat, 13 Oct 2007 13:48:53 +0000 (15:48 +0200)]
Prefer the ISO C99 inline semantics over the old GNU C inline semantics.
Bruno Haible [Sat, 13 Oct 2007 13:25:42 +0000 (15:25 +0200)]
Handle 'inline' change in gcc 4.3.0.
Bruno Haible [Sat, 13 Oct 2007 11:24:03 +0000 (13:24 +0200)]
Enable the use of __freading for glibc >= 2.7.
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".
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.
Bruno Haible [Sat, 13 Oct 2007 01:00:51 +0000 (03:00 +0200)]
Rename tests/test-ceilf.c to tests/test-ceilf1.c.
Bruno Haible [Sat, 13 Oct 2007 00:52:28 +0000 (02:52 +0200)]
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.
Bruno Haible [Sat, 13 Oct 2007 00:28:32 +0000 (02:28 +0200)]
Rename tests/test-floorf.c to tests/test-floorf1.c.
Bruno Haible [Sat, 13 Oct 2007 00:21:50 +0000 (02:21 +0200)]
Add dependencies for test-trunc2.
Bruno Haible [Sat, 13 Oct 2007 00:14:52 +0000 (02:14 +0200)]
Add new test for trunc function.
Bruno Haible [Sat, 13 Oct 2007 00:07:12 +0000 (02:07 +0200)]
Rename tests/test-trunc.c to tests/test-trunc1.c.
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.
Bruno Haible [Sat, 13 Oct 2007 00:00:48 +0000 (02:00 +0200)]
Renamed to tests/test-truncf1.c.
Bruno Haible [Fri, 12 Oct 2007 23:52:20 +0000 (01:52 +0200)]
Rename test-truncf.c to test-truncf1.c.
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>
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.
Bruno Haible [Thu, 11 Oct 2007 21:44:32 +0000 (23:44 +0200)]
Put unit test for filenamecat module into a normal test module.
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.
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>
Bruno Haible [Tue, 9 Oct 2007 12:56:47 +0000 (14:56 +0200)]
Mention many new modules in the right categories.
Ben Pfaff [Tue, 9 Oct 2007 01:56:32 +0000 (18:56 -0700)]
Fix typo in comment.
Paul Eggert [Tue, 9 Oct 2007 00:11:13 +0000 (17:11 -0700)]
Fix some portability problems in the previous change.
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.
Simon Josefsson [Mon, 8 Oct 2007 10:50:32 +0000 (12:50 +0200)]
Change license to LGPLv2+ on dummy, float, realloc, stdlib.
Bruno Haible [Mon, 8 Oct 2007 07:23:39 +0000 (09:23 +0200)]
Mention the license change.
Bruno Haible [Sun, 7 Oct 2007 22:01:02 +0000 (00:01 +0200)]
Fix type of TWO_MANT_DIG.
Bruno Haible [Sun, 7 Oct 2007 20:10:35 +0000 (22:10 +0200)]
Rename parameter 'exp' to 'expptr', to avoid gcc warnings.
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>
Bruno Haible [Sun, 7 Oct 2007 17:47:13 +0000 (19:47 +0200)]
Update the meaning of the license abbreviations.
Bruno Haible [Sun, 7 Oct 2007 17:14:58 +0000 (19:14 +0200)]
Change copyright notice from GPLv2+ to GPLv3+.
Bruno Haible [Sun, 7 Oct 2007 15:38:16 +0000 (17:38 +0200)]
Change copyright notice from LGPLv2.1+ to LGPLv3+.
Bruno Haible [Sun, 7 Oct 2007 15:23:24 +0000 (17:23 +0200)]
Change copyright notice from LGPLv2.0+ to LGPLv3+.
Bruno Haible [Sun, 7 Oct 2007 15:00:27 +0000 (17:00 +0200)]
Change copyright notice from LGPL to GPL.
Bruno Haible [Sun, 7 Oct 2007 10:41:50 +0000 (12:41 +0200)]
Typo in last commit.
Bruno Haible [Sun, 7 Oct 2007 03:10:20 +0000 (05:10 +0200)]
Ensure glibc declares trunc().
Bruno Haible [Sun, 7 Oct 2007 02:48:29 +0000 (04:48 +0200)]
Test for module 'freopen'.
Bruno Haible [Sun, 7 Oct 2007 02:47:49 +0000 (04:47 +0200)]
Test for module 'fopen'.
Bruno Haible [Sun, 7 Oct 2007 02:46:57 +0000 (04:46 +0200)]
New modules 'fopen' and 'freopen'.
Bruno Haible [Sun, 7 Oct 2007 02:40:31 +0000 (04:40 +0200)]
Test for 'open' module.
Bruno Haible [Sun, 7 Oct 2007 02:39:17 +0000 (04:39 +0200)]
New module 'open'.
Bruno Haible [Fri, 5 Oct 2007 01:55:37 +0000 (03:55 +0200)]
Test for module 'ceill'.
Bruno Haible [Fri, 5 Oct 2007 01:54:50 +0000 (03:54 +0200)]
New module 'ceill'.
Bruno Haible [Fri, 5 Oct 2007 01:44:19 +0000 (03:44 +0200)]
Test for module 'ceilf'.
Bruno Haible [Fri, 5 Oct 2007 01:43:42 +0000 (03:43 +0200)]
New module 'ceilf'.
Bruno Haible [Fri, 5 Oct 2007 01:34:16 +0000 (03:34 +0200)]
Test for module 'floorl'.
Bruno Haible [Fri, 5 Oct 2007 01:33:31 +0000 (03:33 +0200)]
New module 'floorl'.
Bruno Haible [Fri, 5 Oct 2007 01:02:59 +0000 (03:02 +0200)]
Test for module 'floorf'.
Bruno Haible [Fri, 5 Oct 2007 01:02:08 +0000 (03:02 +0200)]
New module 'floorf'.
Bruno Haible [Fri, 5 Oct 2007 00:24:39 +0000 (02:24 +0200)]
Talk about git instead or in addition to cvs.
Bruno Haible [Fri, 5 Oct 2007 00:02:30 +0000 (02:02 +0200)]
Explain what an absent module means.
Bruno Haible [Thu, 4 Oct 2007 23:41:26 +0000 (01:41 +0200)]
Test for module 'truncl'.
Bruno Haible [Thu, 4 Oct 2007 23:39:53 +0000 (01:39 +0200)]
New module 'truncl'.
Bruno Haible [Thu, 4 Oct 2007 23:08:22 +0000 (01:08 +0200)]
Test for module 'truncf'.
Bruno Haible [Thu, 4 Oct 2007 23:06:37 +0000 (01:06 +0200)]
New module 'truncf'.
Bruno Haible [Thu, 4 Oct 2007 01:42:26 +0000 (03:42 +0200)]
Synthesize an EXTRA_DIST augmentation also for tests modules.
Bruno Haible [Thu, 4 Oct 2007 01:23:10 +0000 (03:23 +0200)]
Test for module 'trunc'.
Bruno Haible [Thu, 4 Oct 2007 01:22:14 +0000 (03:22 +0200)]
New module 'trunc'.
Bruno Haible [Wed, 3 Oct 2007 21:36:11 +0000 (23:36 +0200)]
Test for __fpending function.
Bruno Haible [Wed, 3 Oct 2007 20:16:40 +0000 (22:16 +0200)]
Add support for QNX (untested).
Bruno Haible [Wed, 3 Oct 2007 13:09:50 +0000 (15:09 +0200)]
Prefer @command as replacement of invalid @program.
Bruno Haible [Wed, 3 Oct 2007 12:07:57 +0000 (14:07 +0200)]
Add gnulib.html, generated by "make html".
Bruno Haible [Wed, 3 Oct 2007 12:06:53 +0000 (14:06 +0200)]
Use valid texinfo directives. @program is not a valid directive.
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.
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.
Bruno Haible [Mon, 1 Oct 2007 22:43:39 +0000 (00:43 +0200)]
Update after renamings.
Bruno Haible [Mon, 1 Oct 2007 22:42:53 +0000 (00:42 +0200)]
Rename wctype_.h to wctype.in.h.
Bruno Haible [Mon, 1 Oct 2007 22:41:54 +0000 (00:41 +0200)]
Rename wchar_.h to wchar.in.h.
Bruno Haible [Mon, 1 Oct 2007 22:40:59 +0000 (00:40 +0200)]
Rename unistd_.h to unistd.in.h.
Bruno Haible [Mon, 1 Oct 2007 22:39:46 +0000 (00:39 +0200)]
Rename time_.h to time.in.h.
Bruno Haible [Mon, 1 Oct 2007 22:38:39 +0000 (00:38 +0200)]
Rename sysexits_.h to sysexits.in.h.
Bruno Haible [Mon, 1 Oct 2007 22:37:40 +0000 (00:37 +0200)]
Rename sys_time_.h to sys_time.in.h.
Bruno Haible [Mon, 1 Oct 2007 22:36:42 +0000 (00:36 +0200)]
Rename sys_stat_.h to sys_stat.in.h.
Bruno Haible [Mon, 1 Oct 2007 22:35:36 +0000 (00:35 +0200)]
Rename sys_socket_.h to sys_socket.in.h.
Bruno Haible [Mon, 1 Oct 2007 22:34:23 +0000 (00:34 +0200)]
Rename sys_select_.h to sys_select.in.h.
Bruno Haible [Mon, 1 Oct 2007 22:33:23 +0000 (00:33 +0200)]
Rename string_.h to string.in.h.