More robust command line parsing

Allow multiple spaces or tabs between keyword and argument, also set
hostname only once.

Signed-off-by: Claudio Matsuoka <cmatsuoka@gmail.com>
This commit is contained in:
Claudio Matsuoka committed 2008-05-16 09:19:29 -03:00
1 parent 3158733ced
commit 2ffafc3d03
3 files changed
+28 -20

No files matched your search

+1
View File
@@ -4,6 +4,7 @@
int makepath (char *);
void ifconfig (char *, char *, char *, int);
void copyfile (char *, char *, int);
void chomp (char *);
#ifdef BUILTIN_RUNPARTS
int run_parts (char *, ...);