From: florian Date: Wed, 16 Jan 2008 11:31:57 +0000 (+0000) Subject: Add patch from #3009 X-Git-Url: http://207.154.207.93/?a=commitdiff_plain;h=b0f0dbb6b5c398a69d169dbd0ef20a96ec091c8e;p=packages.git Add patch from #3009 git-svn-id: svn://svn.openwrt.org/openwrt/packages@10211 3c298f89-4303-0410-b956-a3cf2f4a3e73 --- diff --git a/utils/cmdpad/patches/130-no_zombie.patch b/utils/cmdpad/patches/130-no_zombie.patch new file mode 100644 index 000000000..aa4fc6a0a --- /dev/null +++ b/utils/cmdpad/patches/130-no_zombie.patch @@ -0,0 +1,18 @@ +--- cmdpad-0.0.3/src/command.c.orig 2003-03-29 17:54:12.000000000 +0100 ++++ cmdpad-0.0.3/src/command.c 2008-01-12 05:41:22.000000000 +0100 +@@ -68,6 +68,7 @@ + + void exec( char * command) + { ++ int status; + if( fork() == 0) { + char ** tmp ; + int i ; +@@ -88,6 +89,7 @@ + perror( "ERROR: execv") ; + exit( 1) ; + } // end if( fork()) ++ wait(&status); + } + + int getNumberofEntry()