Denys Vlasenko e52da5570e libbb: auto_string() for efficient handling of temporary malloced stirngs
Use it in libiproute: get rid of one static string buffer.

function                                             old     new   delta
auto_string                                            -      51     +51
ll_index_to_name                                      10      49     +39
buffer_fill_and_print                                169     178      +9
scan_recursive                                       378     380      +2
decode_one_format                                    732     734      +2
cmdputs                                              334     332      -2
static.cur_saved                                       4       1      -3
static.nbuf                                           16       -     -16
printable_string                                      94      57     -37
ll_idx_n2a                                            53       -     -53
------------------------------------------------------------------------------
(add/remove: 2/2 grow/shrink: 4/3 up/down: 103/-111)           Total: -8 bytes
   text	   data	    bss	    dec	    hex	filename
 939880	    992	  17496	 958368	  e9fa0	busybox_old
 939880	    992	  17480	 958352	  e9f90	busybox_unstripped

Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
2015-10-09 17:59:56 +02:00
..
2015-07-13 03:25:46 +02:00
2011-02-03 00:05:48 +01:00
2013-02-26 00:36:53 +01:00
2010-10-28 18:57:19 +02:00
2012-10-03 09:42:21 +02:00
2011-08-10 00:51:29 +02:00
2015-10-07 19:17:01 +02:00
2015-07-13 03:25:46 +02:00
2011-09-08 10:59:26 +02:00
2014-12-22 19:37:05 +01:00
2011-05-16 12:21:31 +02:00
2015-08-24 20:00:17 +02:00
2011-03-12 02:19:50 +01:00
2010-07-26 01:49:12 +02:00
2010-10-19 23:07:49 +02:00
2010-10-29 11:46:52 +02:00
2011-02-12 01:56:25 +01:00
2015-08-24 20:00:17 +02:00
2015-04-02 23:03:46 +02:00
2011-10-28 16:15:00 +02:00
2011-10-24 04:06:18 +02:00
2014-05-02 07:18:55 +02:00
2010-10-28 18:57:19 +02:00
2015-03-22 17:56:38 +01:00
2015-08-24 20:00:17 +02:00
2015-07-13 03:25:46 +02:00
2010-10-28 18:57:19 +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>