shell: unify endofname() in hush and ash
authorDenys Vlasenko <dvlasenk@redhat.com>
Tue, 7 Sep 2010 10:19:33 +0000 (12:19 +0200)
committerDenys Vlasenko <dvlasenk@redhat.com>
Tue, 7 Sep 2010 10:19:33 +0000 (12:19 +0200)
commit8b2f13d84def87b4ebd0901bf0c3157bc1f6dee3
tree0bf072d3612c77dd8b0720973e46e8dbc37a040a
parent27c56f12670295286a881bbb87d506f0a5bfd40e
shell: unify endofname() in hush and ash

function                                             old     new   delta
builtin_umask                                        132     133      +1
changepath                                           195     194      -1
expand_and_evaluate_arith                             77      69      -8
ash_arith                                            143     135      -8
expand_one_var                                      1551    1515     -36
------------------------------------------------------------------------------
(add/remove: 0/0 grow/shrink: 1/4 up/down: 1/-53)             Total: -52 bytes

Signed-off-by: Denys Vlasenko <dvlasenk@redhat.com>
shell/ash.c
shell/hush.c
shell/math.c
shell/math.h