opnsense-src/usr.bin/fetch
Stefan Eßer 97b94f4332 fetch: make -S argument accept values > 2GB
Use strtoll() to parse the argument of the -S option.

FreeBSD has supported 64 bit file offsets for more than 25 years on
all architectures and off_t is a 64 bit integer type for that reason.

While strtol() returns a 64 bit value on 64 LP64 architectures, it
is limit to 32 bit on e.g. i386. The strtoll() function returns a 64
but result on all supported architectures and therefore supports the
possible file lengths and file offsets on 32 bit archtectures.

(cherry picked from commit 32066c96fa)
2022-03-04 20:49:38 +01:00
..
fetch.1 fetch(1): Fix style 2020-10-30 09:48:41 +00:00
fetch.c fetch: make -S argument accept values > 2GB 2022-03-04 20:49:38 +01:00
Makefile pkgbase: Create a FreeBSD-fetch package 2022-01-05 18:23:53 +01:00
Makefile.depend DIRDEPS_BUILD: Update dependencies. 2017-10-31 00:07:04 +00:00