mirror of
https://github.com/opnsense/src.git
synced 2026-02-15 08:38:13 -05:00
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 | ||