gnulib.git
18 years ago* closeout.c (close_stdout): Don't assume 'bool' converts nonzero
Paul Eggert [Wed, 8 Feb 2006 00:04:23 +0000 (00:04 +0000)]
* closeout.c (close_stdout): Don't assume 'bool' converts nonzero
ints to 0 or 1, as this isn't true for the stdbool.h substitute.

18 years ago* modules/closeout (Depends-on): Remove atexit.
Paul Eggert [Wed, 8 Feb 2006 00:04:08 +0000 (00:04 +0000)]
* modules/closeout (Depends-on): Remove atexit.

18 years agoUpdate
Sergey Poznyakoff [Tue, 7 Feb 2006 13:36:14 +0000 (13:36 +0000)]
Update

18 years agoRestore changes accidentally lost during the "autoupdate" on 2005-12-12.
Sergey Poznyakoff [Tue, 7 Feb 2006 13:35:29 +0000 (13:35 +0000)]
Restore changes accidentally lost during the "autoupdate" on 2005-12-12.

18 years ago* extensions.m4 (gl_USE_SYSTEM_EXTENSIONS): Don't #define
Paul Eggert [Mon, 6 Feb 2006 05:22:04 +0000 (05:22 +0000)]
* extensions.m4 (gl_USE_SYSTEM_EXTENSIONS): Don't #define
__EXTENSIONS__ if this causes compilation to fail.  Problem
reported by Nelson H. F. Beebe with Solaris 10 and Sun C 5.7
c89 -D_XOPEN_SOURCE -D_XOPEN_SOURCE_EXTENDED.

18 years agoautoupdate
Karl Berry [Tue, 31 Jan 2006 14:50:30 +0000 (14:50 +0000)]
autoupdate

18 years agoupdate from texinfo
Karl Berry [Fri, 27 Jan 2006 22:50:12 +0000 (22:50 +0000)]
update from texinfo

18 years ago* fnmatch.c (L_): Renamed from L, to work around a bug in
Paul Eggert [Fri, 27 Jan 2006 18:40:27 +0000 (18:40 +0000)]
* fnmatch.c (L_): Renamed from L, to work around a bug in
Mac OS X 10.3.9 with GCC 3 reported by Claudio Fontana in
<http://lists.gnu.org/archive/html/bug-gnulib/2006-01/msg00074.html>.
All uses changed.

18 years agoMingw32 fixes for getaddrinfo.
Simon Josefsson [Fri, 27 Jan 2006 12:50:41 +0000 (12:50 +0000)]
Mingw32 fixes for getaddrinfo.

18 years ago* fts.c (diropen): Open with O_NOCTTY | O_NONBLOCK too. Don't
Paul Eggert [Thu, 26 Jan 2006 22:12:26 +0000 (22:12 +0000)]
* fts.c (diropen): Open with O_NOCTTY | O_NONBLOCK too.  Don't
attempt to open for write; this always fails, at least on POSIX
hosts.

18 years agooops, vasnprintf, not vasprintf
Karl Berry [Thu, 26 Jan 2006 14:11:40 +0000 (14:11 +0000)]
oops, vasnprintf, not vasprintf

18 years agoFixes from Paul Eggert.
Bruno Haible [Thu, 26 Jan 2006 13:32:38 +0000 (13:32 +0000)]
Fixes from Paul Eggert.

18 years agoTreat all non-gcc compilers the same.
Bruno Haible [Thu, 26 Jan 2006 13:31:49 +0000 (13:31 +0000)]
Treat all non-gcc compilers the same.

18 years ago'trap' portability trapped me...
Bruno Haible [Thu, 26 Jan 2006 12:51:48 +0000 (12:51 +0000)]
'trap' portability trapped me...

18 years agoRemove stray conflict marker.
Jim Meyering [Wed, 25 Jan 2006 17:31:46 +0000 (17:31 +0000)]
Remove stray conflict marker.

18 years ago*** empty log message ***
Jim Meyering [Wed, 25 Jan 2006 16:45:59 +0000 (16:45 +0000)]
*** empty log message ***

18 years agoSync from the stable (b5) branch of coreutils:
Jim Meyering [Wed, 25 Jan 2006 16:45:04 +0000 (16:45 +0000)]
Sync from the stable (b5) branch of coreutils:

