gnulib.git
18 years ago* lib/regex.h (regoff_t) [defined _REGEX_LARGE_OFFSETS]:
Paul Eggert [Fri, 17 Mar 2006 07:26:42 +0000 (07:26 +0000)]
* lib/regex.h (regoff_t) [defined _REGEX_LARGE_OFFSETS]:
Typedef to long int, not to off_, as POSIX will likely change
in that direction.

* m4/regex.m4 (gl_REGEX): Don't check for off_t, since the code
no longer needs it.  Instead, check that regoff_t is as least
as wide as ptrdiff_t.

Don't define _REGEX_WIDE_OFFSETS unless using the included regex,
so that our regex.h stays compatible with the installed regex.
This is helpful for installers who configure --without-included-regex.
Problem reported by Emanuele Giaquinta.

18 years ago* dirfd.m4 (gl_FUNC_DIRFD): Use AC_REQUIRE for AC_HEADER_DIRENT.
Eric Blake [Wed, 15 Mar 2006 21:16:25 +0000 (21:16 +0000)]
* dirfd.m4 (gl_FUNC_DIRFD): Use AC_REQUIRE for AC_HEADER_DIRENT.

18 years agoupdate from texinfo
Karl Berry [Tue, 14 Mar 2006 23:15:29 +0000 (23:15 +0000)]
update from texinfo

18 years agoautoupdate
Karl Berry [Mon, 13 Mar 2006 14:32:19 +0000 (14:32 +0000)]
autoupdate

18 years agoUpdate
Sergey Poznyakoff [Mon, 13 Mar 2006 09:52:22 +0000 (09:52 +0000)]
Update

18 years ago(argp_default_options): Consistently begin help messages with a lowercase letter.
Sergey Poznyakoff [Mon, 13 Mar 2006 09:52:05 +0000 (09:52 +0000)]
(argp_default_options): Consistently begin help messages with a lowercase letter.

18 years ago(validate_uparams): Fix typo
Sergey Poznyakoff [Mon, 13 Mar 2006 09:51:53 +0000 (09:51 +0000)]
(validate_uparams): Fix typo

18 years ago* time_r.h (asctime_r, ctime_r): Remove. These functions can
Paul Eggert [Sun, 12 Mar 2006 07:58:12 +0000 (07:58 +0000)]
* time_r.h (asctime_r, ctime_r): Remove.  These functions can
overrun buffers and shouldn't be used (much as gets shouldn't be
used).
* time_r.c (asctime_r, ctime_r): Likewise.

18 years agoautoupdate
Karl Berry [Fri, 10 Mar 2006 14:05:48 +0000 (14:05 +0000)]
autoupdate

18 years agoautoupdate
Karl Berry [Fri, 10 Mar 2006 13:55:50 +0000 (13:55 +0000)]
autoupdate

18 years agoFix typo.
Simon Josefsson [Wed, 8 Mar 2006 16:09:45 +0000 (16:09 +0000)]
Fix typo.

18 years agoFix gc-random module.
Simon Josefsson [Wed, 8 Mar 2006 13:40:30 +0000 (13:40 +0000)]
Fix gc-random module.

18 years ago*** empty log message ***
Simon Josefsson [Wed, 8 Mar 2006 10:42:13 +0000 (10:42 +0000)]
*** empty log message ***

18 years agoFix refresh-po, to handle no translated languages.
Simon Josefsson [Wed, 8 Mar 2006 10:41:37 +0000 (10:41 +0000)]
Fix refresh-po, to handle no translated languages.

18 years ago* gc-random.m4: Call AC_CANONICAL_HOST and use $host_os instead of
Simon Josefsson [Wed, 8 Mar 2006 09:32:40 +0000 (09:32 +0000)]
* gc-random.m4: Call AC_CANONICAL_HOST and use $host_os instead of
$target, suggested by Ralf Wildenhues <Ralf.Wildenhues@gmx.de>.

18 years agoRegenerate.
Paul Eggert [Wed, 8 Mar 2006 01:59:14 +0000 (01:59 +0000)]
Regenerate.

18 years ago* MODULES.html.sh (Support for systems lacking POSIX:2001):
Paul Eggert [Wed, 8 Mar 2006 01:51:28 +0000 (01:51 +0000)]
* MODULES.html.sh (Support for systems lacking POSIX:2001):
Add unistd.

