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
Paul Eggert
cd8fce3088
cp, ln, mv, rm no longer discard white space when intepreting responses.
2005-05-08 16:52:43 +00:00
Jim Meyering
7f26e14e3a
.
2005-05-08 16:52:38 +00:00
Paul Eggert
963e363388
* yesno.c: Include getline.h, not ctype.h.
...
(yesno): Don't remove leading white space; POSIX doesn't allow it.
Use getline to remove arbitrary restriction on response length.
2005-05-08 16:50:57 +00:00
Jim Meyering
3a1abe7485
remove trailing blanks
2005-05-06 21:08:39 +00:00
Paul Eggert
c0fd619103
dd has new iflag= and oflag= flags "binary" and "text".
2005-05-06 17:57:59 +00:00
Paul Eggert
b3f58e2acf
* coreutils.texi (dd invocation): New flags "binary" and "text".
2005-05-06 17:57:45 +00:00
Paul Eggert
db028141f5
(dd invocation): New flags "binary" and "text".
2005-05-06 17:57:35 +00:00
Paul Eggert
026894fd09
(flags, usage): Add support for "binary" and "text".
2005-05-06 17:57:10 +00:00
Paul Eggert
d5f20ebe16
dd has new iflag= and oflag= flags "binary" and "text".
2005-05-06 17:56:49 +00:00
Paul Eggert
f9aa4b0e4b
* getopt.m4 (gl_GETOPT): Check for Solaris 10 getopt, and avoid
...
needless checks.
2005-05-06 00:59:46 +00:00
Paul Eggert
38c0488d28
(gl_GETOPT): Check for Solaris 10 getopt, and avoid needless checks.
2005-05-06 00:59:33 +00:00
Paul Eggert
3cccf50ce3
* makepath.c (make_path): chdir to "//", not "/", if the file name
...
starts with exactly two slashes.
2005-05-05 08:00:03 +00:00