Denys Vlasenko f4fcd74a6e shell: do not read user database for every prompt - only for those which need it
function                                             old     new   delta
get_user_strings                                       -      52     +52
get_homedir_or_NULL                                    -      23     +23
parse_and_put_prompt                                 823     838     +15
null_str                                               1       -      -1
complete_cmd_dir_file                                814     812      -2
deinit_S                                              51      42      -9
read_line_input                                     3059    3015     -44
------------------------------------------------------------------------------
(add/remove: 2/1 grow/shrink: 1/3 up/down: 90/-56)             Total: 34 bytes

Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
2021-10-11 23:08:31 +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
2013-02-26 00:36:53 +01:00
2021-02-03 20:43:07 +01:00
2012-10-03 09:42:21 +02:00
2020-10-01 03:07:22 +02:00
2021-02-03 20:52:40 +01:00
2018-07-17 15:04:17 +02:00
2021-09-17 00:47:23 +02:00
2020-12-17 20:53:43 +01: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>