Mail Archives: djgpp/1997/11/12/12:42:10
From: | THIERRY DOT T DOT I DOT IMMORDINO AT TSI DOT thomson DOT fr
|
Date: | 12 Nov 1997 16:43:02 -0100
|
Delivery-Date: | 12 Nov 1997 16:40:54 +0100
|
Message-Type: | Multiple Part
|
Original-Encoded-Information-Types: | IA5-Text
|
Message-ID: | <00019117.MAI*/G=THIERRY/I=TI/S=IMMORDINO/O=TSI/PRMD=THOMSON/ADMD=ATLAS/C=FR@MHS>
|
Importance: | normal
|
Subject: | Bug in function _lwp_lock_memory in LW
|
Autoforwarded: | FALSE
|
To: | djgpp AT delorie DOT com
|
Conversion: | Allowed
|
Conversion-With-Loss: | Allowed
|
Alternate-Recipient: | Allowed
|
Hi,
Concerning LWP :
Is there a bug in the function _lwp_lock_memory () ?
...
if (_lwp_lock_code (&_lwpasm_start, (long) &_lwpasm_end - (long)
_lwpasm_start)) {
^
^
/* fail */
#ifdef __DEBUG__
printf ("ERROR: DPMI error locking code segment IRQ handlers\n");
#endif
return (0);
}
Is that code ok ? :
if (_lwp_lock_code (&_lwpasm_start, (long) &_lwpasm_end - (long)&
_lwpasm_start))
Thierry
- Raw text -