K 10 svn:author V 3 bde K 8 svn:date V 27 1998-11-18T11:47:45.000000Z K 7 svn:log V 411 Don't use mmap() for non-regular files, since st_size is only meaningful 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. END