Properly implement --max-size and --min-size.
authorclaudio <claudio@openbsd.org>
Fri, 29 Oct 2021 08:00:59 +0000 (08:00 +0000)
committerclaudio <claudio@openbsd.org>
Fri, 29 Oct 2021 08:00:59 +0000 (08:00 +0000)
commit82ecafa141821f782b27905d84d46f1f56517adc
tree4ee20ba2ba9d33aafe6e532266bb86b90b8838f2
parent81aa2d714a748cd7b7dfc278669b0d51ad2e30f2
Properly implement --max-size and --min-size.
This uses scan_scaled(3) from libutil which is very similar to how rsync
behaves. Not implemented are the +/-1 math and the 1000 vs 1024 multipliers.
OK benno@ job@
usr.bin/rsync/Makefile
usr.bin/rsync/extern.h
usr.bin/rsync/fargs.c
usr.bin/rsync/main.c
usr.bin/rsync/rsync.1
usr.bin/rsync/uploader.c