[Bug 17003] lseek with whence=SEEK_END after fread is ignored

wine-bugs at winehq.org wine-bugs at winehq.org
Tue Jun 19 15:03:12 CDT 2012


http://bugs.winehq.org/show_bug.cgi?id=17003

--- Comment #10 from André H. <nerv at dawncrow.de> 2012-06-19 15:03:12 CDT ---
The problem is in
    MSVCRT_fgetpos
line
    off = -file->_cnt;

i could trace the line over 66725349 to 75315fa6

on the other hand it might not even be a problem as of:
(In reply to comment #9)
> For me on XP SP3, gives:
> buffer: read 19
> fgetpos should be: 22 and is: 19
> errno is: 0
> looks like the lseek from SEEK_END simply... isn't happening

as Wine also prints:

buffer: read 19
fgetpos should be: 22 and is: 19
errno is: 0
looks like the lseek from SEEK_END simply... isn't happening


Maybe someone should add a testcase?

-- 
Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email
Do not reply to this email, post in Bugzilla using the
above URL to reply.
------- You are receiving this mail because: -------
You are watching all bug changes.


More information about the wine-bugs mailing list