Commit dc597956 authored by Dan Fandrich's avatar Dan Fandrich
Browse files

fseek() with SEEK_SET is broken on large file capable 32-bit systems, so

revert to the SEEK_END method of repositioning the stream after a ftruncate()
and only use SEEK_SET if ftruncate() isn't available.
parent cb9bb31f
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment