Commit Graph
20850 Commits
Author SHA1 Message Date
Jim Meyering 48cf66ad55 *** empty log message *** 2005-05-14 07:25:57 +00:00
Jim Meyering 661e61bac5 Update FSF postal mail address. 2005-05-14 07:25:26 +00:00
Jim Meyering f096a0da75 *** empty log message *** 2005-05-14 06:58:11 +00:00
Jim Meyering c0c815af8d Update FSF postal mail address. 2005-05-14 06:57:06 +00:00
Paul Eggert 4a3c27dd70 "bytes, words and lines" -> "lines, words, and bytes" in comment 2005-05-13 19:35:06 +00:00
Jim Meyering 909dd8df1c fix grammar typo in comment 2005-05-13 08:42:35 +00:00
Jim Meyering a738692de4 . 2005-05-13 08:20:32 +00:00
Jim Meyering fbb6084338 rm now performs run-time test to work around buggy readdir implementations 2005-05-13 08:16:53 +00:00
Jim Meyering 79c068deb3 *** empty log message *** 2005-05-13 07:53:57 +00:00
Jim Meyering ac67bbc649 (gl_MACROS): Don't require GL_FUNC_READDIR. 2005-05-13 07:53:47 +00:00
Jim Meyering 94181613c3 (GL_FUNC_READDIR): Remove, now that remove.c no longer needs it. 2005-05-13 07:53:30 +00:00
Jim Meyering 7c01c060c2 *** empty log message *** 2005-05-13 07:39:56 +00:00
Jim Meyering c176e34468 * NEWS: `rm -r' now removes all of the files it should, even on
systems with a buggy readdir affecting file systems inaccessible
at configure time.

In some unusual circumstances `rm -r' would fail to remove --
or even consider -- all entries in a directory with more than 254
(SunOS) or 338 (Darwin) entries.  This could cause trouble even on
other types of systems when using an affected file system via e.g.,
NFS.  The underlying cause was a bug in readdir on those systems.
Coreutils-5.2.1 and earlier used a configure-time test designed
to detect precisely those problem systems, but it would detect
the problem and enable remove.c's work-around code only when its
configure-time test was run on a losing file system.  Obviously,
it couldn't detect a problem if the offending file system wasn't
tested or even mounted at coreutils configure time.  Now, rm itself
performs a minimal-cost run-time test to detect the problem.

