bug-cvs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

modules file on Win32


From: abertens
Subject: modules file on Win32
Date: Mon, 20 Jan 2003 9:20:48 -0400

Dear Sirs:

Sorry about this mail format. I did not found an 'official' template.

Release:  cvs 1.11.4
Platform: Win32
Problem:  modules file
Compiler: VC++ 6.0, Windows 2000 and NT Wk.

Modules file does not behaves as expected (it does not work at all).
On Linux worked fine so the problem should be on Windows migration.

Digging into source, I found that 'modules' file could not be open due 
to an EACESS error (file src/myndbm.c, line 39).

I solved the problem using parenthesis in O_ACCMODE macro definition 
for Windows Platform (file src/myndbm.c, line 22) from

#   define O_ACCMODE O_RDONLY|O_WRONLY|O_RDWR

to

#   define O_ACCMODE (O_RDONLY|O_WRONLY|O_RDWR)

because and AND with original O_ACCMODE is always TRUE.


Best regards,

Andres Bertens
Espoz 5174, Vitacura
Santiago, CHILE.
abertens@entelchile.net







reply via email to

[Prev in Thread] Current Thread [Next in Thread]