[pywin32-bugs] [ pywin32-Bugs-1028179 ] SetFilePointer returns incorrect value for 2-4gb
OLD project page for the Python extensions for Windows
Brought to you by:
mhammond
From: SourceForge.net <no...@so...> - 2004-09-14 20:55:34
|
Bugs item #1028179, was opened at 2004-09-14 16:40 Message generated for change (Settings changed) made by rberrett You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=551954&aid=1028179&group_id=78018 >Category: win32 Group: None Status: Open Resolution: None Priority: 5 Submitted By: rberrett (rberrett) Assigned to: Nobody/Anonymous (nobody) Summary: SetFilePointer returns incorrect value for 2-4gb Initial Comment: The return value for win32file.SetFilePointer is negative for expected values from 2gb upto 1 byte shy of 4gb. newFP = win32file.SetFilePointer(fh, offset, win32file.FILE_END) Setting file pointer on a empty file with: offset 2gb returns -2147483648 offset 3gb returns -1073741824 offset 4gb-1 byte returns -1 Under 2gb and 4gb and over return the correct value ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=551954&aid=1028179&group_id=78018 |