3c0b425cde
dpkg used tfind, which doesn't work with libc5. Print a friendy error should someone try to use it... -Erik
Eric Andersen
2001-03-14 01:31:11 +00:00
14e9e9d1ca
Fix socklen_t for libc5
Eric Andersen
2001-03-14 01:23:07 +00:00
9c09e0eeaa
The IPC_SYSLOG stuff should be off by default. -Erik
Eric Andersen
2001-03-14 01:16:41 +00:00
c319601db5
Some updates for libc5
Eric Andersen
2001-03-14 01:15:06 +00:00
4e7244e6b2
libc5 glob is pretty stupid and doesn't do GLOB_BRACE or GLOB_TILDE -Erik
Eric Andersen
2001-03-14 00:49:52 +00:00
8658816f71
Added a dependency on BB_MKFS_MINIX to xfopen().
Mark Whitley
2001-03-14 00:43:16 +00:00
f594986b37
- Changed name of BB_FEATURE_SIMPLE_PROMPT to BB_FEATURE_SH_SIMPLE_PROMPT - Set BB_FEATURE_SH_STANDALONE_SHELL and BB_FEATURE_SH_APPLETS_ALWAYS_WIN to be off by default - Set BB_FEATURE_SH_SIMPLE_PROMPT to be on by default - Added some more magic to the Olympus section to make all the dependencies on the shell, cmdline editing, tab completion and friend work properly. - Tidied up the Olympus section with some whitespace. Checked the various scrips that parse through there and the extra whitespace shouldn't break anything.
Mark Whitley
2001-03-14 00:29:14 +00:00
c75f83d874
Some new testcases, some improvements to the tester.sh script.
Mark Whitley
2001-03-13 23:30:18 +00:00
b3d6e2df95
Update the lash shell (hopefully the last time...) so things like echo "foo bar" and echo -n "foo\t\\\\\tbar" work as expected. Merge prompt printing work from Vladimir. -Erik
Eric Andersen
2001-03-13 22:57:56 +00:00
798ab301c7
Added Midori Linux to the list of known projects that use Busybox.
Mark Whitley
2001-03-13 17:08:54 +00:00
f6ba2da29f
Credited Christophe Boyaniqu for interactive patch to rm.
Mark Whitley
2001-03-13 16:35:55 +00:00
e0bf91d7c6
Applied patch from Christophe Boyanique to add -i support to rm.
Mark Whitley
2001-03-13 00:40:19 +00:00
53737c5421
Some fixlets that didn't get added in the last 'syslogd split' patch: - BB_LOGREAD should not be in the applet section - BB_FEATURE_IPC_SYSLOG added to the feature section - Some voodoo added to the Olympus section
Mark Whitley
2001-03-12 23:55:56 +00:00
6bff9cc487
Added some comment lines in the header indicating that Gennady Feldman is the maintainer of these three applets.
Mark Whitley
2001-03-12 23:41:34 +00:00
bd2e42f162
Applied a patch from Brian Webb to fix a problem with mount on the Agenda PDA. Apparently, the mount() call does not like taking a stack allocated pointer.
Mark Whitley
2001-03-12 23:17:26 +00:00
94fd480bab
Applied patch from John Lombardo to fix OOM in insmod.
Mark Whitley
2001-03-12 23:08:34 +00:00
6317c4baf7
Applied patch from Gennady Feldman to split up syslogd.c into syslogd and klogd (as it should be).
Mark Whitley
2001-03-12 22:51:50 +00:00
4987bbf979
A fix from Larry Doolittle for some nasty segfaults when sh.c tried to free a corrupted cmd pointer, and where it would truncate a command line at the first double space. -Erik
Eric Andersen
2001-03-12 21:36:49 +00:00
5ec5415402
Program for testing concurrent access to syslogd.
Mark Whitley
2001-03-12 20:00:00 +00:00
1a49fc5e92
Applied patch from Gennady Feldman to use single-thread instead of forking.
Mark Whitley
2001-03-12 19:51:09 +00:00
fe4e13fb97
Add missing dependency -- interface.c needs get_kernel_revision.
Manuel Novoa III
2001-03-12 10:00:17 +00:00
22b889a998
Adjust ifconfig usage message for selected options and current functionality.
Manuel Novoa III
2001-03-12 09:58:51 +00:00
68ea1d0325
Reduced code size of interface. Support ifconfig -a and ifconfig interface display. Change %llu to %Lu in ifconfig for hacked unsigned long long support in uClibc scanf.
Manuel Novoa III
2001-03-12 09:57:59 +00:00
1365bb7861
When using wordexp, only try to use the expand command when something actually got expanded. Skip it otherwise. -Erik
Eric Andersen
2001-03-10 07:12:12 +00:00
78f57460f2
Quick mod to enable option -a for ifconfig.
Manuel Novoa III
2001-03-10 02:00:54 +00:00
d2117e9c82
Created new regression testing framework with a number of testcases (many more can be added). Also changed 'test' target in makefile to run the new tester.sh. (Hopefully, we should be able to remove all the tests/*.mk files soon.)
Mark Whitley
2001-03-10 00:51:29 +00:00
09f4af5afd
/* getopt not needed */
Mark Whitley
2001-03-10 00:13:20 +00:00
827e45c518
Added some more '/* getopt not needed */' lines.
Mark Whitley
2001-03-09 23:59:51 +00:00
fa45f22e50
Use perror_msg_and_die function where appropriate.
Manuel Novoa III
2001-03-09 23:06:15 +00:00
d92168486b
Fixed df.c so that nfs volumes will display properly (fixing bug #1113). Problem was 512/1024 = 0 if you use longs, so I cast KILOBYTE to a double, then cast the result back to an int after the math is done, letting C's type promotion do its magic for the rest. -Erik
Eric Andersen
2001-03-09 22:42:26 +00:00
4aaf89f49f
Silence a silly warning
Eric Andersen
2001-03-09 22:17:59 +00:00
f90c28dd1e
Applied patch from Jeff Garzik to getopt-ify rmmod.
Mark Whitley
2001-03-09 21:49:12 +00:00
8d4c397d9d
Patch from Jeff Garzik marking a few 'getopt not needed' apps.
Eric Andersen
2001-03-09 21:28:09 +00:00
3e6ff9017f
A cleanup patch from Jeff Garzik to static-ify a number of namespace polluting things that really should be static.
Eric Andersen
2001-03-09 21:24:12 +00:00
dd91724aa0
patch from Larry to fix pristine source builds
Eric Andersen
2001-03-09 20:47:27 +00:00
74e056bfc8
Fixed a couple more cases. $FOO/bar ${FOO} and such now work without wordexp. Of course for stuff like ${1:-foo} you still need wordexp for them to work. -Erik
Eric Andersen
2001-03-09 20:34:46 +00:00
3c7361f53a
Allow wordexp to be used if available
Eric Andersen
2001-03-09 19:45:26 +00:00
ce89871ff7
Urg. Remove the debug noise
Eric Andersen
2001-03-09 19:43:57 +00:00
195743f195
Ok, sh.c should be working now. Many thanks to Larry Doolittle for his timely help -- nearly all of the work in this patch is his. -Erik
Eric Andersen
2001-03-09 19:21:37 +00:00
eba8ed71f0
Patchs from Jeff Garzik <jgarzik@mandrakesoft.com> to cleanup warnings with glibc 2.2 and use always use xfopen -Erik
Eric Andersen
2001-03-09 14:36:42 +00:00
9ba5bce06f
Added script that tests turning on features in busybox one at a time and compiling to see if things break. Initial revision.
Mark Whitley
2001-03-09 01:46:45 +00:00
01658a3eec
Fix sh.c for the glab case. I was messing things up for single argument commands. It should now work as expected... -Erik
Eric Andersen
2001-03-09 01:24:02 +00:00
3dbf1e877a
A '.' is a legal seperator.
Eric Andersen
2001-03-09 01:08:06 +00:00
afffbfe8c4
Fix to trim to make it trim properly.
Mark Whitley
2001-03-09 00:55:34 +00:00
b180dd9e50
Cleanup patch from Larry
Eric Andersen
2001-03-09 00:42:46 +00:00
13d1fa1d01
Add in 'trim' routine. Fix up sh.c so it works when wordexp is not available. -Erik
Eric Andersen
2001-03-08 23:59:45 +00:00
df351d6109
Improved port of ifconfig... smaller and with more features.
Manuel Novoa III
2001-03-08 22:57:00 +00:00
39eea898c4
Per Vladimir's suggestion, force the locale to POSIX for all the scripts so busybox will install properly.
Eric Andersen
2001-03-08 21:42:11 +00:00
32f8c170b0
Remember to delete un-expandable variables, and do a better job of expanding shell-specific things in case the wordexp implementation is broken (ie. the stubbed out wordexp in uClibc). -Erik
Eric Andersen
2001-03-08 17:44:37 +00:00
ca6045955d
Rework environment variable handling to use wordexp, per a suggestion from Larry Doolittle a couple of months ago. This makes the stuff-expansion in lash be ever so standards compliant. This change needs testing by everyone, but appears to be solid enough to let us close bug #1090.
Eric Andersen
2001-03-08 17:17:13 +00:00
e2c44fc966
Applied patch from Vladimir to fix bug where find would stop as soon as it hit a perms error. Closes bug 1124.
Mark Whitley
2001-03-08 16:54:44 +00:00
5de909873a
Eliminate superfluous test.
Matt Kraai
2001-03-07 21:45:13 +00:00
4cc8f31ffe
Changed KILOBYTE, MEGABYTE, and GIGABYTE from #define to enum.
Mark Whitley
2001-03-07 18:00:44 +00:00
ae5612ca6e
Some minor cleanups to df.c. Also, with Erik's blessing, changed name of 'format' function to 'make_human_readable_str'.
Mark Whitley
2001-03-07 17:42:07 +00:00
ae20128e9f
Applied patch from Christophe Boyaniqu to remove double-slashes printed in recursive_action.
Mark Whitley
2001-03-07 17:27:04 +00:00
26d53eb197
This patch by Vladimir and Larry saves a few bytes.
Eric Andersen
2001-03-07 06:33:01 +00:00
ec9fad9a49
Static-ify a variable. make du work with all the human-readable variants since my last pass only fixed 'du -h' but left the others broken.
Eric Andersen
2001-03-07 06:04:08 +00:00
a7db19bb81
Fix up du so it behaves itself also. -Erik
Eric Andersen
2001-03-07 03:53:40 +00:00
11ae573320
remove an unused variable
Eric Andersen
2001-03-07 03:51:27 +00:00
7850f1e2ac
Rewrite of format so it behaves itself -Erik
Eric Andersen
2001-03-07 03:50:57 +00:00
5986f8d1c6
Fix up df so it works properly -Erik
Eric Andersen
2001-03-07 03:50:03 +00:00
651f8c04ef
Fix up ls.c to ensure human readable works properly in all cases
Eric Andersen
2001-03-07 03:48:02 +00:00
6c563bc1a1
Thought of another janitorial item for the list.
Mark Whitley
2001-03-06 23:16:13 +00:00
8b728a25a3
I made these little simplifications a while back, bug forgot to check this stuff in. -Erik
Eric Andersen
2001-03-06 23:14:43 +00:00
702ec5926f
Fix the memory leak. No really this time. -Erik
Eric Andersen
2001-03-06 22:17:29 +00:00
8bb7df49c2
Applied patch from Vladimir Oleynik via Magnus Damm that removes newlines from error_msg() calls and uses 'return EXIT_SUCCESS' instead of return 0.
Mark Whitley
2001-03-06 20:58:48 +00:00
0f430e34af
Fix up some silly macros and use xmalloc and friends exclusively.
Eric Andersen
2001-03-06 20:54:43 +00:00
36278b9576
Fix func prototype
Eric Andersen
2001-03-06 20:47:31 +00:00
54851d3c65
Fixed a memory leak in lash. It seems that close_all was calling close() directly instead of calling mark_closed(), which allowed the memory allocated by mark_open() to never be freed. -Erik
Eric Andersen
2001-03-06 20:44:39 +00:00
07f2f3917a
Close open files before calling builtin_exec(). I've tested this and it fixes bug #1121. -Erik
Eric Andersen
2001-03-06 20:28:22 +00:00
1a046d5f9d
Bug 1110 reported that the LOOP_GET_STATUS ioctl apparently returnes non-zero error messages, contrary to the documentation. Whatever. This patch from zhaoway <zw@debian.org> looks safe enough. -Erik
Eric Andersen
2001-03-06 19:35:58 +00:00
138ece09b5
minor cleanup
John Beppu
2001-03-06 19:25:25 +00:00
e6c4de03c6
First pass at trying to retrofit a changelog for 0.50. Please everyone look over this and if I forgot something, misattributed your work, or spelled something badly, please let me know. -Erik
Eric Andersen
2001-03-06 18:46:10 +00:00
f15d4dad66
Add in a first pass at ifconfig status reporting. It took a long while hacking on the mess in net-tools-1.59, but it currently adds 12k and supports ethernet, loop, ppp, and treats everything else as a generic interface. Works ok for me. -Erik
Eric Andersen
2001-03-06 00:48:59 +00:00
5efa2291aa
Fix up the freshmeat appindex record.
Eric Andersen
2001-03-05 18:26:50 +00:00
c27b9544b6
Make sure libpwd.a is linked _last_ so it overrides the system pwd/grp implementation. It wasn't doing that as expected...
Eric Andersen
2001-03-05 17:57:34 +00:00
47cdcdd359
Try to do a little better at documenting how to use alternate C libraries, thanks to David Douthitt.
Eric Andersen
2001-03-05 17:08:52 +00:00
21b7459add
add wget, tr, telnet, ping, md5sum and loadkmap to .deb
David Kimdon
2001-03-05 08:43:26 +00:00
afbff22e6e
Enable INSTALLER for the deb
Eric Andersen
2001-03-05 04:00:06 +00:00
452fd33ffa
Patch from Vladimir to make sure PATH is set correctly.
Eric Andersen
2001-03-04 06:47:33 +00:00
076cdc24fc
If umount2 is not available, stub it out.
Eric Andersen
2001-03-04 06:07:34 +00:00
9ead68975c
Added some words on use of getopt in applets.
Mark Whitley
2001-03-03 00:44:55 +00:00
323434be42
Dont try to automount some specific filesystem types
Glenn L McGrath
2001-03-02 22:21:34 +00:00
446dd27843
Applied patch from Vladimir N. Oleynik that fixes incorrect behaviour in recovery_mode and changed option processing.
Mark Whitley
2001-03-02 20:00:54 +00:00
42ab250709
Removed section on testing that is now in contributing.txt.
Mark Whitley
2001-03-02 19:15:01 +00:00
3b565cdf91
Added 'How to contribute to Busybox' doc.
Mark Whitley
2001-03-02 19:14:25 +00:00
85adecb668
Whoops! BB_TFTP should prolly be off by default.
Mark Whitley
2001-03-02 19:11:26 +00:00
450736cd3c
Added Magnus Damm's tftp applet to Busybox.
Mark Whitley
2001-03-02 19:08:50 +00:00
016771834a
Changed exit code from -1 to 0 when busybox is invoked with no args. (Closes bug #1114.)
Mark Whitley
2001-03-02 17:47:17 +00:00
39842defda
Applied patch from David Douthitt to fix build error in df.c when BB_FEATURE_HUMAN_READABLE was disabled.
Mark Whitley
2001-03-01 18:51:33 +00:00
de4406747b
Bah. I missed a header file.
Eric Andersen
2001-03-01 07:55:49 +00:00
7b91f02021
Reduce the size of mount (and bypass /proc/filesystems) by using the sysfs system call, based on work done by Glenn McGrath in December. -Erik
Eric Andersen
2001-03-01 07:50:04 +00:00
93ba60f01d
Keep trying if an NFS mount fails, and eliminate a call to exit(3).
Matt Kraai
2001-02-28 15:33:12 +00:00
1b6cff3df4
libpwd was getting added twice.
Eric Andersen
2001-02-27 22:24:45 +00:00
4f76bb6f3e
Little patchlet to make linking against libc5 work a little better
Mark Whitley
2001-02-27 19:53:48 +00:00
4142d4dc66
Patch from Vladimir N. Oleynik to save 128 bytes by moving error checking for some my_* functions to utility.c
Eric Andersen
2001-02-27 18:22:03 +00:00
e677dfedd1
Applied patch from Magnus Damm <damm@opensource.se> to fix a 'inner scope var masking outer scope var with same name' bug that was preventing the loopback device from being unmounted if mount() fails.
Mark Whitley
2001-02-26 17:45:58 +00:00
d11578f916
- changed the way POD is generated such that the dashed line appears at the bottom instead of the top. The indentation semantics of POD make the first item in the (=over,=back) block look weird the other way. - implemented a way to encode example usage into usage.h One would define a macro called "${applet}_example_usage" which would expand to the example text. - The example usage is considered optional, but trivial and full usage are not.
John Beppu
2001-02-26 02:50:11 +00:00
2bf658d5cd
This patch, from Quinn Jensen <jensenq@lineo.com>, adds MIPS support to busybox insmod. Thanks Quinn!!! -Erik
Eric Andersen
2001-02-24 20:01:53 +00:00