projects
/
platform
/
upstream
/
syslinux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
83d6652
)
parseconfig.inc: use "skipline" where appropriate
author
H. Peter Anvin
<hpa@zytor.com>
Sat, 31 Jan 2009 22:58:17 +0000
(14:58 -0800)
committer
H. Peter Anvin
<hpa@zytor.com>
Sat, 31 Jan 2009 22:58:17 +0000
(14:58 -0800)
Use "skipline" where appropriate instead of reading into the trackbuf.
core/parseconfig.inc
patch
|
blob
|
history
diff --git
a/core/parseconfig.inc
b/core/parseconfig.inc
index
d2c452b
..
2f0db48
100644
(file)
--- a/
core/parseconfig.inc
+++ b/
core/parseconfig.inc
@@
-291,7
+291,7
@@
pc_serial: call getint
ret
;
-; Store mangled filename command
+; Store mangled filename command
(F-keys, "initrd")
;
pc_filename: push ax
call pc_getline
@@
-344,7
+344,7
@@
pc_say: call pc_getline ; "say" command
;
; "text" command; ignore everything until we get an "endtext" line
;
-pc_text: call
pc_getline
; Ignore rest of line
+pc_text: call
skipline
; Ignore rest of line
.loop:
call pc_getline
jc .eof