Browse Source

Fix detection of exit status. We use close on pipe to get return status
and if program does exit(1) we get '1'. The code for checking was
using os.WIFSIGNALLED, and that returns true for '1' -- it seems like
it is expecting result of os.system, which would be 256, or something.


[SVN r62634]

Vladimir Prus 16 years ago
parent
commit
48c2fb62a7
1 changed files with 1 additions and 1 deletions
  1. 1 1
      tools/build

+ 1 - 1
tools/build

@@ -1 +1 @@
-Subproject commit 12fa2689f019070eb541c773551ab62063817ca4
+Subproject commit 9c9c533b937729f24744ee772b946f87eed20079

粤ICP备19079148号