18 years ago* m4/unistd_h.m4 (gl_HEADER_UNISTD): Rename, to match modules file.
Paul Eggert [Wed, 8 Mar 2006 01:45:53 +0000 (01:45 +0000)]
* m4/unistd_h.m4 (gl_HEADER_UNISTD): Rename, to match modules file.
Problem reported by Juan Manuel Guerrero.

18 years ago* lib/c-stack.c: Include unistd.h unconditionally, since we now assume
Paul Eggert [Wed, 8 Mar 2006 01:37:15 +0000 (01:37 +0000)]
* lib/c-stack.c: Include unistd.h unconditionally, since we now assume
the unistd module.
* lib/getlogin_r.c: Likewise.
* lib/getlogin_r.h: Likewise.
* lib/glob.c: Likewise.
* lib/pagealign_alloc.c: Likewise.
* lib/unistd_.h: Remove; no longer needed.
* modules/c-stack (Depends-on): Add unistd.
* modules/getlogin_r: Likewise.
* modules/glob: Likewise.
* modules/pagealign_alloc: Likewise.
* modules/unistd (Files): Remove lib/unistd_.h.
(EXTRA_DIST): Remove.
(unistd.h): Create using 'echo' rather than 'cp', so that we don't
need unistd_.h.
(MOSTLYCLEANFILES): Remove unistd.h-t.

18 years agoautoupdate
Karl Berry [Tue, 7 Mar 2006 14:45:09 +0000 (14:45 +0000)]
autoupdate

18 years agoFix typo.
Simon Josefsson [Tue, 7 Mar 2006 13:44:24 +0000 (13:44 +0000)]
Fix typo.

18 years agoAdd, forgotten in last commit.
Simon Josefsson [Tue, 7 Mar 2006 13:33:04 +0000 (13:33 +0000)]
Add, forgotten in last commit.

18 years agoFix use of unistd.h in getopt through a new unistd module.
Simon Josefsson [Tue, 7 Mar 2006 13:30:51 +0000 (13:30 +0000)]
Fix use of unistd.h in getopt through a new unistd module.

18 years ago* readline.m4 (gl_FUNC_READLINE): Rewrite the cached part of the
Simon Josefsson [Tue, 7 Mar 2006 13:20:11 +0000 (13:20 +0000)]
* readline.m4 (gl_FUNC_READLINE): Rewrite the cached part of the
test to be side-effect free by storing the result in the cache
variable gl_cv_lib_readline, and moving the assignment of
LIBREADLINE and LTLIBREADLINE outside the COMMANDS-TO-SET-IT.
From Ralf Wildenhues <Ralf.Wildenhues@gmx.de>.

18 years agoSplit off gc-random from gc, and only warn on missing devices.
Simon Josefsson [Tue, 7 Mar 2006 13:17:10 +0000 (13:17 +0000)]
Split off gc-random from gc, and only warn on missing devices.

18 years agoGNUORG
Karl Berry [Sat, 4 Mar 2006 17:49:54 +0000 (17:49 +0000)]
GNUORG

18 years agomore copyright files
Karl Berry [Sat, 4 Mar 2006 17:48:54 +0000 (17:48 +0000)]
more copyright files

18 years agoFix poll.m4 for AIX.
Paul Eggert [Sat, 4 Mar 2006 06:35:03 +0000 (06:35 +0000)]
Fix poll.m4 for AIX.

18 years ago(gl_FUNC_POLL): If we deem poll(2) unacceptable, use
Paul Eggert [Sat, 4 Mar 2006 06:34:54 +0000 (06:34 +0000)]
(gl_FUNC_POLL): If we deem poll(2) unacceptable, use
our replacement poll.h in any case, to avoid a differing
declaration from a system header.  Seen on AIX.

18 years agoTypo.
Simon Josefsson [Fri, 3 Mar 2006 16:36:17 +0000 (16:36 +0000)]
Typo.

18 years ago* build-aux/maint.mk: Add refresh-po rule, based on ideas from
Simon Josefsson [Fri, 3 Mar 2006 14:57:13 +0000 (14:57 +0000)]
* build-aux/maint.mk: Add refresh-po rule, based on ideas from
libidn and bison.

18 years ago* build-aux/maint.mk: Add several syntax checks from CoreUtils.
Simon Josefsson [Fri, 3 Mar 2006 14:11:19 +0000 (14:11 +0000)]
* build-aux/maint.mk: Add several syntax checks from CoreUtils.

