diff options
Diffstat (limited to 'recipes-connectivity/netperf/netperf-2.4.4/vfork.patch')
-rwxr-xr-x | recipes-connectivity/netperf/netperf-2.4.4/vfork.patch | 35 |
1 files changed, 0 insertions, 35 deletions
diff --git a/recipes-connectivity/netperf/netperf-2.4.4/vfork.patch b/recipes-connectivity/netperf/netperf-2.4.4/vfork.patch deleted file mode 100755 index dbef553..0000000 --- a/recipes-connectivity/netperf/netperf-2.4.4/vfork.patch +++ /dev/null @@ -1,35 +0,0 @@ -If HAVE_FORK is defined, use fork(). -Otherwise, use vfork() instead. - -Derived from OpenEmbedded project - -Signed-off-by: Dongxiao Xu <dongxiao.xu@intel.com> - -Upstream-Status: Pending - ---- netperf-2.4.4/src/netserver.c 2007-10-17 17:09:12.000000000 -0400 -+++ netperf-2.4.4.new/src/netserver.c 2011-01-23 12:26:39.000000000 -0500 -@@ -567,7 +567,11 @@ - fflush (stdin); - fflush (stdout); - fflush (stderr); -+#if defined(HAVE_FORK) - switch (fork()) -+#else -+ switch (vfork()) -+#endif - { - case -1: - perror("netperf server error"); -@@ -712,7 +716,11 @@ - #else - signal(SIGCLD, SIG_IGN); - -+#if defined(HAVE_FORK) - switch (fork()) -+#else -+ switch (vfork()) -+#endif - { - case -1: - /* something went wrong */ |