pkgsrc/benchmarks/filebench/patches/patch-procflow.c
asau a864864f60 Import Filebench 1.4.9.1 as benchmarks/filebench.
Filebench is a file system and storage benchmark that allows
to generate a high variety of workloads. It employs extensive
Workload Model Language (WML) for detailed workload specification.

Features

 * Extensive Workload Model Language (WML) for workload specification
 * Includes popular pre-defined workloads: webserver, fileserver,
   varmail, etc.
 * Reports throughput and latency histograms
2012-07-02 17:43:16 +00:00

17 lines
490 B
C

$NetBSD: patch-procflow.c,v 1.1.1.1 2012/07/02 17:43:16 asau Exp $
--- procflow.c.orig 2011-09-06 17:17:45.000000000 +0000
+++ procflow.c
@@ -402,7 +402,11 @@ procflow_createnwait(void *unused)
}
#else /* HAVE_WAITID */
/* child did not exit, but got a signal, so just continue waiting */
- if (WIFSTOPPED(status) || WIFCONTINUED(status))
+ if (WIFSTOPPED(status)
+#if defined(WIFCONTINUED)
+ || WIFCONTINUED(status)
+#endif
+ )
continue;
if (WIFEXITED(status)) {