ash: use mempcpy() in more places
authorDenys Vlasenko <vda.linux@googlemail.com>
Sun, 23 Jul 2017 19:46:02 +0000 (21:46 +0200)
committerDenys Vlasenko <vda.linux@googlemail.com>
Sun, 23 Jul 2017 19:46:34 +0000 (21:46 +0200)
commit5ace96a71304c2d5d3b8b864df9b4b8ca40f417c
treed773109b464a971aaac671548250140607d3523c
parente4f6bfd6fec87e8eb77f1a9fe34b8b7884ef9748
ash: use mempcpy() in more places

Most changes are taken from dash.

function                                             old     new   delta
single_quote                                         127     129      +2
stack_nputstr                                         28      29      +1
path_advance                                         209     202      -7
rmescapes                                            346     308     -38
------------------------------------------------------------------------------
(add/remove: 0/0 grow/shrink: 2/2 up/down: 3/-45)             Total: -42 bytes

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