cvs commit: src/bin/cp utils.c
Kris Kennaway
kris at FreeBSD.org
Wed Jan 21 22:23:39 PST 2004
kris 2004/01/21 22:23:38 PST
FreeBSD src repository
Modified files: (Branch: RELENG_4)
bin/cp utils.c
Log:
MFC: Do not try to mmap()/munmap() 0-length files.
This allows a 4.x cp binary to work correctly on 5.x kernels (for which
munmap() of a 0-length mapping returns an error).
Noticed by: bento's 4.x package build
Revision Changes Path
1.27.2.7 +2 -1 src/bin/cp/utils.c
More information about the cvs-src
mailing list