Commit Graph

1305 Commits

Author SHA1 Message Date
Eric Andersen
cbe31dace5 It turns out that DODMALLOC was broken when I reorganized busybox.h
header file usage before the 0.49 release.  To fix it, I had to move
the '#include "busybox.h"' to the end of the list of #include files.
 -Erik
2001-02-20 06:14:08 +00:00
Eric Andersen
94456f5984 Put back Vladimir's testing defines, which I mistakenly removed. 2001-02-18 20:26:48 +00:00
Eric Andersen
12dceb1147 A few more cleanups from Vladimir. 2001-02-18 20:15:36 +00:00
Eric Andersen
963791a9e9 Another patch from Vladimir to eliminate obsolete junk. 2001-02-18 20:13:18 +00:00
Eric Andersen
f1bbb22dca A small cleanup by Vladimir 2001-02-18 20:12:25 +00:00
Eric Andersen
f57a832063 Remove leftover junk 2001-02-18 20:11:38 +00:00
Eric Andersen
b50da53e0c Get rid of long stale usage message code.
-Erik
2001-02-17 16:52:35 +00:00
Eric Andersen
3d20f772c2 A bunch of usage clenups from kent robotti <robotti@metconnect.com>
-Erik
2001-02-17 16:49:00 +00:00
Eric Andersen
966b3a6f79 More updates from Larry Doolittle. Don't use basedir, Don't assume
random makefiles are going to work with busybox.
2001-02-17 15:56:52 +00:00
Eric Andersen
1cf8166329 More updates. 2001-02-17 15:55:15 +00:00
Eric Andersen
47aea4ee71 Ignore applet_source_list 2001-02-17 03:08:32 +00:00
Eric Andersen
19f86207f5 Update the build system for pristine source directory builds. This
update is primarily work done by Larry Doolittle, but I did some
touchups of my own to make it work for me,
 -Erik
2001-02-17 00:42:47 +00:00
Eric Andersen
69c8572f29 Update the debian build stuff
-Erik
2001-02-17 00:41:05 +00:00
Eric Andersen
f6a7227fd6 Throw out the obsolete INIT_CHROOT junk 2001-02-17 00:40:32 +00:00
Eric Andersen
28a78ab62c Several features were hard coded on. Stop that. List tab completion
as working (thanks Vladimir!) and taking 4k.
 -Erik
2001-02-16 20:26:50 +00:00
Eric Andersen
6faae7deb4 Commit Vladimir's latest cmdedit. I modified it slightly to ensure
parse_prompt() would be called before cmdedit_init(), since cmdedit_init()
calls cmdedit_setwidth() which uses cmdedit_prmt_len, which is set by
parse_prompt().  Also, added a mod, so very narrow terminals should now wrap
properly...  This is working very nicely for me -- Vladimir has done some
very good work.
2001-02-16 20:09:17 +00:00
Eric Andersen
361ee514c6 Revert multibuild.pl change. 2001-02-16 19:07:21 +00:00
Eric Andersen
ca0f458ada Regression testing bugfixes from Larry Doolittle. As an aside,
can I just say how much I am looking forward to having 0.50
released, so we can address this #define stupidness properly
by building a static libbusybox, and then letting the linker
sort out the dependancies....  Ahh, that will be much nicer.
 -Erik
