1
0
mirror of synced 2026-10-29 06:12:57 +03:00

Commit Graph

  • f61caf0411 Remove unneeded junk Eric Andersen 2000-11-14 20:31:45 +00:00
  • 7918e1fd54 Move flush_outbuf to the file in which it is used, and by doing so fix a nasty error dealing with two different variables with the same name. Matt Kraai 2000-11-08 06:52:57 +00:00
  • d8ad76cb31 Fix some bugs reported by Jim Gleason <jimg@lineo.com> and others I introduced. Matt Kraai 2000-11-08 02:35:47 +00:00
  • 63a862272c Cleanup of duplicated symbols -- found by compiling with LDFLAGS += -Wl,-warn-common Eric Andersen 2000-11-07 06:52:13 +00:00
  • eb69ead091 Removed REG_NEWLINE from regcomp to fix the same bug found in grep where it would not match blank lines (bug #1064). Followed Matt Kraii's suit on his 1.42 revision of grep. Tested it, works. Mark Whitley 2000-11-03 20:23:49 +00:00
  • e7ff2842dd Now, what was that logic block doing up there? Mark Whitley 2000-11-03 20:02:35 +00:00
  • 2dc192fd99 Re-worked the support for s///p, fixed a backref limit buglet, and cleaned up a few other ugly places (do_subst_command got a much-needed overhaul). Also took out BB_FEATURE_SED_PATTERN_SPACE from Config.h[.Hurd] as the 'p' is now a standard feature (adds almost no bloat). Mark Whitley 2000-11-03 19:47:00 +00:00
  • a75466e981 Warning cleanup from Gennady Feldman -Erik Eric Andersen 2000-11-02 17:02:26 +00:00
  • ef936da7c5 Fix uname problem that was breaking poweroff. Eric Andersen 2000-10-30 17:22:04 +00:00
  • 3e07541e5f This was redundant Eric Andersen 2000-10-29 07:02:47 +00:00
  • 269e07cadc Make fbset compile with the readmode feature by pulling defs from fb.h. Matt Kraai 2000-10-28 16:56:32 +00:00
  • a5bd26831f Make features independent. Matt Kraai 2000-10-28 06:40:09 +00:00
  • b273d66518 We also need to declare info if the USERNAMES feature is enabled. Matt Kraai 2000-10-28 01:21:22 +00:00
  • c559d30776 Add in -lgcc to add needed symbold when linking vs uclibc. Eric Andersen 2000-10-27 18:26:18 +00:00
  • b344c21709 Oops. I never committed this. Update version to 0.48pre... Eric Andersen 2000-10-27 18:09:53 +00:00
  • d1ee7e39f7 Silence a warning, Eric Andersen 2000-10-26 07:57:27 +00:00
  • 84bdc75c7e This was broken when applets moved to applets.h. Fix it. Eric Andersen 2000-10-26 04:17:49 +00:00
  • e8c55f42c1 Fixed error handling and TRUE/FALSE usage. Matt Kraai 2000-10-25 19:09:03 +00:00
  • 2dab174daa Restore --help handling I mistakenly removed. Matt Kraai 2000-10-25 19:05:38 +00:00
  • a0428eee9e Avoid reinventing the wheel (and thus save some space). Matt Kraai 2000-10-25 19:00:51 +00:00
  • ef5529b278 Added a new perrorMsg function, cleanup up error handling, fixed TRUE/FALSE uses, and other minor fixes. Matt Kraai 2000-10-25 17:00:36 +00:00
  • 9133c98a9d Cleaned up error handling, TRUE/FALSE usage, and other minor issues. Matt Kraai 2000-10-25 16:48:15 +00:00
  • 3180413e76 Clean up error handling and uses of TRUE/FALSE. Matt Kraai 2000-10-25 16:40:21 +00:00
  • ac1169b20f Cleaned up error handling and uses of TRUE/FALSE. Matt Kraai 2000-10-25 16:38:00 +00:00
  • 97d2612566 Cleaned up error message handling. Matt Kraai 2000-10-25 16:25:50 +00:00
  • 324a778f31 Added a fatalPerror function to simplify error handling. Matt Kraai 2000-10-25 15:10:08 +00:00
  • b60208dd8f Fix for bug #1068 from Kent Robotti Glenn L McGrath 2000-10-25 03:31:15 +00:00
  • 130005cd89 Applied patch from Gaute B Strokkenes <gs234@cam.ac.uk> to use a binary search to locate applets, rather than a linear search. Also, broke out the listing of applets into it's own file: applets.h. Mark Whitley 2000-10-25 00:28:27 +00:00
  • 207061ac0d Fix error messages. Matt Kraai 2000-10-23 18:03:46 +00:00
  • 2be4797a06 Fix error message. Matt Kraai 2000-10-23 17:55:27 +00:00
  • 6050618096 Put getopt_usage where it belongs and added *_usage entries in busybox.[ch] Mark Whitley 2000-10-19 22:28:06 +00:00
  • 69229a6c92 Piss people off by removing [+-][0-9]+ options from tail. Matt Kraai 2000-10-19 21:28:32 +00:00
  • 4f94e826cf Remove broken error test found by Bryan Rittmeyer <bryan@ixiacom.com>. Matt Kraai 2000-10-16 16:22:27 +00:00
  • 567cdd1d51 Fix handling of ^$ by removing the newline from input lines and by not compiling with REG_NEWLINE. Matt Kraai 2000-10-13 18:55:06 +00:00
  • 9a6e67c960 Consolidate stat(2) and lstat(2) calls and error handling. Matt Kraai 2000-10-13 18:03:21 +00:00
  • 33fdae54d1 Exit with failure status if we are unable to list any files or directories. Patch thanks to Kent Robotti <robotti@metconnect.com>. Matt Kraai 2000-10-13 17:59:43 +00:00
  • e7e1e2dcad Apply a patch from Matt Kraai to fix buffer overrun and convert to using synamically allocated storage. -Erik Eric Andersen 2000-10-12 22:40:14 +00:00
  • 0d5835a767 Apply patch from "Orion Poplawski" <OPoplawski@cqg.com> to make hostname do "--file" -Erik Eric Andersen 2000-10-12 22:30:31 +00:00
  • 872138de50 Added cmp and readlink applets from Matt Kraai. Mark Whitley 2000-10-09 18:56:47 +00:00
  • 7a86e61a54 Patch from Matt Kraai so wc will return a proper error code when failing to open a file, and will not use file when it didn't open the file. -Erik Eric Andersen 2000-10-09 18:21:44 +00:00
  • 62f987e95f Fix a thinko. Patch from Justus Pendleton <justus@acm.org> Eric Andersen 2000-10-09 17:54:38 +00:00
  • 958c78f9a1 Apply a patch from Matt Kraai: "The -L option to ls doesn't behave correctly for files listed explicitly on the command line, only those in directories that are listed. The appended patch fixes this problem. Would someone please commit it?" -Erik Eric Andersen 2000-10-09 17:51:25 +00:00
  • 13241dfbdd Patch from Matt Kraai: "When it encounters a problem creating a link, ln shouldn't give up entirely but instead continue processing the rest of its arguments. The attached patch does this." Eric Andersen 2000-10-04 16:02:53 +00:00
  • aa3908d1b7 Rewrite to use getopt and return instead of exit, a seperate function (fs_link) does the actual work. Glenn L McGrath 2000-10-04 09:34:35 +00:00
  • b520e083e0 Add a spiffy progress meter. -Erik Eric Andersen 2000-10-03 00:21:45 +00:00
  • 25b669c144 Try to guess an output filename Eric Andersen 2000-10-02 23:19:38 +00:00
  • ba1ff9b4eb Apply patch from Giulio Orsero <giulioo@pobox.com> to ensure get_last_path_component is defined under all configurations, -Erik Eric Andersen 2000-10-01 17:01:36 +00:00
  • c2bf5cad79 General cleanup of comments, defines, includes, and global variables, removed those that arent needed, grouped those remaining at the top. Re-ordered functions to the order they are called. Removed static crc table, it now generates the table once for itself. Results in source reduced by 40%, so it should be a lot easier to work on in the future, binary size only reduced by under 2KB though. Glenn L McGrath 2000-09-29 06:46:59 +00:00
  • 43f3e6114c Fixes to allow compilation on systems with glibc 2.1.92 Pavel Roskin 2000-09-28 20:52:55 +00:00
  • 8d369e98a5 + shortened main() a little, and a few aesthetic cleanups here & there. John Beppu 2000-09-28 17:49:59 +00:00
  • c0321f9bc6 Rewrote head to perservere when it can't open a file, and share code with cat. Matt Kraai 2000-09-27 04:09:22 +00:00
  • e7c1af1e0d Continue concatenating files even if we can't open one. Matt Kraai 2000-09-27 03:01:40 +00:00
  • bbaef66b3f Consolidate handling of some fopen failures. Matt Kraai 2000-09-27 02:43:35 +00:00
  • e0bcce09ba Rewrote uniq to be less than a third of the size, and fixed some other minor problems. Matt Kraai 2000-09-27 02:29:39 +00:00
  • 8ce85ce4e3 Fix up the docs Eric Andersen 2000-09-26 22:20:06 +00:00
  • bdcc6fbd95 update the docs Eric Andersen 2000-09-26 06:15:12 +00:00
  • f8263516c2 Log the devps patch update 0_47 Eric Andersen 2000-09-26 05:08:04 +00:00
  • db7f2af089 Final touchups for the release... -Erik Eric Andersen 2000-09-26 05:02:50 +00:00
  • f6b7139971 Add in busybox.h. I renamed it, and forgot to commit the newky named version. -Erik Eric Andersen 2000-09-26 01:09:18 +00:00
  • d266748c76 Yet more polish (thanks again to kent robotti for the bug reports). -Erik Eric Andersen 2000-09-26 01:00:15 +00:00
  • 53323695c5 Remove all reference to the now obsolete /dev/modules -Erik Eric Andersen 2000-09-26 00:52:05 +00:00
  • 67fdf5e538 Update my devps patch for the latest 2.2 kernel. -Erik Eric Andersen 2000-09-26 00:20:28 +00:00
  • ff1ed7215c Fix name Eric Andersen 2000-09-25 22:53:33 +00:00
  • d89882da16 Some more polish to make xargs act like GNU xargs (thanks to kent robotti <robotti@metconnect.com> for testing and pointing out the differences) -Erik Eric Andersen 2000-09-25 22:53:05 +00:00
  • 3570a34de4 Renamed "internal.h" to the more sensible "busybox.h". -Erik Eric Andersen 2000-09-25 21:45:58 +00:00
  • caffb6eff0 Gratuitously changed the file "busybox.defs.h" to the more sensible and noticable "Config.h". -Erik Eric Andersen 2000-09-25 21:28:07 +00:00
  • c5949f62e5 Fix from Matt Kraai for the to the "busybox --install prints out on STDERR "File already exists" messages for all files (including the ones that DON'T exist)" problem reported by "Bruno L. F. Cabral" <bruno@openline.com.br>. Eric Andersen 2000-09-25 20:35:54 +00:00
  • e081eae7a4 Final (I think) version of xargs. Throw away all that tedious string scrubbing, and quit using system. Instead, use fork() and exec(), which yields and smaller, simpler, and cleaner design. -Erik Eric Andersen 2000-09-25 20:23:21 +00:00
  • bf73909f23 Be ever so pedantic about escaping chars that the shell might not like... Eric Andersen 2000-09-25 18:41:18 +00:00
  • 944be90b21 Remove a now unneeded check Eric Andersen 2000-09-25 16:58:39 +00:00
  • fe4208fe93 modified by Bryan Rittmeyer <bryan@ixiacom.com> to support SH4 Eric Andersen 2000-09-24 03:44:29 +00:00
  • 488aac2e2a Update newdoc dependancy Eric Andersen 2000-09-24 02:42:48 +00:00
  • 896fa4ea1d Update a few entries for 0.47... Eric Andersen 2000-09-24 02:42:18 +00:00
  • 57f83fffd8 Doc update Eric Andersen 2000-09-24 02:41:44 +00:00
  • 6f283c2f77 Fix up xargs so that things like 'cat cat.c | xargs echo' will work properly. -Erik Eric Andersen 2000-09-24 02:40:56 +00:00
  • 9ae3838657 Fix xargs option parsing Eric Andersen 2000-09-24 01:12:54 +00:00
  • 1b1cfde1f8 Fix bug#1043 -- hanlde long filenames and links (in this case, by complaining that thay exist and skipping such files when extracting and when archiving. -Erik Eric Andersen 2000-09-24 00:54:37 +00:00
  • 0102a9fd48 Fix an obscure option parsing bug. Eric Andersen 2000-09-23 22:36:24 +00:00
  • 2da90d3b58 Force optind=1 for libc5 when doing cp in cp_mv.c Eric Andersen 2000-09-23 20:55:59 +00:00
  • 285b446d17 Fix potential memory overrun... Eric Andersen 2000-09-23 19:56:46 +00:00
  • 32e95f988d Fix the bandaid. Eric Andersen 2000-09-23 19:55:59 +00:00
  • 96bdde97fb Fix memory problems, and make behavior correct. Eric Andersen 2000-09-23 19:53:31 +00:00
  • 6d66817b6b update docs for xargs Eric Andersen 2000-09-23 06:12:34 +00:00
  • 82e0614101 update usage for xargs Eric Andersen 2000-09-23 06:11:03 +00:00
  • a37d5b772b rewrite, so it should be firly clean now Eric Andersen 2000-09-23 06:10:14 +00:00
  • 5b17693f0a Use minix xargs instead, and update docs accordingly -Erik Eric Andersen 2000-09-22 20:22:28 +00:00
  • ebc0dd7a8a Comment on xargs choice. Eric Andersen 2000-09-22 20:02:34 +00:00
  • 92a61c1206 Add in xargs Eric Andersen 2000-09-22 20:01:23 +00:00
  • 90f580ad5b Start the great EXIT_{SUCCESS,FAILURE} migration. Matt Kraai 2000-09-22 03:45:34 +00:00
  • d995493987 Clean up error messages. Matt Kraai 2000-09-22 03:36:27 +00:00
  • a2f2a8f8c0 Add support for the -L option to ls. Matt Kraai 2000-09-22 03:11:47 +00:00
  • 810d38f850 Fix loop.h dependencies. Matt Kraai 2000-09-22 02:33:29 +00:00
  • a1b35c4512 Apply a bandaid suggested by Jon McClintock <jonm@bluemug.com>, since deallocvt has code for handling no arguments, but the usage checking code aborted if there are any other than two arguments. -Erik Eric Andersen 2000-09-22 00:40:39 +00:00
  • 8c185f9600 Fix for bug #1042 -- applied the patch from Larry Doolittle <ldoolitt@recycle.lbl.gov> to fix the bug. -Erik Eric Andersen 2000-09-22 00:38:07 +00:00
  • 75610e18b3 Better cross libc compatibility (so Dave Cinege can stop complaining that I broke it). -Erik Eric Andersen 2000-09-22 00:22:10 +00:00
  • 2c1faecba7 Decouple DODEBUG and DOSTATIC Eric Andersen 2000-09-21 22:26:02 +00:00
  • c873d61008 Remove all the kernel headers so it will compile under libc5 -Erik Eric Andersen 2000-09-21 04:09:58 +00:00
  • ba35b98444 Fix a potential warning Eric Andersen 2000-09-21 04:05:38 +00:00
  • d2f5677762 Add in exec support (patch from Torbj?rn Axelsson <torax@cendio.se>) and disable backticks (since they are still wierdly broken in some cases. Eric Andersen 2000-09-21 02:48:07 +00:00
  • d1de4a16ad Handle 'cat -' Eric Andersen 2000-09-21 02:39:50 +00:00