(fts_children): Don't let close() clobber errno from
failed fchdir().

(fts_stat): When following a symlink-to-directory,
don't necessarily interpret stat-fails+lstat-succeeds as indicating
a dangling symlink.  That can also happen at least for ELOOP.
The fix: return FTS_SLNONE only when the stat errno is ENOENT.
FYI, this bug predates the inclusion of fts.c in coreutils.

(fts_open): Put new maxarglen declaration and uses
in their own block, so pre-c99 compilers don't object.

Avoid the double-free (first in fts_read, second in fts_close) that
would occur when an `active' directory is made inaccessible (e.g.,
via chmod a-x) during a traversal.

(fts_read): After a failed fchdir, update sp->fts_cur
before returning.  Reproduce this failure by
mkdir -p a/b; cd a; chmod a-x . b
Reported by Stavros Passas.

18 years agoUpdate
Sergey Poznyakoff [Wed, 25 Jan 2006 16:22:22 +0000 (16:22 +0000)]
Update

18 years agoBugfix (stray #)
Sergey Poznyakoff [Wed, 25 Jan 2006 16:17:36 +0000 (16:17 +0000)]
Bugfix (stray #)

18 years agovasnprintf.c sync lost
Karl Berry [Wed, 25 Jan 2006 14:51:38 +0000 (14:51 +0000)]
vasnprintf.c sync lost

18 years agoPortability problem with Solaris sh.
Bruno Haible [Wed, 25 Jan 2006 14:20:06 +0000 (14:20 +0000)]
Portability problem with Solaris sh.

18 years agoOops, wrong changelog entry.
Bruno Haible [Wed, 25 Jan 2006 13:56:34 +0000 (13:56 +0000)]
Oops, wrong changelog entry.

18 years agoAvoid excessive warnings with IRIX cc.
Bruno Haible [Wed, 25 Jan 2006 13:55:43 +0000 (13:55 +0000)]
Avoid excessive warnings with IRIX cc.

18 years ago.
Karl Berry [Wed, 25 Jan 2006 08:44:38 +0000 (08:44 +0000)]
.

18 years ago*** empty log message ***
Jim Meyering [Wed, 25 Jan 2006 08:03:18 +0000 (08:03 +0000)]
*** empty log message ***

18 years agoRemove more useless parentheses.
Jim Meyering [Wed, 25 Jan 2006 08:03:13 +0000 (08:03 +0000)]
Remove more useless parentheses.

18 years ago*** empty log message ***
Jim Meyering [Wed, 25 Jan 2006 07:34:41 +0000 (07:34 +0000)]
*** empty log message ***

18 years agoRemove more useless parentheses.
Jim Meyering [Wed, 25 Jan 2006 07:34:10 +0000 (07:34 +0000)]
Remove more useless parentheses.

18 years ago/tmp/cvsY9fTYA
Paul Eggert [Wed, 25 Jan 2006 00:16:39 +0000 (00:16 +0000)]
/tmp/cvsY9fTYA

18 years agoCheck against AIX and HP-UX C compiler bugs.
Bruno Haible [Tue, 24 Jan 2006 22:05:28 +0000 (22:05 +0000)]
Check against AIX and HP-UX C compiler bugs.

18 years agoFix a bug occurring with HP-UX aCC compiler.
Bruno Haible [Tue, 24 Jan 2006 22:00:13 +0000 (22:00 +0000)]
Fix a bug occurring with HP-UX aCC compiler.

18 years agoWork around HP-UX and AIX C compiler bugs with built-in _Bool.
Bruno Haible [Tue, 24 Jan 2006 21:44:37 +0000 (21:44 +0000)]
Work around HP-UX and AIX C compiler bugs with built-in _Bool.

18 years agoFix portability problem to Solaris 9 sh.
Bruno Haible [Tue, 24 Jan 2006 19:18:45 +0000 (19:18 +0000)]
Fix portability problem to Solaris 9 sh.

18 years ago(Files): Add lib/intprops.h.
Jim Meyering [Tue, 24 Jan 2006 19:17:13 +0000 (19:17 +0000)]
(Files): Add lib/intprops.h.
From Mark D. Baushke.

18 years ago*** empty log message ***
Jim Meyering [Tue, 24 Jan 2006 19:16:13 +0000 (19:16 +0000)]
*** empty log message ***

18 years ago(gl_FUNC_OPENAT): Add AC_LIBSOURCES([intprops.h]).
Jim Meyering [Tue, 24 Jan 2006 19:15:21 +0000 (19:15 +0000)]
(gl_FUNC_OPENAT): Add AC_LIBSOURCES([intprops.h]).
Reported by Mark D. Baushke.

18 years agoargp-namefrob.h sync lost
Karl Berry [Tue, 24 Jan 2006 14:06:47 +0000 (14:06 +0000)]
argp-namefrob.h sync lost

18 years ago*** empty log message ***
Jim Meyering [Tue, 24 Jan 2006 12:53:45 +0000 (12:53 +0000)]
*** empty log message ***

18 years agoRemove useless parentheses in uses of cpp `defined'.
Jim Meyering [Tue, 24 Jan 2006 12:53:13 +0000 (12:53 +0000)]
Remove useless parentheses in uses of cpp `defined'.

18 years ago* socket_.h (SHUT_WR, SHUT_RDWR): Don't hardcode, suggested by Bruno.
Simon Josefsson [Tue, 24 Jan 2006 11:57:26 +0000 (11:57 +0000)]
* socket_.h (SHUT_WR, SHUT_RDWR): Don't hardcode, suggested by Bruno.

18 years agoWork around porting bugs reported by Dieter in
Paul Eggert [Tue, 24 Jan 2006 07:40:58 +0000 (07:40 +0000)]
Work around porting bugs reported by Dieter in
<http://lists.gnu.org/archive/html/bug-bison/2006-01/msg00049.html>.
* lib/getopt.c (_NOPROTO): Remove; no longer needed.
Include <stdlib.h> and <unistd.h> in all environments; it's safe now.
Include "getopt.h" first, to check interface.
(getenv): Declare only if defined HAVE_DECL_GETENV &&
!HAVE_DECL_GETENV.
* lib/strndup.c [!_LIBC]: Include "strndup.h" to get prototype.
(__strndup): Revert to K&R-style function dfns, the glibc style.
* lib/strnlen.c: Don't claim it's taken from glibc; it's not.
(strnlen, __strnlen): Remove #defines and #undefs; not needed.
Include strnlen.h first, to get prototype properly.
(strnlen): Renamed from __strnlen.
Remove weak alias.
* m4/getopt.m4 (gl_PREREQ_GETOPT): Check for getenv decl.

18 years ago* srclist.txt: Adjust to reflect glibc reorganization.
Paul Eggert [Tue, 24 Jan 2006 07:25:40 +0000 (07:25 +0000)]
* srclist.txt: Adjust to reflect glibc reorganization.

18 years agoAdjust to reflect glibc reorganization.
Paul Eggert [Tue, 24 Jan 2006 07:13:46 +0000 (07:13 +0000)]
Adjust to reflect glibc reorganization.
This affects only comments.

18 years agoSimplify.
Bruno Haible [Mon, 23 Jan 2006 20:38:51 +0000 (20:38 +0000)]
Simplify.

18 years agoFix an incorrect estimation of the sprintf result size.
Bruno Haible [Mon, 23 Jan 2006 15:01:57 +0000 (15:01 +0000)]
Fix an incorrect estimation of the sprintf result size.

18 years ago* quotearg.c (quotearg_buffer_restyled): Add "default: break;"
Paul Eggert [Sun, 22 Jan 2006 08:46:02 +0000 (08:46 +0000)]
* quotearg.c (quotearg_buffer_restyled): Add "default: break;"
to pacify gcc -Wswitch-default.

18 years ago* gnulib-tool, build-aux/csharpcomp.sh.in: Do not pass `-q' to mktemp.
Paul Eggert [Sun, 22 Jan 2006 08:31:53 +0000 (08:31 +0000)]
* gnulib-tool, build-aux/csharpcomp.sh.in: Do not pass `-q' to mktemp.

18 years agoUpdate
Sergey Poznyakoff [Sat, 21 Jan 2006 19:13:07 +0000 (19:13 +0000)]
Update

18 years agoTest suite for argp module
Sergey Poznyakoff [Sat, 21 Jan 2006 19:09:06 +0000 (19:09 +0000)]
Test suite for argp module

18 years ago(__argp_basename): Removed definition. Was a typo.
Sergey Poznyakoff [Sat, 21 Jan 2006 19:07:06 +0000 (19:07 +0000)]
(__argp_basename): Removed definition. Was a typo.
(__argp_base_name): Provide macro definition or extern declaration
depending on the configuration

18 years ago(usage_long_opt): Do not print DOC options.
Sergey Poznyakoff [Sat, 21 Jan 2006 19:06:40 +0000 (19:06 +0000)]
(usage_long_opt): Do not print DOC options.
(__argp_base_name): Removed

18 years ago.
Karl Berry [Sat, 21 Jan 2006 08:44:58 +0000 (08:44 +0000)]
.

18 years ago* lib-ignore.m4 (gl_IGNORE_UNUSED_LIBRARIES): Use -Wl,-z,ignore
Paul Eggert [Sat, 21 Jan 2006 08:01:53 +0000 (08:01 +0000)]
* lib-ignore.m4 (gl_IGNORE_UNUSED_LIBRARIES): Use -Wl,-z,ignore
rather than -Xlinker -z -Xlinker ignore, as it's more portable.

18 years agono sync for localcharset.c, argp-fmtstream.h
Karl Berry [Fri, 20 Jan 2006 21:18:53 +0000 (21:18 +0000)]
no sync for localcharset.c, argp-fmtstream.h

18 years agoFix inet_ntop on mingw32.
Simon Josefsson [Fri, 20 Jan 2006 12:59:10 +0000 (12:59 +0000)]
Fix inet_ntop on mingw32.

18 years ago* socklen.m4: Look in ws2tcpip.h too, for mingw32.
Simon Josefsson [Thu, 19 Jan 2006 14:13:52 +0000 (14:13 +0000)]
* socklen.m4: Look in ws2tcpip.h too, for mingw32.

18 years ago* socket_.h: Map SHUT_RD, SHUT_WR, SHUT_RDWR correctly.
Simon Josefsson [Thu, 19 Jan 2006 13:45:37 +0000 (13:45 +0000)]
* socket_.h: Map SHUT_RD, SHUT_WR, SHUT_RDWR correctly.

18 years agoSimplify my *-tests modules.
Simon Josefsson [Thu, 19 Jan 2006 09:05:56 +0000 (09:05 +0000)]
Simplify my *-tests modules.

18 years ago.
Karl Berry [Thu, 19 Jan 2006 08:44:35 +0000 (08:44 +0000)]
.

18 years agofilesystem -> file system (the POSIX spelling)
Paul Eggert [Thu, 19 Jan 2006 04:40:47 +0000 (04:40 +0000)]
filesystem -> file system (the POSIX spelling)

18 years agoAdd to TESTS variable, for mingw32.
Simon Josefsson [Wed, 18 Jan 2006 13:02:28 +0000 (13:02 +0000)]
Add  to TESTS variable, for mingw32.

18 years ago.
Karl Berry [Wed, 18 Jan 2006 11:55:17 +0000 (11:55 +0000)]
.

18 years ago* modules/socklen (Depends-on): Depend on sys_socket.
Simon Josefsson [Wed, 18 Jan 2006 08:52:56 +0000 (08:52 +0000)]
* modules/socklen (Depends-on): Depend on sys_socket.

18 years agoNeed to include <sys/types.h> in order to get ssize_t on most systems.
Bruno Haible [Tue, 17 Jan 2006 19:07:56 +0000 (19:07 +0000)]
Need to include <sys/types.h> in order to get ssize_t on most systems.

18 years ago* modules/socklen (Include): Need sys/socket.h.
Simon Josefsson [Tue, 17 Jan 2006 17:22:37 +0000 (17:22 +0000)]
* modules/socklen (Include): Need sys/socket.h.

18 years ago* lib-ignore.m4 (gl_IGNORE_UNUSED_LIBRARIES): Don't use ldd, as
Paul Eggert [Tue, 17 Jan 2006 07:23:20 +0000 (07:23 +0000)]
* lib-ignore.m4 (gl_IGNORE_UNUSED_LIBRARIES): Don't use ldd, as
it's not portable and it doesn't work with cross-compiles.  Fix missing-$
typo in 'test "gl_cv_ignore_unused_libraries" ...' that prevented -zignore
from being used with Sun's C compiler.

18 years agoautoupdate
Karl Berry [Fri, 13 Jan 2006 14:09:32 +0000 (14:09 +0000)]
autoupdate

18 years ago.
Karl Berry [Fri, 13 Jan 2006 08:44:20 +0000 (08:44 +0000)]
.

18 years agoSimplify LC_ALL handling.
Bruno Haible [Thu, 12 Jan 2006 18:07:12 +0000 (18:07 +0000)]
Simplify LC_ALL handling.

18 years agoCompatibility with libtool.
Bruno Haible [Thu, 12 Jan 2006 18:04:16 +0000 (18:04 +0000)]
Compatibility with libtool.

18 years agoUse changequote.
Bruno Haible [Thu, 12 Jan 2006 15:43:29 +0000 (15:43 +0000)]
Use changequote.

18 years agoFix sed_replace_auxdir.
Bruno Haible [Thu, 12 Jan 2006 15:39:50 +0000 (15:39 +0000)]
Fix sed_replace_auxdir.

18 years agoNew module 'ldd'.
Bruno Haible [Thu, 12 Jan 2006 13:04:57 +0000 (13:04 +0000)]
New module 'ldd'.

18 years agoFix warning, reported by Bruno Haible <bruno@clisp.org> and patch by
Simon Josefsson [Thu, 12 Jan 2006 08:59:35 +0000 (08:59 +0000)]
Fix warning, reported by Bruno Haible <bruno@clisp.org> and patch by
Paul Eggert <eggert@CS.UCLA.EDU>.

18 years agoSync from coreutils.
Paul Eggert [Thu, 12 Jan 2006 05:40:19 +0000 (05:40 +0000)]
Sync from coreutils.
* md5.c: Fix commentary typos.
(OP): Fix spacing.
(alignof, UNALIGNED_P): No need for a GCC-specific version.
* md5.h (__attribute__): Remove; unused.
* sha1.c: Fix commentary to match md5 better.
* sha1.h (struct sha1_ctx): Use a word buffer, not a byte buffer,
so that we don't need to worry about alignment.  All uses changed.
This merges the 2005-10-28 md5 change into sha1.

18 years ago(SIZE_MAX): Add missing (.
Simon Josefsson [Wed, 11 Jan 2006 17:12:47 +0000 (17:12 +0000)]
(SIZE_MAX): Add missing (.

18 years agoMake the AUTOCONF etc. commands overridable by the user.
Bruno Haible [Wed, 11 Jan 2006 16:37:10 +0000 (16:37 +0000)]
Make the AUTOCONF etc. commands overridable by the user.

18 years agoAvoid error due to empty archive on MacOS X.
Bruno Haible [Wed, 11 Jan 2006 13:03:25 +0000 (13:03 +0000)]
Avoid error due to empty archive on MacOS X.

18 years agoEnsure automatic ordering between gl_LOCK and gl_ARGP.
Bruno Haible [Wed, 11 Jan 2006 13:01:13 +0000 (13:01 +0000)]
Ensure automatic ordering between gl_LOCK and gl_ARGP.

18 years agoInitialize also noinst_HEADERS to empty.
Bruno Haible [Wed, 11 Jan 2006 12:59:02 +0000 (12:59 +0000)]
Initialize also noinst_HEADERS to empty.

18 years agoDon't waste time in a recursive autoreconf.
Bruno Haible [Wed, 11 Jan 2006 12:56:40 +0000 (12:56 +0000)]
Don't waste time in a recursive autoreconf.

18 years agoReplace build-aux when it occurs in the autoconf snippet.
Bruno Haible [Wed, 11 Jan 2006 12:24:28 +0000 (12:24 +0000)]
Replace build-aux when it occurs in the autoconf snippet.

18 years ago.
Karl Berry [Wed, 11 Jan 2006 12:06:44 +0000 (12:06 +0000)]
.

18 years agoUndo previous change.
Paul Eggert [Wed, 11 Jan 2006 07:34:33 +0000 (07:34 +0000)]
Undo previous change.

18 years ago* modules/readutmp (Maintainer): Add Paul Eggert.
Paul Eggert [Tue, 10 Jan 2006 22:02:14 +0000 (22:02 +0000)]
* modules/readutmp (Maintainer): Add Paul Eggert.
* modules/strtok_r: Depend on module restrict.
* m4/readutmp.m4 (gl_READUTMP): Don't require gl_FUNC_FREE. Use a
module dependency instead.

18 years ago* argp.h (__const): Remove macro. Use const instead.
Paul Eggert [Tue, 10 Jan 2006 21:49:07 +0000 (21:49 +0000)]
* argp.h (__const): Remove macro. Use const instead.
* argp-fmtstream.h (__const): Likewise.
* glob_.h (__const): Remove macro.
* glob-libc.h: Use const instead of __const.

18 years agoUpdate copyright year.
Paul Eggert [Tue, 10 Jan 2006 21:34:38 +0000 (21:34 +0000)]
Update copyright year.

18 years agoSync from coreutils.
Paul Eggert [Tue, 10 Jan 2006 21:31:01 +0000 (21:31 +0000)]
Sync from coreutils.

Avoid the double-free (first in fts_read, second in fts_close) that
would occur when an `active' directory is made inaccessible (e.g.,
via chmod a-x) during a traversal.
* lib/fts.c (fts_read): After a failed fchdir, update sp->fts_cur
before returning.  Reproduce this failure by
mkdir -p a/b; cd a; chmod a-x . b

