mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-08-12 22:39:36 +02:00
* adapted to win95 where zero is does not create a page fault
This commit is contained in:
parent
ddd554ab2a
commit
c93f715239
@ -34,6 +34,10 @@ Begin
|
||||
{ generate a sigsegv by writing to null-address }
|
||||
sel:=0;
|
||||
v:=nil;
|
||||
{$ifdef go32v2}
|
||||
{ on win9X no zero page protection :( }
|
||||
v:=pointer(-2);
|
||||
{$endif go32v2}
|
||||
word(v^):=sel;
|
||||
{ we should not go to here }
|
||||
Writeln('Error : signal not called');
|
||||
|
Loading…
Reference in New Issue
Block a user