diff options
Diffstat (limited to 'boot')
-rw-r--r-- | boot/ChangeLog | 5 | ||||
-rw-r--r-- | boot/boot_script.c | 10 |
2 files changed, 13 insertions, 2 deletions
diff --git a/boot/ChangeLog b/boot/ChangeLog index 4b9c6dcd..c1f5b3b8 100644 --- a/boot/ChangeLog +++ b/boot/ChangeLog @@ -3,6 +3,11 @@ Thu Apr 10 11:53:57 1997 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu> * boot.c: Don't include varargs.h. (set_mach_stack_args): Use stdarg instead of vararg. +Mon Mar 17 13:12:45 1997 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu> + + * boot_script.c (boot_script_parse_line): Don't print gratuitous + output noise. + Thu Sep 12 16:28:47 1996 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu> * Makefile (HURDLIBS): New variable. diff --git a/boot/boot_script.c b/boot/boot_script.c index 618830f2..75b01633 100644 --- a/boot/boot_script.c +++ b/boot/boot_script.c @@ -285,13 +285,18 @@ boot_script_parse_line (char *cmdline) /* Ignore comment line. */ return 0; +#if 0 if (*p && *p != ' ' && *p != '\t' && *p != '\n') - printf ("(bootstrap): %s\n", cmdline); + { + printf ("(bootstrap): %s\n", cmdline); + } +#endif for (q = p; *q && *q != ' ' && *q != '\t' && *q != '\n'; q++) ; if (p == q) - return 0; + return 0; + *q = '\0'; /* Allocate a command structure. */ @@ -490,6 +495,7 @@ boot_script_parse_line (char *cmdline) } } } + bad: free_cmd (cmd, 1); |