summaryrefslogtreecommitdiff
path: root/shell/ash_test/ash-getopts
diff options
context:
space:
mode:
authorRon Yorston2021-09-14 08:52:49 +0100
committerDenys Vlasenko2021-09-15 08:09:45 +0200
commit3512ef801839feeb20d178776fff999e1da532fd (patch)
treefb687cea83b328ae7352205d4be7c390e326af23 /shell/ash_test/ash-getopts
parent5726df5f94f973eaa097d9853ceff2bd6b748d97 (diff)
downloadbusybox-3512ef801839feeb20d178776fff999e1da532fd.zip
busybox-3512ef801839feeb20d178776fff999e1da532fd.tar.gz
libbb: code shrink parse_datestr
The default build uses strptime() in parse_datestr() to support the 'month_name d HH:MM:SS YYYY' format of GNU date. If we've linked with strptime() there's an advantage is using it for other formats too. There's no change to the non-default, non-DESKTOP build. function old new delta fmt_str - 106 +106 .rodata 99216 99145 -71 parse_datestr 948 624 -324 ------------------------------------------------------------------------------ (add/remove: 1/0 grow/shrink: 0/2 up/down: 106/-395) Total: -289 bytes Signed-off-by: Ron Yorston <rmy@pobox.com> Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'shell/ash_test/ash-getopts')
0 files changed, 0 insertions, 0 deletions