delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/1998/05/23/04:20:42

From: rpm AT axlog DOT fr (Philippe Gerum)
Subject: B19: mprotect() problem
23 May 1998 04:20:42 -0700 :
Message-ID: <199805221856.TAA25373.cygnus.gnu-win32@malmsteen.axlog.fr>
Mime-Version: 1.0
To: gnu-win32 AT cygnus DOT com

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 AT cygnus DOT com" with one line of text: "help".

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019