Commit Graph
22652 Commits
Author SHA1 Message Date
Jim Meyering 4eafb9d163 *** empty log message *** 2006-01-11 22:11:49 +00:00
Jim Meyering 50114df430 *** empty log message *** 2006-01-11 21:32:56 +00:00
Jim Meyering aa990c11dd *** empty log message *** 2006-01-11 21:31:41 +00:00
Jim Meyering 3ff0576f2b *** empty log message *** 2006-01-11 21:29:20 +00:00
Jim Meyering d7210c4542 Test for today's fts.c bug fix. 2006-01-11 21:29:06 +00:00
Jim Meyering a45c0f4168 (TESTS): Add long-sloop. 2006-01-11 21:21:52 +00:00
Jim Meyering 108b46760a *** empty log message *** 2006-01-11 21:00:42 +00:00
Jim Meyering cf6281916b (fts_stat): When following a symlink-to-directory,
don't interpret all 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.
2006-01-11 21:00:36 +00:00
Jim Meyering e51c87a604 Mark Joerg Sonnenberger's change as tiny. 2006-01-11 20:32:42 +00:00
Paul Eggert b5d36033f1 * src/test.c (test_syntax_error): Append a newline. 2006-01-11 19:30:58 +00:00
Paul Eggert bfbe450d32 (test_syntax_error): Append a newline. All callers
changed, except for the ones that didn't already append a newline.
2006-01-11 19:29:47 +00:00
Jim Meyering f9574570b3 *** empty log message *** 2006-01-11 16:30:08 +00:00
Jim Meyering 08e4a9a00e (fts_open): Put new (2006-01-04) maxarglen declaration and uses in their
own block, so pre-c99 compilers don't object.
2006-01-11 16:29:35 +00:00
Jim Meyering f84dc6ccfc *** empty log message *** 2006-01-11 16:19:06 +00:00
Jim Meyering 614235c849 [!_LIBC]: Include "fcntl--.h", to map open to open_safer. 2006-01-11 16:18:39 +00:00
Jim Meyering dc15b27c50 *** empty log message *** 2006-01-11 15:25:36 +00:00
Jim Meyering 32b8a61ecf (gl_FUNC_OPENAT): Require and compile fchmodat.c.
Check for the lchmod function.
2006-01-11 15:25:30 +00:00
Jim Meyering dc9da6bde0 *** empty log message *** 2006-01-11 13:33:03 +00:00
Jim Meyering 0e42486491 (fchmodat, fchownat): Declare.
(chmodat, lchmodat): Define convenience functions.
(chownat, lchownat): Likewise.
2006-01-11 13:32:47 +00:00
Jim Meyering 9cbd6c0366 (fchownat): New function. 2006-01-11 13:32:03 +00:00
Jim Meyering c6749127ca (fchmodat): New file and function. 2006-01-11 13:30:31 +00:00
Jim Meyering 06df842f61 *** empty log message *** 2006-01-11 10:07:22 +00:00
Jim Meyering d1fe298155 (OP): Remove useless space-before-TAB. 2006-01-11 10:07:13 +00:00
Jim Meyering 20f53c8aac *** empty log message *** 2006-01-11 08:22:43 +00:00
Jim Meyering 6b8b2183e7 (X2NREALLOC): Now that verify_true is no longer void,
cast its result to void, to avoid gcc's warning that
``left-hand operand of comma expression has no effect''.
(DECIMAL_DIGIT_ACCUMULATE, X2REALLOC): Likewise.
2006-01-11 08:22:34 +00:00
Paul Eggert b5284da0c0 Sync from gnulib. 2006-01-11 07:39:40 +00:00
Jim Meyering d5dcff8362 *** empty log message *** 2006-01-10 21:48:19 +00:00
Paul Eggert e06993903e Sync from gnulib. 2006-01-10 20:13:35 +00:00
Paul Eggert 388f158acf Update copyright year. 2006-01-10 20:05:53 +00:00
Paul Eggert 00eeaec5f2 Remove stray "lib/"s in previous change. 2006-01-10 20:01:34 +00:00
Paul Eggert d11af4159e Sync from gnulib. 2006-01-10 17:47:56 +00:00
Jim Meyering 71520b31c0 *** empty log message *** 2006-01-10 11:55:20 +00:00
Jim Meyering 58e925ce5f 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.
2006-01-10 11:55:13 +00:00
Jim Meyering f26f53be9c Add a test for today's fts.c fix. 2006-01-10 11:52:52 +00:00
Jim Meyering e774de2be6 *** empty log message *** 2006-01-10 10:23:27 +00:00
Jim Meyering 6757e33c92 *** empty log message *** 2006-01-10 09:16:10 +00:00
Jim Meyering 0f07bd690c *** empty log message *** 2006-01-10 07:33:30 +00:00
Jim Meyering c0ac40d98f Also include <stdio.h>, for Dragonfly.
Patch by Joerg Sonnenberger.
2006-01-10 07:33:22 +00:00
Jim Meyering b6541058ce *** empty log message *** 2006-01-10 07:31:49 +00:00
Jim Meyering f09a4ffe18 (gobble_file): Use DTTOIF only if it's defined.
This is necessary for Dragonfly.  Patch by Joerg Sonnenberger.
2006-01-10 07:31:21 +00:00
Jim Meyering 0cb6f1cc82 fix typo in comment 2006-01-09 20:32:08 +00:00
Jim Meyering 52b94c3e57 *** empty log message *** 2006-01-08 20:48:04 +00:00
Jim Meyering 28a712f205 (usage): Adjust the formatting of the entries for
%::z and %:::z (separate with two spaces, not one) so that help2man
formats them properly.  Reported by Philip Rowlands.
2006-01-08 20:45:54 +00:00
Paul Eggert cbd0078fcf * lib-ignore.m4: New file. 2006-01-07 01:56:13 +00:00
Paul Eggert 9145f2798c * configure.ac (gl_IGNORE_UNUSED_LIBRARIES): Add. 2006-01-07 01:56:01 +00:00
Paul Eggert f17c770dfe (gl_IGNORE_UNUSED_LIBRARIES): Add. 2006-01-07 01:55:49 +00:00
Paul Eggert 56e7ad3001 Initial version. 2006-01-07 01:55:27 +00:00
Jim Meyering 55e0a76ddc *** empty log message *** 2006-01-06 16:49:15 +00:00
Jim Meyering 7e140557e9 (copyright-check): Use date +%Y in place of hard-coded 2005. 2006-01-06 16:49:10 +00:00
Jim Meyering 00d069f7d9 *** empty log message *** 2006-01-06 16:48:27 +00:00