Blame SOURCES/autoconf-2.13-wait3test.patch

d9d0ed
--- autoconf-2.13/acspecific.m4.sopwith	Mon Feb 25 18:05:39 2002
d9d0ed
+++ autoconf-2.13/acspecific.m4	Mon Feb 25 18:18:35 2002
d9d0ed
@@ -1419,6 +1419,8 @@
d9d0ed
   r.ru_majflt = r.ru_minflt = 0;
d9d0ed
   switch (fork()) {
d9d0ed
   case 0: /* Child.  */
d9d0ed
+    /* Unless we actually _do_ something, the kernel sometimes doesn't chalk up any system time to this process. */
d9d0ed
+    if(fork()) { i = 123; wait(NULL); } else { i = 234; exit(0); }
d9d0ed
     sleep(1); /* Give up the CPU.  */
d9d0ed
     _exit(0);
d9d0ed
   case -1: _exit(0); /* What can we do?  */