18 years agoIndent.
Simon Josefsson [Fri, 3 Mar 2006 13:36:06 +0000 (13:36 +0000)]
Indent.

18 years ago* build-aux/maint.mk: Add indent target.
Simon Josefsson [Fri, 3 Mar 2006 13:31:30 +0000 (13:31 +0000)]
* build-aux/maint.mk: Add indent target.

18 years agomore copyright forms
Karl Berry [Fri, 3 Mar 2006 00:02:44 +0000 (00:02 +0000)]
more copyright forms

18 years ago.
Karl Berry [Thu, 2 Mar 2006 09:02:41 +0000 (09:02 +0000)]
.

18 years ago* modules/gettime (Depends-on): Add extensions module.
Paul Eggert [Thu, 2 Mar 2006 07:36:41 +0000 (07:36 +0000)]
* modules/gettime (Depends-on): Add extensions module.
* modules/nanosleep (Depends-on): Likewise.
* modules/settime (Depends-on): Likewise.
* m4/clock_time.m4 (gl_CLOCK_TIME): Require gl_USE_SYSTEM_EXTENSIONS,
not merely AC_GNU_SOURCE, for the benefit of Solaris 10 when compiled
pedantically.
* m4/nanosleep.m4 (gl_FUNC_NANOSLEEP): Likewise.
* m4/timespec.m4 (gl_TIMESPEC): Likewise.

18 years ago* extensions.m4 (gl_USE_SYSTEM_EXTENSIONS): Use "=" with "test", not "==".
Paul Eggert [Thu, 2 Mar 2006 00:04:59 +0000 (00:04 +0000)]
* extensions.m4 (gl_USE_SYSTEM_EXTENSIONS): Use "=" with "test", not "==".

18 years agomore copyright forms
Karl Berry [Wed, 1 Mar 2006 14:54:25 +0000 (14:54 +0000)]
more copyright forms

18 years agocopyright papers
Karl Berry [Wed, 1 Mar 2006 14:28:40 +0000 (14:28 +0000)]
copyright papers

18 years ago*** empty log message ***
Simon Josefsson [Wed, 1 Mar 2006 08:44:25 +0000 (08:44 +0000)]
*** empty log message ***

18 years agoFix typo, from Stepan Kasal <kasal@ucw.cz>.
Simon Josefsson [Wed, 1 Mar 2006 08:44:05 +0000 (08:44 +0000)]
Fix typo, from Stepan Kasal <kasal@ucw.cz>.

18 years ago* mkdir-p.m4 (gl_MKDIR_PARENTS): Require gl_FUNC_LCHMOD and gl_CHDIR_SAFER.
Paul Eggert [Wed, 1 Mar 2006 00:11:04 +0000 (00:11 +0000)]
* mkdir-p.m4 (gl_MKDIR_PARENTS): Require gl_FUNC_LCHMOD and gl_CHDIR_SAFER.
* chdir-safer.m4: New file.

18 years ago2006-02-17 Eric Blake <address@hidden>
Simon Josefsson [Tue, 28 Feb 2006 14:52:22 +0000 (14:52 +0000)]
2006-02-17  Eric Blake  <address@hidden>

* getaddrinfo.m4 (gl_GETADDRINFO): Fix caching error.

18 years agoautoupdate
Karl Berry [Mon, 27 Feb 2006 20:07:31 +0000 (20:07 +0000)]
autoupdate

18 years ago* base64.h: Indent #define's. From Jim Meyering <jim@meyering.net>.
Simon Josefsson [Mon, 27 Feb 2006 11:26:13 +0000 (11:26 +0000)]
* base64.h: Indent #define's.  From Jim Meyering <jim@meyering.net>.

18 years ago*** empty log message ***
Jim Meyering [Mon, 27 Feb 2006 08:43:30 +0000 (08:43 +0000)]
*** empty log message ***

18 years ago*** empty log message ***
Jim Meyering [Mon, 27 Feb 2006 06:45:15 +0000 (06:45 +0000)]
*** empty log message ***

18 years agoundo last change -- this file is sync'd from gettext
Jim Meyering [Mon, 27 Feb 2006 06:37:59 +0000 (06:37 +0000)]
undo last change -- this file is sync'd from gettext

18 years ago.
Karl Berry [Sun, 26 Feb 2006 14:20:34 +0000 (14:20 +0000)]
.

