diff options
| author | Jim Meyering <jim@meyering.net> | 2006-09-29 09:54:24 +0000 |
|---|---|---|
| committer | Jim Meyering <jim@meyering.net> | 2006-09-29 09:54:24 +0000 |
| commit | a4d470409f5590b95d33ab67e5866ab71e4f0e27 (patch) | |
| tree | 063eddc8b35a52abf51ae0d9e99483029015d5cd /tests/seq/basic | |
| parent | fix typo: s/dignostic/diagnostic/ (diff) | |
| download | coreutils-a4d470409f5590b95d33ab67e5866ab71e4f0e27.tar.gz coreutils-a4d470409f5590b95d33ab67e5866ab71e4f0e27.zip | |
Work around a readdir bug in Darwin 7.9.0 (MacOS X 10.3.9) on HFS+
and NFS, whereby rm would not remove all files in a directory.
* src/remove.c (CONSECUTIVE_READDIR_UNLINK_THRESHOLD): Reduce to 10.
(NEED_REWIND): New macro, so that we incur the cost of the work-around
rewinddir only on afflicted systems.
* NEWS: Clarify and correct.
* tests/rm/readdir-bug: New file. Test for the above fix.
* tests/rm/Makefile.am (TESTS): Add it.
Prompted by testing and analysis from Bruno Haible:
http://lists.gnu.org/archive/html/bug-coreutils/2006-09/msg00326.html
Diffstat (limited to 'tests/seq/basic')
0 files changed, 0 insertions, 0 deletions
