Commit Graph

  • cbb61c78ae Make init handle current 2.4.x sysinfo behavior -Erik Eric Andersen 2000-09-10 16:13:41 +00:00
  • 73de6561ca Update free for current 2.4.x behavior... -Erik Eric Andersen 2000-09-10 16:10:41 +00:00
  • 729216cb11 Remove some debugging code Glenn L McGrath 2000-09-10 04:42:20 +00:00
  • 18310f1ce3 Using seek=? used to cause part of the original file to be zero'ed, i think this was caused by opening the file in truncate mode. Glenn L McGrath 2000-09-10 04:39:37 +00:00
  • 0ae8e5a645 My previous attempt to make dd use fullRead, fullWrite was very broken, this should actually work. Glenn L McGrath 2000-09-10 01:54:27 +00:00
  • bd7c67136a remove some printf statements i forgot about Glenn L McGrath 2000-09-09 15:04:34 +00:00
  • 1c6917d2c4 Updated to match new -R ar functionality Glenn L McGrath 2000-09-09 14:57:15 +00:00
  • e2b345a6d8 Implemented new ar functionality unique to busybox ar (i think), the -R option enable a Recursive extraction (or listing) to take place. Glenn L McGrath 2000-09-09 14:50:04 +00:00
  • 437bf72785 Changed getopt so that options can be grouped together, the source archive is now assumed to be the first non parameter. Glenn L McGrath 2000-09-09 13:38:26 +00:00
  • 6fb88e73f7 Fix permisions Glenn L McGrath 2000-09-09 12:48:40 +00:00
  • 8324b9f1aa Now supports GNU style long filenames. Glenn L McGrath 2000-09-09 08:35:45 +00:00
  • 11c655295c New ls sorting patch, as written by Sterling Huxley, and then updated by kent robotti. I then updated it to use my_getpwuid and my_getgrgid (per busybox policy). -Erik Eric Andersen 2000-09-07 17:24:47 +00:00
  • 44e3840343 Stop leaking file handles. Matt Kraai 2000-09-07 04:34:17 +00:00
  • 17c8851813 Fix more typos. Matt Kraai 2000-09-06 03:59:49 +00:00
  • 6085c72b6e Reset optind so that getopt works in busybox applets called directly by sh. Change the behavior of -c to correctly handle $1..$9. Matt Kraai 2000-09-06 01:46:18 +00:00
  • 9dd79791c8 Fixed a grammatical error. Matt Kraai 2000-09-06 00:50:51 +00:00
  • ebee301c8b Fixed for when BB_CP_MV is enabled. Eric Andersen 2000-09-05 22:17:22 +00:00
  • d13ebff163 Add BB_SH to get_last_path_component()... Fix thanks to Bj�rn Eriksson. Eric Andersen 2000-09-05 21:50:52 +00:00
  • 1eec89df4c Apply segfault on no-args fix from robotti@metconnect.com Eric Andersen 2000-09-05 18:21:53 +00:00
  • 3639c5d950 Set environment variable to make ash happy. ash is a frequent enough target.... Eric Andersen 2000-09-05 17:57:52 +00:00
  • 1b355ebba6 Added expr, from Edward Betts <edward@debian.org>, with some fixups and docs added by me. -Erik Eric Andersen 2000-09-05 17:37:48 +00:00
  • 43c8c38bbf Allow compilation when not using BB_FEATURE_TAR_EXCLUDE, and fix handling of --exclude option. Matt Kraai 2000-09-04 16:51:55 +00:00
  • 61a9d8d145 Forgot this part of wget Eric Andersen 2000-09-04 15:16:51 +00:00
  • 9670083818 Initial implementation of wget, from Chip Rosenthal <chip@laserlink.net>. Very cool. Still lacks "chunked" transfer-coding, so not totally RFC compliant for HTTP1.1, but very nice nonethe less, and very small. -Erik Eric Andersen 2000-09-04 15:15:55 +00:00
  • b92223b6f5 Allow selective extraction and listing of files. And fix an unchecked return value of realloc (with xrealloc). Matt Kraai 2000-09-04 08:25:42 +00:00
  • fd50c3d2f9 Add in byld Eric Andersen 2000-09-01 22:24:03 +00:00
  • cb91d69b3f Fix compile when BB_FEATURE_LINUXRC is defined -Erik Eric Andersen 2000-09-01 18:43:02 +00:00
  • 73bdf13d35 Fixed a stupid thinko preventing zcat from doing its job, thanks to Torbj�rn Axelsson <torax@cendio.se> for the fix. -Erik Eric Andersen 2000-09-01 16:25:33 +00:00
  • 3a957b9d4c Turned off ls file-sorting till it can be fixed. Eric Andersen 2000-09-01 16:15:51 +00:00
  • 18a1014c95 updated some usage info from a patch from robotti@metconnect.com -Erik Eric Andersen 2000-09-01 16:12:57 +00:00
  • da542f3a0c Argh. I *will* compile before checking in. Matt Kraai 2000-09-01 02:53:01 +00:00
  • f446297afd Don't unlink files if we are extracting to stdout. Matt Kraai 2000-09-01 02:50:48 +00:00
  • e99674a70f Correct the stdin/stdout behavior when no args are provided. -Erik Eric Andersen 2000-09-01 00:41:10 +00:00
  • 5eb5912790 Sigh. Seems I screwed up last time. This fixed detecting when on a console or not, and make default behavior compatible with GNU gzip... -Erik Eric Andersen 2000-09-01 00:33:06 +00:00
  • 4e61db2284 Add an extra sanity check in parse_mode -Erik Eric Andersen 2000-09-01 00:06:17 +00:00
  • ad3d90f91e Fix a spelling error -Erik Eric Andersen 2000-08-31 23:53:58 +00:00
  • a3de24e85d Fix spelling error -Erik Eric Andersen 2000-08-31 23:52:46 +00:00
  • 1638488d26 Rewritten by mistake. Matt Kraai 2000-08-28 03:53:27 +00:00
  • ab60f6987a Removed dead regular expression code. Matt Kraai 2000-08-28 03:12:30 +00:00
  • 88cc3057fd Compile xstrdup and xstrndup iff they are needed. Matt Kraai 2000-08-26 16:52:28 +00:00
  • 06aeb6c417 ar.c now uses a linked list to process headers, uses getopt, new internal function extractAr(srcFD, dstFd, filename) to make it easily accessable to other busybox functions. Glenn L McGrath 2000-08-25 03:50:10 +00:00
  • 4d5ac2f346 Fix tab stops for sed usage. Eric Andersen 2000-08-25 00:23:36 +00:00
  • 3a0f4baf2f Fixed a warning about a label not being used Pavel Roskin 2000-08-22 15:47:57 +00:00
  • 8237add8d0 Fixed misuse of type "char" Pavel Roskin 2000-08-22 15:38:16 +00:00
  • 32f2769800 From Ken Chalmers <chalmers@norscan.com>: The current CVS mount.c is missing a semicolon, causing building to fail if NFS is enabled (#define BB_NFSMOUNT). Pavel Roskin 2000-08-22 15:35:31 +00:00
  • 089d12d762 Fix a unterminated string. -Erik Eric Andersen 2000-08-22 05:18:30 +00:00
  • aaa94fb8a9 Note the chmod fix. -Erik Eric Andersen 2000-08-22 01:02:05 +00:00
  • ce82c8ab77 Fix an option parsing bug where things like chmod -r /tmp/file wholdn't work (since it thought -r was an option). Doh! -Erik Eric Andersen 2000-08-22 01:00:56 +00:00
  • 2368a387ed Some additional tips and formatting changes. Mark Whitley 2000-08-22 00:20:21 +00:00
  • e4c4d69c04 Fix a silly bug so it compiles up properly -Erik Eric Andersen 2000-08-21 23:29:45 +00:00
  • 6ab22027d0 Oops. Forgot to commit rdate.c. -Erik Eric Andersen 2000-08-21 23:04:00 +00:00
  • fba9c00071 Script to do regression test, by combining all possible options. -Erik Eric Andersen 2000-08-21 23:01:39 +00:00
  • acf5551099 Script to do regression test, by combining all possible options. Run this to check for combinitorial type build errors. -Erik Eric Andersen 2000-08-21 23:01:20 +00:00
  • 918507edda Added the 'rdate' command, thanks to Sterling Huxley <sterling@europa.com>. I added the docs, and made behavior identical to the GNU version. -Erik Eric Andersen 2000-08-21 22:46:33 +00:00
  • 851ce895bd Turn off some debug noise. -Erik Eric Andersen 2000-08-21 22:34:23 +00:00
  • a1f16bba72 Added getopt(1) from "Alfred M. Szmidt" <ams@trillian.itslinux.org> -Erik Eric Andersen 2000-08-21 22:02:34 +00:00
  • e2205f093b Removed since this patch is now in the current 2.4.x kernel tree. -Erik Eric Andersen 2000-08-21 21:44:52 +00:00
  • 0e4cec0be8 Applied patch from Mark Ferrell <mferrell@mvista.com> to use the 'p' option in substitution expressions. Mark Whitley 2000-08-21 21:29:20 +00:00
  • dc746169cf Oops. Forgot to add in reset.c. Doh! -Erik Eric Andersen 2000-08-21 21:26:33 +00:00
  • 282c364148 Fix a thinko, thanks to Klaasjan <klaasjan@europe.com> -Erik Eric Andersen 2000-08-21 21:23:48 +00:00
  • fa405d0cb2 Add in the "reset" command. -Erik Eric Andersen 2000-08-21 21:18:52 +00:00
  • 202995c612 Yet another patch to fixup lsmod -Erik Eric Andersen 2000-08-21 19:40:42 +00:00
  • c86e5e6145 Some leftover stuff I forgot to commit for the lsmod change. -Erik Eric Andersen 2000-08-21 19:38:49 +00:00
  • be0dc0d06a lsmod now uses the query_module syscall, rather then /proc -Erik Eric Andersen 2000-08-21 19:25:16 +00:00
  • b2fc5a0647 syslogd was leaking processes that could forever busyloop. Fixed. -Erik Eric Andersen 2000-08-20 06:11:32 +00:00
  • e89267c8b3 Minor fixups. -Erik Eric Andersen 2000-08-19 20:16:16 +00:00
  • 8cbac440d6 Better 'mt' docs, thanks to Kent Robotti <robotti@metconnect.com> -Erik Eric Andersen 2000-08-11 20:14:11 +00:00
  • 6ac18a3d83 Fix to make 'ar xv' work, thanks to Kent Robotti <robotti@metconnect.com> -Erik Eric Andersen 2000-08-11 20:11:35 +00:00
  • bb39a31e33 Minor link update -Erik Eric Andersen 2000-08-11 18:13:21 +00:00
  • 79565b6c91 Add optional ls file sorting, thanks to a patch from Sterling Huxley <sterling@europa.com> -Erik Eric Andersen 2000-08-11 18:10:21 +00:00
  • f9ca653faa Added fix from David Vrabel <dvrabel@arcom.co.uk> for a buffer overrun in find_real_root_device(), fixing bug #1019 -Erik Eric Andersen 2000-08-11 17:45:02 +00:00
  • 88f50b6bf5 Some #include updates. -Erik Eric Andersen 2000-08-10 17:59:11 +00:00
  • 40406e6bad Applied patch from Mark Ferrell <mferrell@mvista.com> to fix sed '1,$p' where sed was only printing the first line and then exiting. Mark Whitley 2000-08-10 00:09:47 +00:00
  • adbf018dc4 We complained if the total number of arguments was greater than 3 and the destination wasn't a directory. We should only complain if the there are multiple sources and target isn't a directory. Matt Kraai 2000-08-06 15:36:50 +00:00
  • deb95f69b6 Exit with the appropriate value when grepping multiple files. Matt Kraai 2000-08-06 15:25:53 +00:00
  • 46ade97983 Cleaner way to handle -NUM and +NUM, reduces the mem usage as well. -Erik Eric Andersen 2000-08-02 19:57:18 +00:00
  • 0c8e2a6580 Fixed the "-f" option. -Erik Eric Andersen 2000-08-02 18:56:25 +00:00
  • fdd5103348 Merge in two patches from Dave Cinege: the first is a cleanup of tar --exclude the second changes mount so mtab works more as it should, and also allows mount to use the traditional short form (i.e. 'mount / -o remount,rw' now works. Eric Andersen 2000-08-02 18:48:26 +00:00
  • 5ae166813f Minor cleanup thingy. fprintf(stderr, ...) -> errorMsg(). Mark Whitley 2000-08-02 18:34:41 +00:00
  • 807f0fd637 Brand, new version of cut. This fixes the bugs in the old cut, is smaller, and is a sight easier to understand than the Minix cut. Mark Whitley 2000-08-02 18:30:11 +00:00
  • d5fa3e3e9a Update to the tail rewrite by "Allen Soard" <esp-software@mail.hypermart.net> -Erik Eric Andersen 2000-08-02 16:42:58 +00:00
  • 080d51bf45 Minor fix to clean target -Erik Eric Andersen 2000-08-01 22:44:32 +00:00
  • 0f8f7b8a35 Fix bug 1017, which reports that insmod segfaults when /lib/modules doesn't exist. Also allow early search termination (per the comments). Matt Kraai 2000-08-01 18:16:56 +00:00
  • 98bbd688a8 Commit the rewrite of tail by Allen Soard <esp-software@mail.hypermart.net>. Thanks Allen for you work at getting this into shape, -Erik Eric Andersen 2000-07-31 17:05:58 +00:00
  • 43c17b3d96 New variable WARNINGS to hold all warning options Pavel Roskin 2000-07-28 19:41:32 +00:00
  • 616d13bcd1 Fixed to pass -Wundef Pavel Roskin 2000-07-28 19:38:27 +00:00
  • 259972e565 Disabled debugging output Fine-grained checks for possible errors instead of "set -e" The standard output shows what is being linked to what Pavel Roskin 2000-07-28 19:34:02 +00:00
  • 9cf306d55e Fix for a potential uninitialized variable, thx to Ken Chalmers <chalmers@norscan.com> -Erik Eric Andersen 2000-07-28 19:05:20 +00:00
  • 6a4c33c5c0 Clean up the nasty blunder I'd made of how different behaviors happen. -Erik Eric Andersen 2000-07-28 17:08:36 +00:00
  • 6150df320a Some cleanups, based on a patch from Ken Chalmers -Erik Eric Andersen 2000-07-28 16:22:51 +00:00
  • d5704686b1 Fix from Robert Kaiser for stdin behavior. -Erik Eric Andersen 2000-07-28 15:20:24 +00:00
  • 1428c4f136 Oops. Forgot an ifdef -Erik Eric Andersen 2000-07-28 15:19:30 +00:00
  • a5716d3029 Fix from Arne Bernin for return code -- now reflects whether the rmmod failed or not. -Erik Eric Andersen 2000-07-28 15:16:37 +00:00
  • 501c88b245 More sh updates (with related changes to everything else). Switched to using getopt and cleaned up the resulting mess. if-then-else-fi is now basically working (given a bunch of constraints). -Erik Eric Andersen 2000-07-28 15:14:45 +00:00
  • 6a99aaf020 More shell features.... if-then-else-fi is now basically usable (disable by default pending further debugging). Added in some basic shell environment support (i.e. $?, $0-$9, $$, $!, $#). -Erik Eric Andersen 2000-07-27 00:15:20 +00:00
  • 7ce41ad692 Fixed a syntax error & superfluous param decl that was causing the build to fail. Mark Whitley 2000-07-26 18:09:22 +00:00
  • e92108ae6d Minor style cleanups. Eric Andersen 2000-07-26 00:53:56 +00:00
  • 0d49dd53cf Better description Eric Andersen 2000-07-26 00:53:34 +00:00
  • cc10a5b42b Fix some bitrot. -Erik Eric Andersen 2000-07-26 00:52:04 +00:00
  • 83e85f6a08 Modified print_subst_w_backrefs() so it will print backslash escaped characters properly, just like GNU sed. Mark Whitley 2000-07-25 20:48:44 +00:00