Browse Source

* fix for sigactionhandler changes of peter

marco 20 years ago
parent
commit
257f7162b3
1 changed files with 1 additions and 1 deletions
  1. 1 1
      docs/bunixex/ex57.pp

+ 1 - 1
docs/bunixex/ex57.pp

@@ -22,7 +22,7 @@ end;
 begin
 begin
    new(na);
    new(na);
    new(oa);
    new(oa);
-   na^.sa_Handler:=TSigaction(@DoSig);
+   na^.sa_Handler:=SigActionHandler(@DoSig);
    fillchar(na^.Sa_Mask,sizeof(na^.sa_mask),#0);
    fillchar(na^.Sa_Mask,sizeof(na^.sa_mask),#0);
    na^.Sa_Flags:=0;
    na^.Sa_Flags:=0;
    {$ifdef Linux}               // Linux specific
    {$ifdef Linux}               // Linux specific