]> git.pld-linux.org Git - packages/elfutils.git/commitdiff
- don't leave './native' process running after build
authorJakub Bogusz <qboosh@pld-linux.org>
Fri, 25 Aug 2006 20:53:02 +0000 (20:53 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    elfutils-kill-native.patch -> 1.1

elfutils-kill-native.patch [new file with mode: 0644]

diff --git a/elfutils-kill-native.patch b/elfutils-kill-native.patch
new file mode 100644 (file)
index 0000000..f77dd46
--- /dev/null
@@ -0,0 +1,11 @@
+--- elfutils-0.123/tests/run-native-test.sh.orig       2006-04-13 17:04:57.000000000 +0200
++++ elfutils-0.123/tests/run-native-test.sh    2006-08-25 22:55:40.053239000 +0200
+@@ -58,7 +58,7 @@
+ for cc in "$HOSTCC" "$HOST_CC" cc gcc "$CC"; do
+   test "x$cc" != x || continue
+   $cc -o native -g native.c > /dev/null 2>&1 &&
+-  ./native > /dev/null 2>&1 & native=$! &&
++  { ./native > /dev/null 2>&1 & } && native=$! &&
+   sleep 1 && kill -0 $native 2> /dev/null &&
+   break ||
+   native=0
This page took 0.373809 seconds and 4 git commands to generate.