[EMAIL PROTECTED] (Ton Hospel) writes:

> Mm, this is all very unfortunate. Traditionally a wait return code is
> 8 bits of returncode, then 1 bit of coredump and 7 bits of signal
> number. Aix 4 seems to break this then.

Correction: AIX 5 breaks this.  AIX 4 is still with the old school.

> Unfortunately it's documented as such in perldoc perlvar, and I've
> definitely written code based on this assumption, and so have other
> I expect.

The description of system in perlfunc also contains code that tells
you it is ok to assume a certain layout of $?.

> The aix case with $?=983055, which is 0xf000f seems to be like the 
> tradtional version, but with an extra 0xf tacked on at the front. 
> I wonder why they decided to do that. Does the new AIX by any chance 
> support more than 127 interrupts ?

That's seems to be what they try to do to me too.  The new macro
allows 256 signals, but still when I try to pass signal numbers above
63 to kill() I always get a failure, so I don't really get it.

Regards,
Gisle

Reply via email to