868c057d25
Patch from Larry Doolittle so it will build the newdocs right.
Eric Andersen
2000-12-02 00:44:48 +00:00
e73fda8311
Update for handling .udebs and building using a pristine source dir...
Eric Andersen
2000-12-01 22:59:04 +00:00
29be79c5f6
More doc handling updates
Eric Andersen
2000-12-01 22:57:44 +00:00
4c45e0991a
Update some descriptions
Eric Andersen
2000-12-01 22:57:09 +00:00
b8b8d81c24
Fix yet another blunder. Create symlink correctly this time.
Eric Andersen
2000-12-01 20:26:30 +00:00
4d449c42f2
I forgot a "/". Oops.
Eric Andersen
2000-12-01 20:02:10 +00:00
e2f6e12213
More pristine source directory updates. It now works for me (including doing install). How about you? -Erik
Eric Andersen
2000-12-01 19:55:04 +00:00
09a34e5368
More updates for the Makefile to do BB_SRC_DIR. This is primarily a patch from Larry Doolittle, but with updates from me to handle docs and link creation properly...
Eric Andersen
2000-12-01 19:40:18 +00:00
02f3b2e0c8
Make tar shutup on compile
Eric Andersen
2000-12-01 19:04:52 +00:00
87559829ff
Remove #ifdef __STDC__ junk. We don't do K&R round these parts, so no point acting like we do.
Eric Andersen
2000-12-01 19:02:24 +00:00
3e856ce428
Stop using TRUE and FALSE for exit status.
Matt Kraai
2000-12-01 02:55:13 +00:00
b558e76eb1
Apply some patches from Gennady Feldman <gfeldman@mail.com> to . /etc/profile, and to emulate bash prompt. I've cleaned up his patches a bit and all looks good now...
Eric Andersen
2000-11-30 22:43:16 +00:00
cabafae7b0
Note new dependency.
Matt Kraai
2000-11-30 04:55:40 +00:00
c119ab9e29
Note an error if we are unable to list/extract specified files.
Matt Kraai
2000-11-30 04:44:54 +00:00
8c725e624a
Patch from Larry Doolittle (with minor touchups from me so everything compiles and works) to use the applet definitions in applets.h to autogenerate the applet function and usage prototypes.
Eric Andersen
2000-11-30 00:27:06 +00:00
8c2d3f46ab
Fix escape char problem.
Eric Andersen
2000-11-30 00:03:57 +00:00
9bd71e8323
Add "\r" to utility.c:process_escape_sequence() (from email about "echo vs. optarg" from Larry Doolittle Tue, 28 Nov 2000 10:36:04 -0800) -Erik
Eric Andersen
2000-11-29 23:07:57 +00:00
8fff78d66e
Apply the BSD echo version submitted by Jonas Holmberg <jonas.holmberg@axis.com>
Eric Andersen
2000-11-29 22:40:59 +00:00
ddea368dbe
Apply rev #2 of dd fix from Gennady Feldman.
Eric Andersen
2000-11-29 22:33:02 +00:00
618e8ed4c4
Update the changelog a bit
Eric Andersen
2000-11-29 22:30:31 +00:00
0730943b49
Moar Speling fickes frum Larry Doolittle
Eric Andersen
2000-11-29 22:12:19 +00:00
20ea5c3352
Patch form Larry Doolittle <ldoolitt@recycle.lbl.gov> (in collaboration with Matt Kraai <kraai@alumni.carnegiemellon.edu>) to allow for a pristine source directory -- where all the .o files and such are not placed into the source tree. Thanks Larry!
Eric Andersen
2000-11-29 22:08:35 +00:00
7b5d59464f
Apply a patch from Larry Doolittle <ldoolitt@recycle.lbl.gov> to close bug 1069. This shaves about 100 bytes from the executable, and about 200 bytes of heap usage. Also document the "-d" option in the usage message.
Eric Andersen
2000-11-29 22:01:42 +00:00
cf1189f5a7
Patch from Matt Kraai to fix an infinate loop with ls -aR
Eric Andersen
2000-11-29 21:52:06 +00:00
4bfb6b7b67
Finish commit of rpmunpack and add in scripts for undeb and unrpm
Eric Andersen
2000-11-29 21:39:02 +00:00
e500d20835
Apply a patch fromkent robotti:
Eric Andersen
2000-11-29 21:38:11 +00:00
d58ff8731c
Re-organized some sections and added a whole new section on avoiding the preprocessor. Comments welcome.
Mark Whitley
2000-11-22 19:25:39 +00:00
9a71af54f5
Fix behavior when removal fails.
Matt Kraai
2000-11-22 01:09:38 +00:00
ab8f9e286b
Check for archive errors even for files we aren't extracting.
Matt Kraai
2000-11-18 01:28:57 +00:00
768a2340b5
Fixed return status (thanks to David Douthitt for the fix).
Matt Kraai
2000-11-18 01:16:43 +00:00
e93abf9e69
Fixed user and group name listing.
Matt Kraai
2000-11-18 01:08:24 +00:00
5022d0e55f
Added AdTran to the list of products using Busybox.
Mark Whitley
2000-11-17 22:07:08 +00:00
0053087587
Applied patch from Brent Priddy <brent.priddy@adtran.com> to handle the special-case of using newlines as field delimiters.
Mark Whitley
2000-11-17 22:02:45 +00:00
9028e2c96a
Numerous spelling / grammar corrections from Larry Doolittle <ldoolitt@recycle.lbl.gov>, as well as a few additions / clarifications.
Mark Whitley
2000-11-17 21:28:39 +00:00
a683ee81d9
"I will always compile before I commit." "I will always compile before I commit." "I will always compile before I commit." -Erik
Eric Andersen
2000-11-17 18:51:45 +00:00
e5aef92e22
Fix up builtin overrides, and hack in the binary search for finding matching applets into the shell.
Eric Andersen
2000-11-17 18:25:26 +00:00
cf32e23796
Modified help string for xargs. Props to Kent Robotti <robotti@metconnect.com>.
Mark Whitley
2000-11-17 18:13:09 +00:00
50b3113dc2
Add in a new FEATURE (off by default) BB_FEATURE_SH_BUILTINS_ALWAYS_WIN. Make the sh default to using external commands when a path is provided.
Eric Andersen
2000-11-17 18:07:30 +00:00
337ec1bb32
Fix typo pointed out by Michael Renzmann <renzmann@gmx.de>
Eric Andersen
2000-11-17 17:23:16 +00:00
e790ddb2e1
Add BB_CMP to xfopen
Eric Andersen
2000-11-17 06:50:42 +00:00
4e573f4729
Remove the BSD advertising clause, and replace it with a link to how the advertising clause has been retroactivly declared null and void.
Eric Andersen
2000-11-14 23:29:24 +00:00
8045c08e1c
Oops. I kant tipe.
Eric Andersen
2000-11-14 22:57:46 +00:00
e2e2c29ea1
Brand new version of xargs. Tested thoroughly by Kent Robotti. (Domo arigato, Mr. Robotti...) Closes bug #1065.
Mark Whitley
2000-11-14 22:43:21 +00:00
3c5ee9a379
Grammer fix. Changed "longer then" to "longer than". Fix thanks to Jim Gleason <jimg@lineo.com>.
Eric Andersen
2000-11-14 22:15:48 +00:00
46f0beb167
Patch from Gennady Feldman <gfeldman@tradeline.net> to: 1. Opens redirections w/ the right access. 2. Doesn't do globbing for every single parameter (so it doesn't stat every parameter).
Eric Andersen
2000-11-14 21:59:22 +00:00
2aa1091130
Ulp. "expr" listed as a second "echo" (oops) -- thanks to David Douthitt for noticing....
Eric Andersen
2000-11-14 21:28:09 +00:00
6d5b73d183
Add in Zdisk
Eric Andersen
2000-11-14 21:12:39 +00:00
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