CVSROOT: /cvs Module name: src Changes by: [email protected] 2019/08/26 16:22:14
Modified files:
usr.bin/rsync : uploader.c
Log message:
replace a mmap() with pread(). The mmap() is not needed, the file is
read sequentially anyway, (hash-sized) block by block. This avoids
counting potentially large files against the memory limits of the
process. Problem reported by Jan Stary, thanks.
ok deraadt@
