diff options
author | João Abecasis <joao@abecasis.name> | 2009-11-04 19:28:55 (GMT) |
---|---|---|
committer | João Abecasis <joao@abecasis.name> | 2009-11-04 20:40:28 (GMT) |
commit | 6b448660f0d967d2749a520b49aa6946e46bff6b (patch) | |
tree | 61920fcb63b40f8f4ada3f80e6b4dbb558f2ad5e /src/3rdparty/webkit | |
parent | 764d195bfa252775702bffc93989a35d0c19f035 (diff) | |
download | Qt-6b448660f0d967d2749a520b49aa6946e46bff6b.zip Qt-6b448660f0d967d2749a520b49aa6946e46bff6b.tar.gz Qt-6b448660f0d967d2749a520b49aa6946e46bff6b.tar.bz2 |
Further fixes to file size handling on Windows with fd and FILE*
filelength is not available on Windows CE instead, we must fallback to
fseek/ftell as was being done previously. Still on Windows CE, we still
don't report the file size for file descriptors, but we also won't set a
random error string.
Changed qt_error_string calls to use errno when errors come from CRT
functions.
Also, if we're using filelength on FILE* streams, there's no reason not
to use it for file descriptors, instead of requesting a native handle.
Reviewed-by: Olivier Goffart
Diffstat (limited to 'src/3rdparty/webkit')
0 files changed, 0 insertions, 0 deletions