mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-04-20 10:45:08 +02:00
* sigactionhandler fix
This commit is contained in:
parent
c9b0f520a9
commit
41b2c00e41
@ -83,14 +83,14 @@ Begin
|
||||
new(aOld);
|
||||
new(aHup);
|
||||
new(aTerm);
|
||||
aTerm^.sa_handler{.sh} := TSigAction(@DoSig);
|
||||
aTerm^.sa_handler{.sh} := SigactionHandler(@DoSig);
|
||||
|
||||
aTerm^.sa_mask := zerosigs;
|
||||
aTerm^.sa_flags := 0;
|
||||
{$ifndef BSD} {Linux'ism}
|
||||
aTerm^.sa_restorer := nil;
|
||||
{$endif}
|
||||
aHup^.sa_handler := TSigAction(@DoSig);
|
||||
aHup^.sa_handler := SigactionHandler(@DoSig);
|
||||
aHup^.sa_mask := zerosigs;
|
||||
aHup^.sa_flags := 0;
|
||||
{$ifndef BSD} {Linux'ism}
|
||||
@ -142,7 +142,10 @@ Begin
|
||||
End.
|
||||
{
|
||||
$Log$
|
||||
Revision 1.4 2004-06-04 12:37:52 marco
|
||||
Revision 1.5 2005-04-06 10:47:01 marco
|
||||
* sigactionhandler fix
|
||||
|
||||
Revision 1.4 2004/06/04 12:37:52 marco
|
||||
* modernized. Now only uses baseunix,sysutils
|
||||
|
||||
Revision 1.3 2002/09/07 15:06:35 peter
|
||||
|
Loading…
Reference in New Issue
Block a user