18 years ago* modules/intprops: New file.
Paul Eggert [Sun, 26 Feb 2006 08:45:03 +0000 (08:45 +0000)]
* modules/intprops: New file.
* MODULES.html.sh (Numeric conversion functions <stdlib.h>):
Add intprops.
* modules/getloadavg (Files): Remove lib/intprops.h.
(Depends-on): Add intprops.
* modules/human: Likewise.
* modules/inttostr: Likewise.
* modules/openat: Likewise.
* modules/sig2str: Likewise.
* modules/userspec: Likewise.
* modules/utimecmp: Likewise.
* modules/xnanosleep: Likewise.
* modules/xstrtol: Likewise.

18 years ago* glob.c: Say "invalid" rather than "illegal" in comments.
Paul Eggert [Sat, 25 Feb 2006 07:57:46 +0000 (07:57 +0000)]
* glob.c: Say "invalid" rather than "illegal" in comments.

18 years agoillegal -> invalid
Paul Eggert [Sat, 25 Feb 2006 07:57:37 +0000 (07:57 +0000)]
illegal -> invalid

18 years ago* modules/xstrtod: Omit xstrtod.h, xstrtod.c; they're in LIB_SOURCES.
Paul Eggert [Sat, 25 Feb 2006 05:07:39 +0000 (05:07 +0000)]
* modules/xstrtod: Omit xstrtod.h, xstrtod.c; they're in LIB_SOURCES.
* modules/lock-tests (TESTS): Use $(EXEEXT).
* modules/tls-tests: Likewise.
* modules/argp-tests: Likewise.
(check_PROGRAMS): New var, replacing...
(noinst_PROGRAMS, test_argp_SOURCES): Remove.

18 years agoautoupdate
Karl Berry [Fri, 24 Feb 2006 14:35:02 +0000 (14:35 +0000)]
autoupdate

18 years ago*** empty log message ***
Jim Meyering [Fri, 24 Feb 2006 10:10:45 +0000 (10:10 +0000)]
*** empty log message ***

18 years ago*** empty log message ***
Jim Meyering [Fri, 24 Feb 2006 10:10:13 +0000 (10:10 +0000)]
*** empty log message ***

18 years agoNormalize inclusion of `config.h'.
Jim Meyering [Fri, 24 Feb 2006 10:09:59 +0000 (10:09 +0000)]
Normalize inclusion of `config.h'.

18 years ago.
Karl Berry [Fri, 24 Feb 2006 09:02:22 +0000 (09:02 +0000)]
.

18 years agoinfo html dvi targets
Karl Berry [Fri, 24 Feb 2006 00:19:55 +0000 (00:19 +0000)]
info html dvi targets

18 years ago* getcwd.c (AT_FDCWD): Work around a bug in Solaris 9 and 10, where
Paul Eggert [Tue, 21 Feb 2006 06:40:34 +0000 (06:40 +0000)]
* getcwd.c (AT_FDCWD): Work around a bug in Solaris 9 and 10, where
AT_FDCWD exceeds INT_MAX.
* openat.h (AT_FDCWD): Likewise.

18 years ago* sys_socket_h.m4 (gl_HEADER_SYS_SOCKET): Don't attempt using
Simon Josefsson [Thu, 16 Feb 2006 09:48:07 +0000 (09:48 +0000)]
* sys_socket_h.m4 (gl_HEADER_SYS_SOCKET): Don't attempt using
winsock2.h or ws2tcpip.h when sys/socket.h is present. Fixes
'present but cannot compile' warnings on cygwin.
* socklen.m4 (gl_TYPE_SOCKLEN_T): Use gl_HEADER_SYS_SOCKET.  Don't
use ws2tcpip.h if sys/socket.h works.
* getaddrinfo.m4 (gl_PREREQ_GETADDRINFO): Use gl_HEADER_SYS_SOCKET.
(gl_GETADDRINFO): Don't use ws2tcpip.h when sys/socket.h is present.

18 years ago*** empty log message ***
Simon Josefsson [Thu, 16 Feb 2006 09:47:39 +0000 (09:47 +0000)]
*** empty log message ***

18 years ago* modules/getaddrinfo (Depends-on): Add sys_socket.
Simon Josefsson [Thu, 16 Feb 2006 09:47:28 +0000 (09:47 +0000)]
* modules/getaddrinfo (Depends-on): Add sys_socket.

