diff options
author | Glenn L McGrath <bug1@ihug.co.nz> | 2003-08-28 21:55:22 +0000 |
---|---|---|
committer | Glenn L McGrath <bug1@ihug.co.nz> | 2003-08-28 21:55:22 +0000 |
commit | 83e4a5bccf3b06f9b2cbd708d48d1ea0602297c6 (patch) | |
tree | 459bcd4f0aca9d75f883b91130fd4236e06b6d5c /coreutils/dirname.c | |
parent | 8b96b7169d0af8c1b7ede14755a8bd4492f894d0 (diff) | |
download | busybox-83e4a5bccf3b06f9b2cbd708d48d1ea0602297c6.tar.gz |
"When the filesize is known from content-length header, safe_fread is
always told to read sizeof(buf). This waits until the underlying
fread() to time-out for the last part of the downloaded body. Fix
this by sending the number of remaining bytes to read when known." -
junkio@
I reworked the logic in his patch
Diffstat (limited to 'coreutils/dirname.c')
0 files changed, 0 insertions, 0 deletions