Denys Vlasenko
8286513838
hush: rework input char buffering to allow more than one-deep peek
This fixes backslash+newline continuation in
$VAR\
NAME
construct. (ash has a bug there as well).
function old new delta
file_peek2 - 74 +74
parse_dollar 746 773 +27
expand_vars_to_list 1143 1167 +24
setup_string_in_str 32 46 +14
setup_file_in_str 33 47 +14
file_get 264 278 +14
static_peek2 - 7 +7
file_peek 91 72 -19
------------------------------------------------------------------------------
(add/remove: 2/0 grow/shrink: 5/1 up/down: 174/-19) Total: 155 bytes
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
2016-09-29 16:59:06 +02:00
..
2010-05-22 06:20:26 +02:00
2010-05-22 06:20:26 +02:00
2010-05-22 06:20:26 +02:00
2010-05-22 06:20:26 +02:00
2010-05-21 17:54:46 +02:00
2010-05-21 17:54:46 +02:00
2010-05-22 06:05:02 +02:00
2010-05-22 06:05:02 +02:00
2010-05-21 19:52:01 +02:00
2010-09-05 14:47:58 +02:00
2010-09-05 14:47:58 +02:00
2010-09-05 14:47:58 +02:00
2010-09-05 14:47:58 +02:00
2010-09-05 14:47:58 +02:00
2010-09-05 14:47:58 +02:00
2010-09-06 10:26:37 +02:00
2010-09-06 10:26:37 +02:00
2010-09-10 10:17:53 +02:00
2010-09-10 10:17:53 +02:00
2010-09-10 11:06:01 +02:00
2010-09-10 11:06:01 +02:00
2011-08-01 14:06:20 +02:00
2011-08-01 14:06:20 +02:00
2010-05-22 00:26:06 +02:00
2010-05-22 00:26:06 +02:00
2010-07-16 13:52:32 +02:00
2010-07-16 13:52:32 +02:00
2016-09-29 16:59:06 +02:00
2016-09-29 16:59:06 +02:00
2010-09-09 14:04:57 +02:00
2010-09-09 14:04:57 +02:00
2015-05-18 10:23:16 +02:00
2015-05-18 10:23:16 +02:00
2015-05-18 10:23:16 +02:00
2015-05-18 10:23:16 +02:00
2015-05-18 10:23:16 +02:00
2015-05-18 10:23:16 +02:00
2015-05-18 10:23:16 +02:00
2015-05-18 10:23:16 +02:00
2015-05-18 10:23:16 +02:00
2015-05-18 10:23:16 +02:00
2015-05-18 10:23:16 +02:00
2015-05-18 10:23:16 +02:00
2015-05-18 10:23:16 +02:00
2015-05-18 10:23:16 +02:00
2015-05-18 10:23:16 +02:00
2015-05-18 10:23:16 +02:00
2015-05-18 10:23:16 +02:00
2015-05-18 10:23:16 +02:00