D-Programming-Language/phobos — pull request #460 by quickfur (2012-02-25 19:45:25+00:00)
Title: Code cleanup & fix issue 6926

- Replace Linux-specific definitions of stopped, signaled,
etc., with portable versions from core.sys.posix.sys.wait.
- Fix system() to return -1 on abnormal termination, not just
exitstatus(status) which may be 0.