mirror of
https://git.FreeBSD.org/src.git
synced 2024-12-27 11:55:06 +00:00
40fc4ee2de
for regular files. This fixes recent breakage of cp'ing from /dev/zero. /dev/zero doesn't support mmap(), but the device driver mmap routines are not called for mapping 0 bytes, so the error was not detected. mmap() can't even be used for cp'ing special files that support mmap(), since there is general way to determine the file size. |
||
---|---|---|
.. | ||
cp.1 | ||
cp.c | ||
extern.h | ||
Makefile | ||
utils.c |