http://bugs.winehq.org/show_bug.cgi?id=18152
Summary: lseek* without effect on file stream Product: Wine Version: 1.1.16 Platform: PC OS/Version: Linux Status: UNCONFIRMED Severity: enhancement Priority: P2 Component: -unknown AssignedTo: wine-bugs@winehq.org ReportedBy: bugtrack@roumenpetrov.info
Created an attachment (id=20613) --> (http://bugs.winehq.org/attachment.cgi?id=20613) test case
The attached test case output: -------------------- sizeof l=17 fread res=16, buf=0123456789___000 fflush ret=0 errno=0 lseek off=0 errno=0 fread res=16, buf=0123456789___001 fseek ret=0 errno=0 fread res=16, buf=0123456789___000 -------------------- is program is run under wine. The second read on same program run on w2k output: ... fread res=16, buf=0123456789___000 ...
http://bugs.winehq.org/show_bug.cgi?id=18152
--- Comment #1 from Roumen Petrov bugtrack@roumenpetrov.info 2009-04-22 16:20:52 --- Created an attachment (id=20614) --> (http://bugs.winehq.org/attachment.cgi?id=20614) script file generator
The test(input) file is created with attached born shell script.
http://bugs.winehq.org/show_bug.cgi?id=18152
Austin English austinenglish@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Keywords| |testcase
http://bugs.winehq.org/show_bug.cgi?id=18152
--- Comment #2 from Austin English austinenglish@gmail.com 2009-10-29 15:26:24 --- Is this still an issue in current (1.1.32 or newer) wine?
http://bugs.winehq.org/show_bug.cgi?id=18152
--- Comment #3 from Andrew Nguyen arethusa26@gmail.com 2009-10-29 18:23:17 --- My testing showed:
wine-1.1.32-213-g1be9903
sizeof l=17 fread res=16, buf=0123456789___000 fflush ret=0 errno=0 lseek off=0 errno=0 fread res=16, buf=0123456789___000 fseek ret=0 errno=0 fread res=16, buf=0123456789___000
Windows XP SP3
sizeof l=17 fread res=16, buf=0123456789___000 fflush ret=0 errno=0 lseek off=0 errno=0 fread res=16, buf=0123456789___000 fseek ret=0 errno=0 fread res=16, buf=0123456789___000
Therefore this bug is fixed.
http://bugs.winehq.org/show_bug.cgi?id=18152
Austin English austinenglish@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |RESOLVED Resolution| |FIXED
--- Comment #4 from Austin English austinenglish@gmail.com 2009-10-29 20:22:10 --- Woohooo!
http://bugs.winehq.org/show_bug.cgi?id=18152
Roumen Petrov bugtrack@roumenpetrov.info changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |UNCONFIRMED Resolution|FIXED |
--- Comment #5 from Roumen Petrov bugtrack@roumenpetrov.info 2009-10-31 14:21:37 --- I would like to reopen as still exits - tested with versions 1.1.26 and 1.1.32 (clean configuration).
http://bugs.winehq.org/show_bug.cgi?id=18152
--- Comment #6 from Roumen Petrov bugtrack@roumenpetrov.info 2009-10-31 14:24:28 --- P.S. wine is build myself with flags: CFLAGS="-O2 -fno-strict-aliasing -Wall" CXXFLAGS="-O2 -fno-strict-aliasing -Wall"
http://bugs.winehq.org/show_bug.cgi?id=18152
Austin English austinenglish@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Keywords| |download
http://bugs.winehq.org/show_bug.cgi?id=18152
Fabian Ebner f.ebner94@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |f.ebner94@gmail.com
--- Comment #7 from Fabian Ebner f.ebner94@gmail.com 2013-06-08 03:28:22 CDT --- (In reply to comment #5)
I would like to reopen as still exits - tested with versions 1.1.26 and 1.1.32 (clean configuration).
The fix was in 1.1.32-something (=git) and the bug was reopened because it didn't work in 1.1.32 (=earlier version). It also works fine with 1.5.31, so could somebody please close the bug?
http://bugs.winehq.org/show_bug.cgi?id=18152
Bruno Jesus 00cpxxx@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |RESOLVED Resolution| |FIXED
--- Comment #8 from Bruno Jesus 00cpxxx@gmail.com 2013-06-08 12:45:34 CDT --- Works in wine 1.6-rc1 too, same output from XP and comment 0. Resolving fixed.
http://bugs.winehq.org/show_bug.cgi?id=18152
Alexandre Julliard julliard@winehq.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #9 from Alexandre Julliard julliard@winehq.org 2013-06-14 13:25:02 CDT --- Closing bugs fixed in 1.6-rc2.