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:
d173045
)
Teach the menu system to ignore TEXT blocks for now.
syslinux-3.40-pre8
author
H. Peter Anvin
<hpa@zytor.com>
Wed, 28 Feb 2007 06:47:32 +0000
(22:47 -0800)
committer
H. Peter Anvin
<hpa@zytor.com>
Wed, 28 Feb 2007 06:47:32 +0000
(22:47 -0800)
com32/modules/readconfig.c
patch
|
blob
|
history
diff --git
a/com32/modules/readconfig.c
b/com32/modules/readconfig.c
index
5489c72
..
6dd0cb3
100644
(file)
--- a/
com32/modules/readconfig.c
+++ b/
com32/modules/readconfig.c
@@
-528,6
+528,16
@@
static void parse_config_file(FILE *f)
}
}
}
+ } else if ( looking_at(p, "text") ) {
+ p = skipspace(p+4);
+
+ /* p points to the TEXT command */
+
+ while ( fgets(line, sizeof line, f) ) {
+ p = skipspace(line);
+ if (looking_at(p, "endtext"))
+ break;
+ }
} else if ( looking_at(p, "append") ) {
char *a = strdup(skipspace(p+6));
if ( ld.label )