This is the mail archive of the cygwin@sourceware.cygnus.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

B19: mprotect() problem


Hi, everyone.

It seems there is a problem with mprotect() under B19. At least it does not work 
as expected. I've searched the mail archive and the FAQ for a similar problem, 
but found no fix. Sorry if this is a beaten issue, i'm a newcomer to this list.

The bug can be found in winsup/mmap.cc, where mprotect() calls Win32's 
VirtualProtect() routine to do the job. It appears that the 3rd arg is wrong 
("prot", should be "new_prot").

PS: I'am using B19.1 with coolview.

Hope this helps.
-
For help on using this list (especially unsubscribing), send a message to
"gnu-win32-request@cygnus.com" with one line of text: "help".


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]