summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2005-05-18Include canonicalize.h first, to test interface.Paul Eggert
Include <stddef.h> unconditionally, since we assume C89 now. All uses of PTR_INT_TYPE replaced by ptrdiff_t.
2005-05-18Add copyright notice. gl_LIB_CHECK -> cu_LIB_CHECK.Paul Eggert
2005-05-16Fix Cygwin porting problem reported by Eric Blake.Paul Eggert
2005-05-16Fix Cygwin porting problem reported by Eric Blake.Paul Eggert
(DT_IS_DIR): Remove. (DT_IS_KNOWN, DT_MUST_BE): New macros. (remove_entry): Use them.
2005-05-16*** empty log message ***Jim Meyering
2005-05-16(gl_FUNC_FTS): Don't require AC_FUNC_MALLOC or AC_FUNC_REALLOC.Jim Meyering
They are not needed.
2005-05-15Sync from gnulib (scriptversion change only).Paul Eggert
2005-05-15Use geteuid, not getuid. Set "initialized" only if it was clear.Paul Eggert
2005-05-15Sync from gnulib.Paul Eggert
2005-05-14.Jim Meyering
2005-05-14*** empty log message ***Jim Meyering
2005-05-14Register unlinkdir.c and unlinkdir.h via AC_LIBSOURCES.Jim Meyering
Add `AC_LIBOBJ([unlinkdir])'.
2005-05-14Regenerate.Paul Eggert
2005-05-14tweak cpp indentation on one lineJim Meyering
2005-05-14New unlinkdir module.Paul Eggert
2005-05-14(gl_PREREQ): Require gl_UNLINKDIR.Paul Eggert
2005-05-14* unlinkdir.c, unlinkdir.h: New files.Paul Eggert
2005-05-14* src/remove.c: Use new unlinkdir module.Paul Eggert
2005-05-14Include unlinkdir.h.Paul Eggert
(UNLINK_CAN_UNLINK_DIRS): Remove. (remove_entry): Use cannot_unlink_dirs () rather than UNLINK_CAN_UNLINK_DIRS.
2005-05-14remove recent temporary additionsJim Meyering
2005-05-14Correct cpp indentationJim Meyering
2005-05-14New unlinkdir module.Paul Eggert
2005-05-14Update FSF postal mail address.Jim Meyering
2005-05-14Update FSF postal mail address.Jim Meyering
2005-05-14One moreJim Meyering
gethrxtime.c
2005-05-14Add these temporarily:Jim Meyering
unlocked-io.h gethrxtime.h mountlist.h xtime.h path-concat.c
2005-05-14unlocked-io.hJim Meyering
2005-05-14.Jim Meyering
2005-05-14don't add gl_UNLINKDIR just yet :)Jim Meyering
2005-05-14.Jim Meyering
2005-05-14*** empty log message ***Jim Meyering
2005-05-14Don't require gl_FUNC_STAT or gl_FUNC_LSTAT.Jim Meyering
2005-05-14Remove unnecessary file.Jim Meyering
2005-05-14*** empty log message ***Jim Meyering
2005-05-14Update FSF postal mail address.Jim Meyering
2005-05-14*** empty log message ***Jim Meyering
2005-05-14Update FSF postal mail address.Jim Meyering
2005-05-13"bytes, words and lines" -> "lines, words, and bytes" in commentPaul Eggert
2005-05-13fix grammar typo in commentJim Meyering
2005-05-13.Jim Meyering
2005-05-13rm now performs run-time test to work around buggy readdir implementationsJim Meyering
2005-05-13*** empty log message ***Jim Meyering
2005-05-13(gl_MACROS): Don't require GL_FUNC_READDIR.Jim Meyering
2005-05-13(GL_FUNC_READDIR): Remove, now that remove.c no longer needs it.Jim Meyering
2005-05-13*** empty log message ***Jim Meyering
2005-05-13* NEWS: `rm -r' now removes all of the files it should, even onJim Meyering
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-12nohup now closes stdin if it is a terminal, unless POSIXLY_CORRECT is set.Paul Eggert
2005-05-12(main): nohup now closes stdin if it is a terminal, unlessPaul Eggert
POSIXLY_CORRECT is set.
2005-05-12(nohup invocation): nohup now closes stdin if it is a terminal, unlessPaul Eggert
POSIXLY_CORRECT is set.
2005-05-12nohup now closes stdin if it is a terminal, unless POSIXLY_CORRECT is set.Paul Eggert