[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-10-07 09:03:38
|
Bugs item #1028179, was opened at 2004-09-15 06:40 Message generated for change (Settings changed) made by mhammond You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=551954&aid=1028179&group_id=78018 Category: win32 Group: None >Status: Closed >Resolution: Out of Date 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 ---------------------------------------------------------------------- >Comment By: Mark Hammond (mhammond) Date: 2004-10-07 19:03 Message: Logged In: YES user_id=14198 Can you please indicate your version number - I believe this was fixed in build 202. Please reopen this bug if that is not true ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=551954&aid=1028179&group_id=78018 |