summaryrefslogtreecommitdiffstats
path: root/lib/libc
diff options
context:
space:
mode:
authordes <des@FreeBSD.org>2000-07-25 14:41:02 +0000
committerdes <des@FreeBSD.org>2000-07-25 14:41:02 +0000
commite534b00520eb5f1e40415e2537be435b7523dedc (patch)
tree94febc735cf146d49f6846c84f84fa82a3a225bf /lib/libc
parentd540fdf263bcdcb13569b9f42a85e8fd85ca8a3c (diff)
downloadFreeBSD-src-e534b00520eb5f1e40415e2537be435b7523dedc.zip
FreeBSD-src-e534b00520eb5f1e40415e2537be435b7523dedc.tar.gz
If the server reports the size as 0, treat it as unknown. This works around
a bug in some ftp servers (most notably ftp.vmunix.com) which report the size of a file correctly in ascii mode, but report it as 0 in binary mode. Reported by: asmodai Also remove an unneeded initialization.
Diffstat (limited to 'lib/libc')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud