소스 검색

* fix for sigactionhandler changes of peter

marco 20 년 전
부모
커밋
257f7162b3
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      docs/bunixex/ex57.pp

+ 1 - 1
docs/bunixex/ex57.pp

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