jim hopper wrote:
| #if !defined(HAVE_MPROTECT) || !defined(DEBUG)
| #define mprotect(A,L,P)
| #define ALL_PROT
| #define NO_PROT
| #else
| /* In a sense, this is backwards. */
| #define ALL_PROT PROT_READ|PROT_WRITE|PROT_EXEC
| #define NO_PROT PROT_NONE
| #endif
|
|
| when debug is off it takes to top path, with debug on it takes the
| bottom (i do have the function mprotect. problem is that i cant find
| where PROT_READ etc are defined. sould i just force it to do top
| path even with debug on?
PROT_READ is defined in the POSIX standard virtual memory paging system.
Linux, BSD, etc. support this. HP-UX had a problem - possibly defining this
in a different include file.
I have already reported this bug - long ago. Are you using stock 1.0.b4 or
a recent snapshot?