(CONSECUTIVE_READDIR_UNLINK_THRESHOLD): Define.
(remove_cwd_entries):  When readdir returns NULL for a directory from
which we've removed more than CONSECUTIVE_READDIR_UNLINK_THRESHOLD
entries, call rewinddir and then resume the readdir/unlink loop.
(UNLINK_CAN_UNLINK_DIRS): Rename from ROOT_CAN_UNLINK_DIRS.
2005-05-13 07:39:50 +00:00
Paul Eggert be5f7b36a1 nohup now closes stdin if it is a terminal, unless POSIXLY_CORRECT is set. 2005-05-12 09:25:16 +00:00
Paul Eggert 13620274ae (main): nohup now closes stdin if it is a terminal, unless
POSIXLY_CORRECT is set.
2005-05-12 09:24:56 +00:00
Paul Eggert b24a3e8391 (nohup invocation): nohup now closes stdin if it is a terminal, unless
POSIXLY_CORRECT is set.
2005-05-12 09:24:27 +00:00
Paul Eggert 5a1ef0fd79 nohup now closes stdin if it is a terminal, unless POSIXLY_CORRECT is set. 2005-05-12 09:23:56 +00:00
Jim Meyering 83ef1d6911 *** empty log message *** 2005-05-12 08:24:03 +00:00
Jim Meyering a5c650d56c Assume `free (NULL)' works. 2005-05-12 07:56:14 +00:00
Jim Meyering 55646e00b9 Assume `free (NULL)' works. 2005-05-12 07:55:15 +00:00
Jim Meyering 258fbb8860 Assume `free (NULL)' works. 2005-05-12 07:54:10 +00:00
Jim Meyering c73cf11291 Assume `free (NULL)' works. 2005-05-12 07:53:37 +00:00
Paul Eggert 6242e3ebfd Update copyright date. 2005-05-11 20:27:11 +00:00
Paul Eggert 156bd843f1 * getdate.texi (General date syntax): Don't say that date
date --iso-8601=ns generates acceptable dates.
2005-05-11 20:25:01 +00:00
Paul Eggert 41e07fd117 (General date syntax): Don't say that date
date --iso-8601=ns generates acceptable dates; it doesn't yet.
2005-05-11 20:24:42 +00:00
Paul Eggert 4b1117eedf * getopt.m4 (gl_GETOPT): Check for Solaris 10 bug, not decl, when possible. 2005-05-10 19:10:23 +00:00
Paul Eggert 7a0461caab (gl_GETOPT): Check for Solaris 10 bug, not decl, when possible. 2005-05-10 19:09:23 +00:00
Jim Meyering b323c05979 . 2005-05-10 13:46:21 +00:00
Jim Meyering a79a5572e1 *** empty log message *** 2005-05-10 13:39:19 +00:00
Jim Meyering 87d6e640a1 Add Vietnamese (vi). 2005-05-10 13:39:15 +00:00
Jim Meyering cf99eaf8e7 version: 5.3.0 2005-05-10 13:38:31 +00:00
Jim Meyering 2113d67f69 Skip this test if the user running it owns `/' or has write access to it. 2005-05-10 13:30:39 +00:00
Jim Meyering cd6c5b7422 *** empty log message *** 2005-05-10 13:30:33 +00:00
Jim Meyering f1934ed713 *** empty log message *** 2005-05-10 12:59:49 +00:00
Jim Meyering c2666e4b18 Skip the test if the user running it has write access to `/'. 2005-05-10 12:59:44 +00:00
Jim Meyering 4c2413d79f . 2005-05-10 07:42:12 +00:00
Jim Meyering d902ba0ad5 (TESTS): Add reply-no. 2005-05-10 07:42:01 +00:00
Jim Meyering c4fa42049d *** empty log message *** 2005-05-10 07:38:20 +00:00
Jim Meyering f81cd0f71b *** empty log message *** 2005-05-10 07:35:46 +00:00
Jim Meyering 6a23527114 (abandon_move): Remove erroneous UNWRITABLE check.
This makes `mv -i --reply=no f1 f2' work as expected (in not
performing the move operation).  But note that specifying `-i'
after `--reply=no' does *not* work.
Tiny patch from Vlada Macek.
2005-05-10 07:35:43 +00:00
Jim Meyering 6f1c1df83d *** empty log message *** 2005-05-10 07:28:10 +00:00
Jim Meyering 208bacc4b7 *** empty log message *** 2005-05-10 07:25:24 +00:00
Jim Meyering 7bbaee80e2 *** empty log message *** 2005-05-10 06:59:27 +00:00
Jim Meyering 49f3c23dad Don't print PATH to stderr. 2005-05-10 06:59:24 +00:00
Jim Meyering 1830033440 *** empty log message *** 2005-05-10 06:36:21 +00:00
Paul Eggert d766c0a42a (fts_sort): Optimize the common case where all pointers smell the same. 2005-05-09 23:54:26 +00:00
Paul Eggert a7864df9ba * fts_.h, fts.c: More C89 portability fixes. 2005-05-09 18:53:54 +00:00
Paul Eggert 3b3a3a9520 (__P): Remove. All uses rewritten to assume C89 or better.
(fts_open): Don't cast a function value in a possibly-unsafe way.
(fts_compar): New function.
(fts_sort): Use it.
2005-05-09 18:53:33 +00:00
Paul Eggert 3ed3fb2d81 (FTS): Use correct type for fts_compar member.
(FTSENT): New member fts_fts.  Remove members fts_ino, fts_dev,
fts_nlink; no longer needed now that fts_statp is always there.
All uses changed to use fts_statp instead.
2005-05-09 18:53:11 +00:00
Jim Meyering ea345c5774 . 2005-05-08 18:54:26 +00:00