Import cmdpad from oldpackages, add copyright, pkg info

Signed-off-by: Ted Hess <thess@kitschensync.net>
This commit is contained in:
Ted Hess
2014-07-18 16:36:16 -04:00
parent 4978db6065
commit 9df311619c
6 changed files with 154 additions and 0 deletions
+18
View File
@@ -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()