WineHQ
Bug Tracking Database – Bug 34191

 Bugzilla

 

Last modified: 2013-11-15 13:39:49 UTC  

cabarc.c could not compile

Bug 34191 - cabarc.c could not compile
cabarc.c could not compile
Status: CLOSED FIXED
AppDB: Show Apps affected by this bug
Product: Wine
Classification: Unclassified
Component: programs
1.6
x86-64 Windows
: P2 normal
: ---
Assigned To: Mr. Bugs
: patch
Depends on:
Blocks:
  Show dependency tree
 
Reported: 2013-08-01 22:05 UTC by Jasper Danielson
Modified: 2013-11-15 13:39 UTC (History)
0 users

See Also:
Regression SHA1:
Fixed by SHA1: 452a64e3a76ab92c9591115080fc93e6daf79d7f
Distribution: ---
Staged patchset:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Jasper Danielson 2013-08-01 22:05:14 UTC
programs/cabarc/cabarc.c could not compile on Cygwin (Windows 7), due to an issue with variable _O_ACCMODE. Apparently _O_ACCMODE was not being defined properly, which was causing a reference error on line 152 (switch (oflag & _O_ACCMODE)).

I was able to resolve this issue and compile Wine successfully by replacing _O_ACCMODE in line 152 with 1, making the line: switch (oflag & 1). I'm not sure if this is correct, but it did at least solve my immediate problem.
Comment 2 Jasper Danielson 2013-08-01 22:53:49 UTC
(In reply to comment #1)
> http://www.winehq.org/pipermail/wine-patches/2013-August/125664.html

Thank you for the prompt reply! I just tested your patch, and now cabarc.c compiles successfully. Marking this bug as Resolved > Fixed.
Comment 3 Dmitry Timoshkov 2013-08-01 23:04:33 UTC
The bug isn't fixed until the patch is accepted.
Comment 4 Dmitry Timoshkov 2013-08-02 10:10:32 UTC
The patch has been committed.
Comment 5 Alexandre Julliard 2013-08-02 13:18:20 UTC
Closing bugs fixed in 1.7.0.
Comment 6 Alexandre Julliard 2013-11-15 13:39:49 UTC
Removing 1.6.x milestone from bugs included in 1.6.1.


Privacy Policy
If you have a privacy inquiry regarding this site, please write to [email protected]

Hosted By CodeWeavers