commit | d23936b606b7141fee8e444036c3172c3cb304b2 | [log] [tgz] |
---|---|---|
author | Josh Conner <joshconner@google.com> | Tue Jan 10 17:30:40 2017 -0800 |
committer | Josh Conner <joshconner@google.com> | Tue Jan 10 17:30:40 2017 -0800 |
tree | bb8e74c23c5302873ddc72f32b70b87b5d62d56d | |
parent | 620280e9246af36c98bf0c6b80477cdaef8a6669 [diff] |
Fix pex_wait status value. Shift return code so it isn't misinterpreted as a terminating signal. Change-Id: I95e306af5df0bd3a01b8c92ee45de17fc5bab7a4
diff --git a/patches/gcc-patch.txt b/patches/gcc-patch.txt index 486c52f..69bacaf 100644 --- a/patches/gcc-patch.txt +++ b/patches/gcc-patch.txt
@@ -1134,7 +1134,7 @@ ! if (procinfo_result != NO_ERROR) ! return -1; ! -! *status = proc_info.return_code; +! *status = (proc_info.return_code & 0xff) << 8; ! return pid; ! } !