cp -R didn't work correctly for FIFO's (programmer head space error)From: "Charles M. Hannum" <mycroft@gnu.ai.mit.edu>
too many arguments to err() functionFrom: Charles Hannum <mycroft@NetBSD.ORG>
don't overwrite a directory with some other type of file, i.e.don't attempt to unlink a directoryFrom: Charles Hannum <mycroft@NetBSD.ORG>
typo
POSIX 1003.2B/D9 symbolic linksmake cp use err/warn, and pass errors back to the calling routineclean up fts_read() usage, fix errno callsmake file-copy failed error clean up after itself immediat
POSIX 1003.2B/D9 symbolic linksmake cp use err/warn, and pass errors back to the calling routineclean up fts_read() usage, fix errno callsmake file-copy failed error clean up after itself immediately
show more ...
If you cp many files the system can run out of something(I haven't investigated exactly what). The problem isthat cp mmaps the source file, but it's never unmapped.From: Lennart Augustsson <augus
If you cp many files the system can run out of something(I haven't investigated exactly what). The problem isthat cp mmaps the source file, but it's never unmapped.From: Lennart Augustsson <augustss@cs.chalmers.se>
4.4BSD snapshot (revision 8.1)
4.4BSD snapshot (revision 8.1); add 1993 to copyright
minor nits
lint
use <sys/time.h> macros to convert timespec to timeval
don't use mmap until the buffer cache and VM are in sync
on second thought, make it symlink(7)
add symlin(1)
don't descend below identical directories
don't descend below skipped directories
fixed bug in directory copying errors.
-p option should preserve file flags as well
MAP_FILE disappears
second arg to mmap is a size_t
whitespace cleanups, no real changes
Added clarification about second synopsis form.
Fixed bug in name concatenation. Made handling ".." directories work the way it should, not like it used to.
Fixed error message bug and made error handling more robust.
1234