Jelajahi Sumber

Fix a bug Chris Cambly reported with the timeout code on
AIX. Apparently AIX doesn't permit a forked process to
reference (set) memory in the parent's address space. No
other system seems to object to this practice but it taught
me a lesson!

The fix was to move the call to get the child process start
time directly before calling vfork. This isn't really fair
to the forked process as we start counting time against the
child process that we haven't even forked (we count the
vfork/exec call overhead against the child process).

Tested Rene's test.sh script on Sun, Linux, AIX, and Sgi.



[SVN r39399]

K. Noel Belcourt 18 tahun lalu
induk
melakukan
8d5edd9a38
1 mengubah file dengan 1 tambahan dan 1 penghapusan
  1. 1 1
      tools/build

+ 1 - 1
tools/build

@@ -1 +1 @@
-Subproject commit a37493c285c8a84a6684b579893c97fbdcee6db3
+Subproject commit cdffd8e28e16acd7090c6cc33b14e9fa2759cfe8

粤ICP备19079148号