Denys Vlasenko 9b56bf5416 lineedit: stop using permanent int_buf[] (16k!): allocate it
Now it is allocated temporarily only for the duretion of prefix generation,
and also we only allocate the needed size, not maximally possible.

function                                             old     new   delta
build_match_prefix                                   579     590     +11
remove_chunk                                          43      28     -15
------------------------------------------------------------------------------
(add/remove: 0/0 grow/shrink: 1/1 up/down: 11/-15)             Total: -4 bytes

Signed-off-by: Denys Vlasenko <dvlasenk@redhat.com>
2010-09-03 13:02:47 +02:00
..
2010-08-31 12:42:06 +02:00
2010-09-01 12:01:17 +02:00
2010-09-01 12:01:17 +02:00
2010-09-01 12:01:17 +02:00
2010-08-28 23:20:34 +02:00
2008-12-04 15:29:35 +00:00
2009-03-12 15:39:11 +00:00
2010-07-26 01:49:12 +02:00
2010-08-31 12:42:06 +02:00
2010-08-31 12:42:06 +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>