summaryrefslogtreecommitdiff
path: root/boot
diff options
context:
space:
mode:
authorThomas Bushnell <thomas@gnu.org>1997-04-14 18:35:44 +0000
committerThomas Bushnell <thomas@gnu.org>1997-04-14 18:35:44 +0000
commite0d50fcc2a87b21978a6b3320e7236a2140b3faf (patch)
treef0016e1a798fd190a2ba744429dc82ab4c027786 /boot
parent4643a63135f6b3a660e11261d1785e7a9f0c0685 (diff)
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.
Diffstat (limited to 'boot')
-rw-r--r--boot/ChangeLog5
-rw-r--r--boot/boot_script.c10
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);