summaryrefslogtreecommitdiffstats
path: root/V8Binding/v8/src/d8-posix.cc
diff options
context:
space:
mode:
authorFeng Qian <fqian@google.com>2009-07-13 16:30:18 -0700
committerFeng Qian <fqian@google.com>2009-07-13 16:30:18 -0700
commit5a9288abcf660ba3499c9e650b415d81872837fc (patch)
treee39df4bee097d4d92fb27e1b4b1aa6c06380e3c1 /V8Binding/v8/src/d8-posix.cc
parent2350931596370d4cc9fc26d72039369d9fe72c9c (diff)
downloadexternal_webkit-5a9288abcf660ba3499c9e650b415d81872837fc.zip
external_webkit-5a9288abcf660ba3499c9e650b415d81872837fc.tar.gz
external_webkit-5a9288abcf660ba3499c9e650b415d81872837fc.tar.bz2
Update V8 to bleeding_edge@2450 to pick up a few important fixes.
API stays the same, and the same revision is pushed to Chromium.
Diffstat (limited to 'V8Binding/v8/src/d8-posix.cc')
-rw-r--r--V8Binding/v8/src/d8-posix.cc6
1 files changed, 5 insertions, 1 deletions
diff --git a/V8Binding/v8/src/d8-posix.cc b/V8Binding/v8/src/d8-posix.cc
index 3a091f9..fe130ce 100644
--- a/V8Binding/v8/src/d8-posix.cc
+++ b/V8Binding/v8/src/d8-posix.cc
@@ -370,7 +370,11 @@ static Handle<Value> GetStdout(int child_fd,
// whether it exited normally. In the common case this doesn't matter because
// we don't get here before the child has closed stdout and most programs don't
// do that before they exit.
-#if defined(WNOWAIT) && !defined(ANDROID)
+//
+// We're disabling usage of waitid in Mac OS X because it doens't work for us:
+// a parent process hangs on waiting while a child process is already a zombie.
+// See http://code.google.com/p/v8/issues/detail?id=401.
+#if defined(WNOWAIT) && !defined(ANDROID) && !defined(__APPLE__)
#define HAS_WAITID 1
#endif