* lib/sha1.c: Tweak grammar in a comment.
* m4/fpending.m4: Also include <stdio.h>, for Dragonfly.

* m4/memcoll.m4 (gl_MEMCOLL): Don't require AC_FUNC_MEMCMP, undoing
the 2002-12-31 change.

18 years ago* regex_internal.h (BITSET_WORD_BITS):
Paul Eggert [Tue, 10 Jan 2006 20:14:43 +0000 (20:14 +0000)]
* regex_internal.h (BITSET_WORD_BITS):
Work around a bug in 64-bit PGC (before version 6.1-2), where the
preprocessor mishandles large unsigned values as if they were signed.

18 years agoDepend on 'free' module.
Bruno Haible [Tue, 10 Jan 2006 18:07:16 +0000 (18:07 +0000)]
Depend on 'free' module.

18 years agoautoupdate
Karl Berry [Tue, 10 Jan 2006 16:10:31 +0000 (16:10 +0000)]
autoupdate

18 years agoAdd sys_socket module.
Simon Josefsson [Tue, 10 Jan 2006 14:28:52 +0000 (14:28 +0000)]
Add sys_socket module.

18 years agoOptimize file reading where possible.
Bruno Haible [Tue, 10 Jan 2006 13:57:21 +0000 (13:57 +0000)]
Optimize file reading where possible.

