1
0
mirror of git://git.sv.gnu.org/coreutils.git synced 2026-07-25 18:19:00 +02:00
Commit Graph

22640 Commits

Author SHA1 Message Date
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
Jim Meyering ea20facd90 (COPYRIGHT_YEAR): Update to 2006. 2006-01-06 16:48:24 +00:00
Jim Meyering 7dcf7e3788 *** empty log message *** 2006-01-06 10:14:30 +00:00
Jim Meyering 01ab0b79a1 (rm_1): Remove static' attribute on local status'.
First off, the attribute should have been `volatile' (not static)
to avoid longjmp-related risk of clobber.  Secondly, now there is
no longer any risk of a local variable being clobbered, so there's
no need for any attribute at all.
2006-01-06 10:14:19 +00:00
Jim Meyering de0f11596d *** empty log message *** 2006-01-05 14:31:22 +00:00
Jim Meyering 955fbf3211 Give a few functions the inline attribute.
(AD_pop_and_chdir): Use gotos to avoid some duplication.
(AD_push): Rewrite an assertion so that the entire computation
goes away when assertions are turned off.
2006-01-05 14:28:52 +00:00
Jim Meyering 4b980c0877 *** empty log message *** 2006-01-05 10:30:21 +00:00
Jim Meyering a12500ecac Add a FIXME comment. 2006-01-05 10:30:17 +00:00
Jim Meyering 15556eed38 *** empty log message *** 2006-01-05 10:29:47 +00:00
Jim Meyering 91be6f4495 (ENOSYS) [!defined ENOSYS]: Don't define here.
It's already defined in "system.h".
2006-01-05 10:27:03 +00:00
Jim Meyering 084903a2b1 . 2006-01-04 21:06:39 +00:00
Paul Eggert 15954c3753 (tzname): Don't declare if it is already #defined. 2006-01-04 18:57:24 +00:00
Jim Meyering 72631a7b41 *** empty log message *** 2006-01-04 18:28:46 +00:00