readline: reimplement history functions
This reimplements the history functions in readline.

- Use regular lists instead of homegrown list implementation
- Allocate history strings dynamically instead of copying strings
  to fixed buffers without checking the size
- saves us an initcall
- slightly smaller
- no longer add duplicates to the history
- when moving past the last history entry print an empty line

Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
1 parent ccdf13a commit ada160a34a1ec8421d5bb7b9dd746294668a5130
@Sascha Hauer Sascha Hauer authored on 29 Jul 2014
Showing 1 changed file
View
lib/readline.c