18 years agoUpdate from GNU gettext.
Bruno Haible [Tue, 10 Jan 2006 13:52:11 +0000 (13:52 +0000)]
Update from GNU gettext.

18 years agoAvoid an automake error regarding the 'gettext' module.
Bruno Haible [Tue, 10 Jan 2006 13:37:12 +0000 (13:37 +0000)]
Avoid an automake error regarding the 'gettext' module.

18 years agoAvoid a failure from autoreconf.
Bruno Haible [Tue, 10 Jan 2006 13:35:24 +0000 (13:35 +0000)]
Avoid a failure from autoreconf.

18 years agoRemove entry for fts.c/openat.[ch] that crept in ahead of schedule.
Jim Meyering [Tue, 10 Jan 2006 10:35:23 +0000 (10:35 +0000)]
Remove entry for fts.c/openat.[ch] that crept in ahead of schedule.

18 years agoRegenerate.
Paul Eggert [Mon, 9 Jan 2006 23:50:02 +0000 (23:50 +0000)]
Regenerate.

18 years ago* MODULES.html.sh (build_lib): New section, with new lib-ignore module.
Paul Eggert [Mon, 9 Jan 2006 23:49:54 +0000 (23:49 +0000)]
* MODULES.html.sh (build_lib): New section, with new lib-ignore module.

18 years agoFix typo in previous change; 3 lines were omitted.
Paul Eggert [Mon, 9 Jan 2006 23:42:27 +0000 (23:42 +0000)]
Fix typo in previous change; 3 lines were omitted.