CLI: Delete 'temp_cmdline' and put 'cmdline' on the stack
authorMatt Fleming <matt.fleming@intel.com>
Thu, 29 Nov 2012 16:55:33 +0000 (16:55 +0000)
committerMatt Fleming <matt.fleming@intel.com>
Thu, 29 Nov 2012 16:58:02 +0000 (16:58 +0000)
commit2080029baa13b5b8d8b94ae1dc27ce4ea82b5397
tree4540faf18f93443dff70fc9e9fe47fd4a4d4d830
parent8f1c64acf9c60d184fef37f373737895468c0771
CLI: Delete 'temp_cmdline' and put 'cmdline' on the stack

We don't need to preserve the contents of 'cmdline' across calls to
edit_cmdline(). In fact, doing so causes things like the TAB key to
not function properly because the previous command is used as a prefix
to print_labels(), as though the user had typed it explicitly before
hitting TAB.

Delete 'temp_cmdline' because it no longer serves a purpose.

Signed-off-by: Matt Fleming <matt.fleming@intel.com>
com32/elflink/ldlinux/cli.c