ViewVC Help
View File | Revision Log | Show Annotations | Download File
/cvs/IO-AIO/AIO.xs
(Generate patch)

Comparing IO-AIO/AIO.xs (file contents):
Revision 1.291 by root, Tue Jul 27 07:58:35 2021 UTC vs.
Revision 1.292 by root, Tue Jul 27 07:59:33 2021 UTC

2691 { 2691 {
2692 HV *hv; 2692 HV *hv;
2693 SV **svp; 2693 SV **svp;
2694 2694
2695 if (!SvROK (siginfo) || SvTYPE (SvRV (siginfo)) != SVt_PVHV) 2695 if (!SvROK (siginfo) || SvTYPE (SvRV (siginfo)) != SVt_PVHV)
2696 croak ("siginfo argument must be a hashref code, pid, uid and value_int or value_ptr members, caught"); 2696 croak ("siginfo argument must be a hashref with 'code', 'pid', 'uid' and 'value_int' or 'value_ptr' members, caught");
2697 2697
2698 hv = (HV *)SvRV (siginfo); 2698 hv = (HV *)SvRV (siginfo);
2699 2699
2700 if ((svp = hv_fetchs (hv, "code" , 0))) si.si_code = SvIV (*svp); 2700 if ((svp = hv_fetchs (hv, "code" , 0))) si.si_code = SvIV (*svp);
2701 if ((svp = hv_fetchs (hv, "pid" , 0))) si.si_pid = SvIV (*svp); 2701 if ((svp = hv_fetchs (hv, "pid" , 0))) si.si_pid = SvIV (*svp);

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines