Jim Meyering
d3ea604602
*** empty log message ***
2005-05-16 13:11:04 +00:00
Jim Meyering
40cd9fdf30
(gl_FUNC_FTS): Don't require AC_FUNC_MALLOC or AC_FUNC_REALLOC.
...
They are not needed.
2005-05-16 13:10:53 +00:00
Paul Eggert
842c8c486f
Sync from gnulib (scriptversion change only).
2005-05-15 07:03:04 +00:00
Paul Eggert
99ad01b0d5
Use geteuid, not getuid. Set "initialized" only if it was clear.
2005-05-15 05:57:31 +00:00
Paul Eggert
6517e41a01
Sync from gnulib.
2005-05-15 04:35:48 +00:00
Jim Meyering
53a152ff60
.
2005-05-14 19:13:51 +00:00
Jim Meyering
10f6a16c7b
*** empty log message ***
2005-05-14 10:34:13 +00:00
Jim Meyering
4ecefdf18a
Register unlinkdir.c and unlinkdir.h via AC_LIBSOURCES.
...
Add `AC_LIBOBJ([unlinkdir])'.
2005-05-14 10:34:00 +00:00
Paul Eggert
070140df89
Regenerate.
2005-05-14 08:17:38 +00:00
Jim Meyering
afae3029ef
tweak cpp indentation on one line
2005-05-14 08:14:47 +00:00
Paul Eggert
676c76bee7
New unlinkdir module.
2005-05-14 08:12:17 +00:00
Paul Eggert
fe7b1c00b9
(gl_PREREQ): Require gl_UNLINKDIR.
2005-05-14 08:11:32 +00:00
Paul Eggert
7b18bf3811
* unlinkdir.c, unlinkdir.h: New files.
2005-05-14 08:09:23 +00:00
Paul Eggert
be13a1f653
* src/remove.c: Use new unlinkdir module.
2005-05-14 08:06:22 +00:00
Paul Eggert
0675749903
Include unlinkdir.h.
...
(UNLINK_CAN_UNLINK_DIRS): Remove.
(remove_entry): Use cannot_unlink_dirs () rather than
UNLINK_CAN_UNLINK_DIRS.
2005-05-14 08:05:35 +00:00
Jim Meyering
effcdb2647
remove recent temporary additions
2005-05-14 08:05:04 +00:00
Jim Meyering
8ac343fffa
Correct cpp indentation
2005-05-14 08:03:44 +00:00
Paul Eggert
2e71ba4dd2
New unlinkdir module.
2005-05-14 08:01:17 +00:00
Jim Meyering
44d59bb168
Update FSF postal mail address.
2005-05-14 07:58:31 +00:00
Jim Meyering
116e6fb244
Update FSF postal mail address.
2005-05-14 07:58:06 +00:00
Jim Meyering
a5d7b5f8aa
One more
...
gethrxtime.c
2005-05-14 07:57:58 +00:00
Jim Meyering
f9be76236b
Add these temporarily:
...
unlocked-io.h
gethrxtime.h
mountlist.h
xtime.h
path-concat.c
2005-05-14 07:57:36 +00:00
Jim Meyering
c6db442aee
unlocked-io.h
2005-05-14 07:56:31 +00:00
Jim Meyering
7e387bd78d
.
2005-05-14 07:40:16 +00:00
Jim Meyering
979d7201a7
don't add gl_UNLINKDIR just yet :)
2005-05-14 07:36:16 +00:00
Jim Meyering
e4a2650e94
.
2005-05-14 07:34:36 +00:00
Jim Meyering
3788003d66
*** empty log message ***
2005-05-14 07:27:24 +00:00
Jim Meyering
3c0cce93e2
Don't require gl_FUNC_STAT or gl_FUNC_LSTAT.
2005-05-14 07:27:21 +00:00
Jim Meyering
54cd404524
Remove unnecessary file.
2005-05-14 07:27:06 +00:00
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