18 years ago* build-aux/maint.mk: Add dsyntax-check rule.
Simon Josefsson [Wed, 15 Feb 2006 10:42:40 +0000 (10:42 +0000)]
* build-aux/maint.mk: Add dsyntax-check rule.

18 years ago.
Karl Berry [Wed, 15 Feb 2006 08:44:39 +0000 (08:44 +0000)]
.

18 years agoSync from coreutils.
Paul Eggert [Tue, 14 Feb 2006 23:00:23 +0000 (23:00 +0000)]
Sync from coreutils.

* modules/lstat (Depends-on): Don't depend on xalloc.
(License): Change from GPL to LGPL, since this is now simply a
replacement for a libc function.

Eliminate the unwelcome (albeit unlikely) possibility of xmalloc
failure on deficient systems, and simplify gnulib lgpl dependencies.
* lib/lstat.c (rpl_lstat): Rewrite to use stat() in place of the
xmalloc/lstat combination.  Based on a patch from Bruno Haible.

* lib/xalloc-die.c: Remove unused definition of N_.

* m4/ls-mntd-fs.m4 (AC_FUNC_GETMNTENT): Invoke AC_CHECK_FUNCS(getmntent)
unconditionally so that tests of $ac_cv_func_getmntent (e.g., in
gl_LIST_MOUNTED_FILE_SYSTEMS) need not double-quote uses of that
variable, to accommodate the rare case in which getmntent is
available in none of the libraries checked.  This happens at
least on FreeBSD 5.0.

18 years agoautoupdate
Karl Berry [Tue, 14 Feb 2006 15:02:50 +0000 (15:02 +0000)]
autoupdate

18 years ago*** empty log message ***
Simon Josefsson [Tue, 14 Feb 2006 12:54:03 +0000 (12:54 +0000)]
*** empty log message ***

18 years ago* modules/maintainer-makefile (Files): Rename.
Simon Josefsson [Tue, 14 Feb 2006 12:53:58 +0000 (12:53 +0000)]
* modules/maintainer-makefile (Files): Rename.

18 years ago* build-aux/GNUmakefile: Rename Makefile.maint to maint.mk
Simon Josefsson [Tue, 14 Feb 2006 12:52:55 +0000 (12:52 +0000)]
* build-aux/GNUmakefile: Rename Makefile.maint to maint.mk
and (the local) Makefile.cfg to maint-cfg.mk.
* build-aux/Makefile.maint, build-aux/maint.mk: Renamed the former
to the latter.

18 years ago* modules/maintainer-makefile: New module.
Simon Josefsson [Tue, 14 Feb 2006 11:25:31 +0000 (11:25 +0000)]
* modules/maintainer-makefile: New module.
* build-aux/Makefile.maint: New file, from GNU CoreUtils, although
severaly stripped to make it possible to build it up from scratch
with reliable tests.
* build-aux/GNUmakefile: New file, from GNU CoreUtils with some
fixes to permit overriding the default actions when configure and
makefile are not available.

18 years agoupdate from texinfo
Karl Berry [Tue, 14 Feb 2006 00:44:51 +0000 (00:44 +0000)]
update from texinfo

18 years agono argp
Karl Berry [Mon, 13 Feb 2006 21:58:43 +0000 (21:58 +0000)]
no argp

18 years ago* gnulib-tool (Usage): Fix --import, from
Simon Josefsson [Mon, 13 Feb 2006 15:40:25 +0000 (15:40 +0000)]
* gnulib-tool (Usage): Fix --import, from
karl@freefriends.org (Karl Berry).

18 years agoUpdate
Sergey Poznyakoff [Mon, 13 Feb 2006 13:37:42 +0000 (13:37 +0000)]
Update

18 years agoRestore another bugfix lost on 2005-12-12
Sergey Poznyakoff [Mon, 13 Feb 2006 13:25:58 +0000 (13:25 +0000)]
Restore another bugfix lost on 2005-12-12

18 years agoAdd 2006 to copyright year.
Paul Eggert [Mon, 13 Feb 2006 08:09:15 +0000 (08:09 +0000)]
Add 2006 to copyright year.

18 years agonon-gnu standards
Karl Berry [Wed, 8 Feb 2006 23:07:13 +0000 (23:07 +0000)]
non-gnu standards

18 years ago.
Karl Berry [Wed, 8 Feb 2006 08:44:36 +0000 (08:44 +0000)]
.

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