My weekly build of bleedperl failed last night: mg.c: In function `Perl_sighandler': mg.c:2715: structure has no member named `si_errno'
I tracked it down to the sa_siginfo changes. Stratus VOS implements the 1996 revision of the POSIX standard. That version defines the minimum siginfo_t type to have the members si_code, si_signo, and si_value. The 2001 revision of the POSIX standard adds the si_errno, si_pid, si_uid, si_addr, si_status, and si_band members. As far as I can tell, the si_errno value is never used in perl. So I hope that I'm not offending anyone by submitting the attached patch that moves it under the #if 0 clause as well. Thanks PG -- Paul Green, Senior Technical Consultant, Stratus Technologies. Voice: +1 978-461-7557; FAX: +1 978-461-3610; AIM: PaulGreen > -----Original Message----- > From: Jarkko Hietaniemi [mailto:[EMAIL PROTECTED] > Sent: Thursday, July 21, 2005 11:33 AM > To: Dominic Dunlop > Cc: Nicholas Clark; [EMAIL PROTECTED]; Steve Peters; Perl 5 Porters > Subject: [PATCH] Re: [PATCH] support POSIX SA_SIGINFO > > > I agree. Mac OS X tells me nothing apart from what's in signal.h, > > man siginfo in Solaris and man sigaction in AIX and Tru64 are quite > helpful. But I think for the time being the attached patch will have > to do: only signo, code, errno are decoded (seems the be the smallest > supported set from my smaple), and the test is changed to > test just for > the signal value itself -- I can't see why anyone would bother > implementing even a little bit of SA_SIGINFO and fail to supply > the signal value -- but I have been known to be too optimistic. > If even that fails, the whole test needs to be excised. > > Perl cannot help systems that aren't POSIX, whether they claim it or > not, on purpose or not. > > > > >
mg.c.diff
Description: mg.c.diff