patch-src_runtime_fxposix_ri 555 B

123456789101112
  1. --- src/runtime/fxposix.ri.orig Tue Sep 26 09:37:21 2000
  2. +++ src/runtime/fxposix.ri Thu Oct 5 11:31:12 2000
  3. @@ -1599,7 +1599,7 @@ function{0,1} wait(pid, options)
  4. #ifdef Linux
  5. if (WIFSIGNALED(status) && status & 0200 ) /* core dump */
  6. #else
  7. -#if !defined(FreeBSD) && defined(BSD_4_4_LITE) || (defined(BSD) && defined(SUN))
  8. +#if !defined(FreeBSD) && !defined(HAS_WCOREDUMP) && defined(BSD_4_4_LITE) || (defined(BSD) && defined(SUN))
  9. if (WIFSIGNALED(status) && ((union __wait*)&status)->w_T.w_Coredump)
  10. #else
  11. if (WCOREDUMP(status))