2001-02-16 18:43:54 +00:00
Eric Andersen
733c4ad6eb Do usage messages the same way all other apps fo them.
Skip printing of available options (can't do this easily).
Based on a patch by Larry Doolittle.
 -Erik
2001-02-16 18:41:12 +00:00
Eric Andersen
fa4f146d7d Patch from Larry Doolittle to cross things in multibuild.pl 2001-02-16 18:37:00 +00:00
Eric Andersen
5f2c79d8c7 Make ar be crossed. 2001-02-16 18:36:04 +00:00
Eric Andersen
af12bc6de4 Make dpkg require dpkg-deb 2001-02-16 18:35:06 +00:00
Glenn L McGrath
3f5bcbfa3c Fix warning for implicit declaration of time() 2001-02-16 10:33:30 +00:00
Glenn L McGrath
a9c69762ba Fix compile error, sync() always returns 0 anyway. 2001-02-16 10:21:35 +00:00
Mark Whitley
825ae5a166 Another small formatting change from Larry Doolittle. 2001-02-15 23:31:40 +00:00
Mark Whitley
99806ad2bd Applied patch from Larry Doolittle that does the following:
- style changes
 - It actually returns the code computed by INET_setroute (wasn't being done
   properly before)
 - The displayroute() format string now matches net-tools
2001-02-15 23:00:48 +00:00
Eric Andersen
11b7a1deb7 Acknowledge Kenneth Chalmers ln fix. 2001-02-15 20:13:59 +00:00
Eric Andersen
d69d2da165 use perror_msg instead of perror to print the applet name.
-Erik
2001-02-15 20:12:05 +00:00
Eric Andersen
b50d707633 fix a few mallocs to be xmallocs.
-Erik
2001-02-15 19:50:11 +00:00
Eric Andersen
02b9f42a27 Patch from Matt Kraai to fix bug #1103. I've tested it,
and it indeed seems to fix things.
 -Erik
2001-02-15 19:07:43 +00:00
Eric Andersen
81bcc92c32 Fixed 'ls -s' so it actually displays block sizes again.
-Erik
2001-02-15 18:59:02 +00:00
Eric Andersen
8305006f7c Make usage.c depend on usage.h
-Erik
2001-02-14 21:52:18 +00:00
Eric Andersen
c1c43113b4 Fins find message. 2001-02-14 21:51:54 +00:00
Eric Andersen
3ec8ffb121 I forgot to add usage.h, so here it is, with a few extra cleanups.
Also update show_usage to handle the updated usage.h.  Again,
nearly all the work to get usage.h into shape was done by
Manuel Novoa III.
 -Erik
2001-02-14 21:46:30 +00:00
Eric Andersen
67991cf824 This patch, put together by Manuel Novoa III, is a merge of work
done by Evin Robertson (bug#1105) and work from Manuel to make
usage messages occupy less space and simplify how usage messages
are displayed.
2001-02-14 21:23:06 +00:00
Eric Andersen
68be2ab914 implemented displayroute() based on a patch from Vladimir N. Oleynik,
so now route behaves as expected w/o any arguments.
2001-02-14 19:26:39 +00:00
Eric Andersen
98e599ca06 Commit Vladimir's latest version of stty.c. Nice work.
-Erik
2001-02-14 18:47:33 +00:00
Eric Andersen
ec45595300 Add in ifconfig and route 2001-02-14 08:11:27 +00:00
Eric Andersen
88a5ceb450 Bump rev to 0.50pre. 2001-02-14 07:55:19 +00:00
Eric Andersen
fc83c4c353 Several cleanups from Manuel Novoa III.
get_kernel_revision --  size reduction
        NOTE: may want to combine with get_kernel_version in insmod???

parse_mode -- size reduction, multiple settings with "," now work correctly,
        sticky-bit setting now implemented

process_escape_sequence -- size reduction, octal code to big for char bug fixed

format -- size reduction, val > LONG_MAX and hr = 1 printing bug fixed (was %ld),
2001-02-14 07:15:30 +00:00
Eric Andersen
6fd8c664c1 Apply a patch from Evin Robertson -- new pivot_root applet.
-Erik
2001-02-13 20:04:30 +00:00
Glenn L McGrath
3af1f88725 Closer integration with dpkg-deb and other busybox functions.
Hopefully simplified some code (works for me).
2001-02-12 11:33:09 +00:00
Glenn L McGrath
dadf9c6dcd New dpkg-deb option, warning about dpkg usage 2001-02-12 11:27:45 +00:00
Glenn L McGrath
821fbf0f42 New option 'list' produces output that can be used for the packages .list file.
Will be used be bb dpkg
2001-02-12 11:16:26 +00:00
Glenn L McGrath
bc9afadecd New function, deb-extract to be used by dpkg, code cleanups. saves some bytes 2001-02-11 03:32:41 +00:00
Glenn L McGrath
728875f340 Consmetic changes 2001-02-11 03:15:57 +00:00
Glenn L McGrath
631064613f More style changes 2001-02-11 01:40:23 +00:00
Glenn L McGrath
0c9d77ccfd Style changes; use get_line_from_file from utilities 2001-02-11 00:17:22 +00:00
Glenn L McGrath
de556615dc BB_DPKG uses copy_file 2001-02-10 14:53:44 +00:00
Glenn L McGrath
510f0ddafa Use copy_file from utilty.c, remove some char defines 2001-02-10 14:53:08 +00:00