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:
8589c98
)
ldlinux: Make tab-completion output same as pre-elflink
author
Matt Fleming
<matt.fleming@intel.com>
Wed, 9 Nov 2011 13:19:54 +0000
(13:19 +0000)
committer
Matt Fleming
<matt.fleming@intel.com>
Fri, 2 Dec 2011 12:13:30 +0000
(12:13 +0000)
To maintain compatability with the old pre-elflink command line code,
the list of potential labels should all be printed on one line, not
one per line.
Signed-off-by: Matt Fleming <matt.fleming@intel.com>
com32/elflink/ldlinux/readconfig.c
patch
|
blob
|
history
diff --git
a/com32/elflink/ldlinux/readconfig.c
b/com32/elflink/ldlinux/readconfig.c
index
60448c4
..
3a6a367
100644
(file)
--- a/
com32/elflink/ldlinux/readconfig.c
+++ b/
com32/elflink/ldlinux/readconfig.c
@@
-426,8
+426,9
@@
void print_labels(const char *prefix, size_t len)
printf("\n");
for (me = all_entries; me; me = me->next ) {
if (!strncmp(prefix, me->label, len))
- printf(" %s
\n
", me->label);
+ printf(" %s", me->label);
}
+ printf("\n");
}
struct menu_entry *find_label(const char *str)