Explorar el Código

Force PPC Darwin to use fork instead of vfork. This change
requires both the parent and child process to explicitly set
the process group id. Vfork guarantees the child process
runs to the exec before it releases the parent process.
Now that we use fork instead of vfork, it's possible for the
parent to wait on the child process without having the child
setpgid on itself. This eliminates spurious hangs on ppc
darwin caused by either a race condition between vfork and
execvp, or a bug in the vfork implementation.

Added a test to ensure we don't try to read from the
stderr pipe descriptor if the descriptor's not valid.



[SVN r43176]

K. Noel Belcourt hace 18 años
padre
commit
ab9f8d250a
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      tools/build

+ 1 - 1
tools/build

@@ -1 +1 @@
-Subproject commit 793fb7542fa3e122e5732ef21e8138b6c153144e
+Subproject commit 5a3994bedd3c25d1110adccdbe21c4437f578c1e

粤ICP备19079148号