diff options
author | des <des@FreeBSD.org> | 2011-09-27 15:57:13 +0000 |
---|---|---|
committer | des <des@FreeBSD.org> | 2011-09-27 15:57:13 +0000 |
commit | 0a0c98d37666027f8182714200e454406c6dd282 (patch) | |
tree | 9de46c1d714dddee2122b98b6290dd6b9b706a02 /lib/libc/stdlib/reallocf.c | |
parent | 42f9fc1b3f7f58b22e97447de2612dea4d1caae3 (diff) | |
download | FreeBSD-src-0a0c98d37666027f8182714200e454406c6dd282.zip FreeBSD-src-0a0c98d37666027f8182714200e454406c6dd282.tar.gz |
Followup to r225599: the fseek() was a no-op since the file was opened
in append mode. Open it in read-write mode instead. Also move the
fseek up one level to cover the (unlikely but not impossible) case where
the server accepts ranges but does not send a Content-Size header.
PR: bin/117277
MFC after: 3 weeks
Diffstat (limited to 'lib/libc/stdlib/reallocf.c')
0 files changed, 0 insertions, 0 deletions