Ron Yorston 3512ef8018 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>
2021-09-15 08:09:45 +02:00
..
2020-08-13 17:12:56 +02:00
2021-06-22 15:28:34 +02:00
2020-12-14 18:25:28 +01:00
2020-12-17 11:22:44 +01:00
2021-06-18 00:59:17 +02:00
2021-02-03 20:43:07 +01:00
2020-10-01 03:07:22 +02:00
2020-08-13 17:12:56 +02:00
2021-04-14 17:52:18 +02:00
2021-02-03 20:52:40 +01:00
2018-07-17 15:04:17 +02:00
2020-12-17 20:53:43 +01:00
2021-09-15 08:09:45 +02:00
2015-04-02 23:03:46 +02:00
2021-04-14 17:52:18 +02:00

Please see the LICENSE file for copyright information (GPLv2)

libbb is BusyBox's utility library.  All of this stuff used to be stuffed into
a single file named utility.c.  When I split utility.c to create libbb, some of
the very oldest stuff ended up without their original copyright and licensing
information (which is now lost in the mists of time).  If you see something
that you wrote that is mis-attributed, do let me know so we can fix that up.

	Erik Andersen
	<andersen@codepoet.org>