New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Either POSIX is confused about WEXITSTATUS or I am #13292
Comments
From @maukeCreated by @maukeperldoc POSIX: WIFEXITED WIFEXITED(${^CHILD_ERROR_NATIVE}) returns true if WEXITSTATUS WEXITSTATUS(${^CHILD_ERROR_NATIVE}) returns the This tells me that WEXITSTATUS and friends are supposed to be called with But looking at the implementation I see this (in POSIX.xs): /* Background: in most systems the low byte of the wait status RETVAL = WEXITSTATUS(WMUNGE(status)); The WMUNGE() part seems to assume an input in $? format, which has to be This contradicts the documentation AIUI. Which is correct, the code/comments or Perl Info
|
From @leonerdOn Fri, 20 Sep 2013 05:56:32 -0700
The background to this question is whether it is always appropriate to if(WIFEXITED( -- leonerd@leonerd.org.uk |
The RT System itself - Status changed from 'new' to 'open' |
Migrated from rt.perl.org#119899 (status was 'open')
Searchable as RT119899$
The text was updated successfully, but these errors were encountered: