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
@@ -0,0 +1,11 @@
--- a/src/parse.c
+++ b/src/parse.c
@@ -125,7 +125,7 @@ int readCommandLine( int argc, char *arg
d2printf( "command line command %s found\n", pchCommandTranslations[ iCmd+1]) ;
- vsnprintf( achCommand, sizeof( achCommand),
+ snprintf( achCommand, sizeof( achCommand),
pchCommandTranslations[ iCmd+1],
&argv[ i+1]) ;