Commit Graph

  • e2a3cd15a8 Stupid thinko. egrep tried to call init. Sigh. Fix from Christophe Boyanique Eric Andersen 2001-03-16 23:49:20 +00:00
  • aad1a88c76 Convert utility.c into libbb.a. It is now a whole pile of .c files. Clean up the resulting damage and fix up the makefile. -Erik Eric Andersen 2001-03-16 22:47:14 +00:00
  • dfba13d199 A few minor touchups. Eric Andersen 2001-03-16 08:30:00 +00:00
  • 704b2c2122 There was an unwanted extra newline, which prevented building uudecode. How did this sneak through the testing until now? -Erik Eric Andersen 2001-03-16 08:06:30 +00:00
  • 53b55ac08d Fix the make release target. Eric Andersen 2001-03-16 07:43:53 +00:00
  • c36c2ba598 Update webpage noting 0.50 release. Eric Andersen 2001-03-16 07:16:12 +00:00
  • 7f1978570f A patch from Andreas Neuhaus to be especially careful to not dup any env variables when spawning child processes. Eric Andersen 2001-03-16 01:14:04 +00:00
  • 4aaefc2a50 Fix from Larry for glob problems. -Erik Eric Andersen 2001-03-15 23:01:19 +00:00
  • c5b3242d3d Remove the "GPL2" bit, since it hung over the end of the line. Eric Andersen 2001-03-15 22:58:11 +00:00
  • 056960d8dc Applied patch from Larry Doolittle to fix problem where multibuild.pl would build the wrong files. Made the same changes to multifeat.pl. Mark Whitley 2001-03-15 22:14:26 +00:00
  • 0d5051def0 Update files and version number prepratory to cutting a release. -Erik Eric Andersen 2001-03-15 22:12:43 +00:00
  • 3a0057e2c5 Fix egrep Eric Andersen 2001-03-15 21:33:33 +00:00
  • f71378c4ad One tiny little missing newline that confused pod. Mark Whitley 2001-03-15 21:20:25 +00:00
  • 0a6f1d31e7 One tinly, little, missing newline that confused Pod. Mark Whitley 2001-03-15 21:19:09 +00:00
  • e708cb5f9a - generated middle section of busybox.pod w/ autodocifier.pl - updated autodocifier.pl to use tab to indent example section John Beppu 2001-03-15 21:08:01 +00:00
  • a4edd0e946 A better fix. Read nextPtr before mem gets freed. -Erik Eric Andersen 2001-03-15 21:04:18 +00:00
  • f9ff8a7d90 cmdedit.c bugfix patch from Vladimir. -Erik Eric Andersen 2001-03-15 20:51:09 +00:00
  • af9e533a54 - properly indent Examples section in pod generator John Beppu 2001-03-15 20:49:25 +00:00
  • 48dcc16548 Don't confuse people. If the run 'ifconfig' and they didn't compile with BB_FEATURE_IFCONFIG_STATUS turned on, it will now print a message telling them as much. -Erik Eric Andersen 2001-03-15 20:48:45 +00:00
  • 730cdb1904 Reversed previous patch. The right way is to fix uClibc. Mark Whitley 2001-03-15 19:39:40 +00:00
  • 0d4e51d390 Prevent init from potentially using already freed memory when deleting an initAction, fixing a bug pointed out by Andreas Neuhaus -Erik Eric Andersen 2001-03-15 19:18:21 +00:00
  • 0b57e28373 Applied patch from Andreas Neuhaus to fix namespace conflict that made busybox not compile with uClibc. Mark Whitley 2001-03-15 19:12:06 +00:00
  • b0c2b7dfe3 dos2unix logread.c Mark Whitley 2001-03-15 19:05:59 +00:00
  • 2825ee8c2c Fix linuxrc define Eric Andersen 2001-03-15 18:58:06 +00:00
  • a8035a51be Move the warning msg after features.h gets pulled in. -Erik Eric Andersen 2001-03-15 18:20:23 +00:00
  • 7384d7dce0 Added some tests for some recently found / fixed bugs in the shell. Mark Whitley 2001-03-15 18:19:13 +00:00
  • 0d3a02eba7 Update the documentation so examples are autoincluded in the output text. Fix up docs/busybox.pod with the latest autogenerated output. -Erik Eric Andersen 2001-03-15 18:14:25 +00:00
  • 670bea210e Update the changelog, in preparation for making the 0.50 release Eric Andersen 2001-03-15 17:56:44 +00:00
  • d8adaa279e Update the olympus sections Eric Andersen 2001-03-15 17:54:56 +00:00
  • 3bf60aa723 If only BB_DPKG was enabled in Config.h, busybox would not build; it'd say: dpkg.c:18: #error It looks like you are using libc5, which does not support dpkg.c:19: #error tfind(). tfind() is used by busybox dpkg. dpkg.c:20: #error Please disable BB_DPKG. Sorry. This was fixed by changing the || to an && in the preprocessor. (We've changed the logic in there too many times.) Found using multibuild.pl. Mark Whitley 2001-03-15 17:39:29 +00:00
  • e110ccb672 Removed leftover BB_FEATURE_KLOGD per report from Giulio Orsero Mark Whitley 2001-03-15 17:30:07 +00:00
  • 0e0883e0e9 Fix stupid cut-and-paste bug... output RX/TX bytes instead of RX/RX bytes. Manuel Novoa III 2001-03-15 15:37:48 +00:00
  • 038c8eb5a9 Applied patch from Erik Habbinga to fix a problem with an uninitialized substitution delimiter. Mark Whitley 2001-03-14 21:11:49 +00:00
  • 7ddaf7caae Added a section to describe how to convert variables to K&R style using the mk2knr.pl script. Also some minor cleanups. Mark Whitley 2001-03-14 21:04:53 +00:00
  • bac75ac2d5 Script that generates a script that will convert oddball variable names to K&R style. Mark Whitley 2001-03-14 21:04:07 +00:00
  • 1ef92685cf Yesterday I make strsep_space include post-token whitespace, so we should not be adding another " " between tokens. -Erik Eric Andersen 2001-03-14 19:33:45 +00:00
  • ce4a586edb I forgot to malloc space for the NULL. -Erik Eric Andersen 2001-03-14 18:57:54 +00:00
  • 40e5e7c7ea Applied patch from Christophe Boyanique to add an egrep alias for grep. Mark Whitley 2001-03-14 17:45:45 +00:00
  • 20f61d35de The patch I previously applied from Brian Webb was 2 lines off. Oops. Mark Whitley 2001-03-14 17:30:44 +00:00
  • 44a9914709 Applied patch from Larry Doolittle to fix '>\na\n' bug. Should close bug #1132 Mark Whitley 2001-03-14 17:26:37 +00:00
  • 2892c35bdb Applied patch from Giulio Orsero to fix some preprocessor bugs. Mark Whitley 2001-03-14 17:18:52 +00:00
  • 82d8502409 Fix from Manuel for a silly thinko on my part. Eric Andersen 2001-03-14 17:15:45 +00:00
  • 53f5061c7e Fix init so that checking for terminal devices is delayed until the devices are actually used, thereby allowing devfsd based systems to work. This should fix bug #1133 -Erik Eric Andersen 2001-03-14 09:01:11 +00:00
  • bdc8db9685 Use the system passwd and group stuff by default Eric Andersen 2001-03-14 01:49:10 +00:00
  • 741f2c9898 Fix mtab so it works on libc5 Eric Andersen 2001-03-14 01:48:10 +00:00
  • b9a1e56a80 No reason to include fstab. It breaks libc5, does nothing for glibc. -Erik Eric Andersen 2001-03-14 01:43:29 +00:00
  • 2b1c367a98 Amazing the difference between an "and" and an "or". Eric Andersen 2001-03-14 01:36:52 +00:00
  • 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
  • 7e5291f111 Whitespace / formatting / bracket cleanup. Mark Whitley 2001-03-08 19:31:12 +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