in reply to segmentation fault for perl
The value returned by system/$? is from the OS. If the OS says the child segfaulted, there's not much Perl can do but to trust it.
I find it very unlikely that the OS would say it segfaulted if it didn't.
Update: Not on Windows, I suppose. Windows has larger exit codes that are squished into the unix format. Are you on Windows? Maybe there's a bug in the emulation.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: segmentation fault for perl
by Anonymous Monk on Jul 06, 2009 at 06:48 UTC | |
by ikegami (Patriarch) on Jul 06, 2009 at 16:49 UTC |