http://bugs.winehq.org/show_bug.cgi?id=6525
Summary: Microchip C18 compiler, fread bug?
Product: Wine
Version: 0.9.23.
Platform: PC
OS/Version: Linux
Status: UNCONFIRMED
Severity: normal
Priority: P2
Component: wine-msvcrt
AssignedTo: wine-bugs(a)winehq.org
ReportedBy: user_2_2_3(a)yahoo.com
Microchip's C18 compiler (v2.40) no longer works under wine. More specifically,
when I try to compile with it, it fails claiming the code has an error on line
0 (btw, line numbering starts at 1).
I used git and found that a change to 'fread' in dlls/msvcrt/file.c back in
july was the culprit. In that patch, 'fread' was changed to use a 'while'
loop containing a '_read(file->_file,ptr, rcnt);'. Basically, 'ptr' (the
destination for the data) isn't getting updated in between successive '_read's.
In the latest source (that I've seen) this bug has mulitplied with the addition
of a 'memcpy(ptr, file->_ptr, i);' in the same loop.
A couple well-placed 'if( i > 0 ) ptr = (char*)ptr + i;' should fix this.
--
Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
http://bugs.winehq.org/show_bug.cgi?id=6523
mike(a)codeweavers.com changed:
What |Removed |Added
----------------------------------------------------------------------------
Summary|Couldn not find Directx 9.0 |Entropia Universe: Couldn
| |not find Directx 9.0
--
Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
http://bugs.winehq.org/show_bug.cgi?id=6523
------- Additional Comments From mike(a)codeweavers.com 2006-25-10 20:17 -------
*** Bug 6524 has been marked as a duplicate of this bug. ***
--
Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
http://bugs.winehq.org/show_bug.cgi?id=6524
mike(a)codeweavers.com changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |RESOLVED
Resolution| |DUPLICATE
------- Additional Comments From mike(a)codeweavers.com 2006-25-10 20:17 -------
Submitted twice...
*** This bug has been marked as a duplicate of 6523 ***
--
Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
http://bugs.winehq.org/show_bug.cgi?id=6520
------- Additional Comments From mike(a)codeweavers.com 2006-25-10 20:15 -------
Wine may be triggering the bug, but the bug belongs to Xserver...
Perhaps try reporting the problem to X.org? The bug may be due to a font on
your system or possibly your video hardware.
--
Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
http://bugs.winehq.org/show_bug.cgi?id=6518
------- Additional Comments From mike(a)codeweavers.com 2006-25-10 20:11 -------
Hi Vitaliy,
A regression analysis to determine the patch at fault would be helpful...
thanks,
--
Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
http://bugs.winehq.org/show_bug.cgi?id=6300
------- Additional Comments From pancha(a)mail.nnov.ru 2006-25-10 19:52 -------
It fails to work with native ATL.DLL as well - it's dying somewhere in ddraw (or
because of ddraw). That should be fixed in the first place.
--
Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
http://bugs.winehq.org/show_bug.cgi?id=4272
truiken(a)gmail.com changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |RESOLVED
Resolution| |INVALID
------- Additional Comments From truiken(a)gmail.com 2006-25-10 19:46 -------
If that's the case, then this bug is invalid. The setup won't work in Windows
either if you run it from another directory on the command line.
--
Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
http://bugs.winehq.org/show_bug.cgi?id=4272
------- Additional Comments From ridayah(a)gmail.com 2006-25-10 19:31 -------
Hey, I would like to confirm and pose a solution to this problem. The issue is
that you have to be in the same directory as when running the SETUP.EXE file. I
ran it first with wine /media/cdrom/SETUP.EXE and got the same error, however
changing directory to /media/cdrom then running wine SETUP.EXE got it to work.
--
Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
http://bugs.winehq.org/show_bug.cgi?id=6522
------- Additional Comments From jonathan(a)ernstfamily.ch 2006-25-10 18:42 -------
It looks like a duplicate of bugs #2863, #4107, #3499, #3960 and #3751 but the
original bug has been marked fixed as of Wine 0.918.
--
Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.