aboutsummaryrefslogtreecommitdiffstats
path: root/com32/elflink/ldlinux/config.h
diff options
context:
space:
mode:
authorMatt Fleming <matt.fleming@intel.com>2012-05-03 13:19:52 +0100
committerMatt Fleming <matt.fleming@intel.com>2012-05-03 13:50:14 +0100
commitb6f8015f2335da9ce400b84787ca5721bf1bf867 (patch)
tree7baf23a1ceb6ac691f234b10125d0f114af6aa15 /com32/elflink/ldlinux/config.h
parent254db41a8b0cf5f92bd6ff3f3e20bbd64ede071e (diff)
downloadsyslinux-b6f8015f2335da9ce400b84787ca5721bf1bf867.tar.gz
syslinux-b6f8015f2335da9ce400b84787ca5721bf1bf867.tar.xz
syslinux-b6f8015f2335da9ce400b84787ca5721bf1bf867.zip
elflink: Fix TIMEOUT and TOTALTIMEOUT handling
Paulo reported that his default command line wasn't being executed when the timeout specified in his config file elapsed. This is because mygetkey() wasn't correctly applying the timeout when waiting for input. Furthermore, it seems the ONTIMEOUT parsing was also broken. Reported-by: Paulo Alcantara <pcacjr@zytor.com> Signed-off-by: Matt Fleming <matt.fleming@intel.com>
Diffstat (limited to 'com32/elflink/ldlinux/config.h')
-rw-r--r--com32/elflink/ldlinux/config.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/com32/elflink/ldlinux/config.h b/com32/elflink/ldlinux/config.h
index cab4c70b..b15a0828 100644
--- a/com32/elflink/ldlinux/config.h
+++ b/com32/elflink/ldlinux/config.h
@@ -35,6 +35,7 @@ extern short nohalt; //idle.inc
extern const char *default_cmd; //"default" command line
extern const char *onerror; //"onerror" command line
+extern const char *ontimeout; //"ontimeout" command line
extern void cat_help_file(int key);
extern struct menu_entry *find_label(const char *str);