projects
/
openwrt
/
svn-archive
/
archive.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
i2cdetect is packaged by i2c-tools
[openwrt/svn-archive/archive.git]
/
utils
/
cmdpad
/
patches
/
130-no_zombie.patch
1
--- cmdpad-0.0.3/src/command.c.orig 2003-03-29 17:54:12.000000000 +0100
2
+++ cmdpad-0.0.3/src/command.c 2008-01-12 05:41:22.000000000 +0100
3
@@ -68,6 +68,7 @@
4
5
void exec( char * command)
6
{
7
+ int status;
8
if( fork() == 0) {
9
char ** tmp ;
10
int i ;
11
@@ -88,6 +89,7 @@
12
perror( "ERROR: execv") ;
13
exit( 1) ;
14
} // end if( fork())
15
+ wait(&status);
16
}
17
18
int getNumberofEntry()