shell/read: fix "'read' without parameters" bash compat thingy
authorDenys Vlasenko <vda.linux@googlemail.com>
Tue, 12 Jan 2010 21:12:10 +0000 (22:12 +0100)
committerDenys Vlasenko <vda.linux@googlemail.com>
Tue, 12 Jan 2010 21:12:10 +0000 (22:12 +0100)
commit045f4ad92c07434625e168bc8c37aa0e89f6e58e
tree83e8c3eeca479d0ad4cc78a83c6da55678f91f0f
parent7306727d1b2ed05afc91548ba374f7400a2389e3
shell/read: fix "'read' without parameters" bash compat thingy

previous change:

function                                             old     new   delta
builtin_read                                          82    1074    +992
popstring                                            134     140      +6
readcmd                                             1034     148    -886
------------------------------------------------------------------------------
(add/remove: 0/0 grow/shrink: 2/1 up/down: 998/-886)          Total: 112 bytes

this change:

builtin_read                                        1074    1096     +22
static.arg_REPLY                                       8       -      -8
------------------------------------------------------------------------------
(add/remove: 0/1 grow/shrink: 1/0 up/down: 22/-8)              Total: 14 bytes

Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
shell/builtin_read.c