5c365da884
Fix non-NULL terminated strings.
Eric Andersen
2000-12-11 19:37:19 +00:00
4ed17829ac
Fix a thinko -- when REMOTE_LOG support is compiled in, but the user has not specified remote logging, then be sure to log locally... duh.
Eric Andersen
2000-12-11 19:28:29 +00:00
b2356f6de9
Patch from Matt Kraai to fox sh.c escape problem such that running things like 'echo "\n\tHi\n\t\!"' and 'echo -e "\n\tHi\n\t\!"' behave as under bash.
Eric Andersen
2000-12-11 19:14:40 +00:00
59ec601b8e
Test suite update from Larry Doolittle to disable some problematic ambiguous cases. Everything now passes the test suite...
Eric Andersen
2000-12-11 17:33:08 +00:00
a293a516ad
Patch from kent robotti to fix a buglet where # du doesn't_exist du: doesn't_exist: No such file or directory 0 doesn't_exist which was on course wrong. I simplified it a bit...
Eric Andersen
2000-12-11 17:08:21 +00:00
394cf22668
Fix the option parsing to use getopt, which seems to fix bug #1050
Eric Andersen
2000-12-11 16:48:50 +00:00
cf7982e908
Patch from Larry Doolittle, fix up logging across multilple lines, hopefully fixing bug #1061.
Eric Andersen
2000-12-11 16:31:11 +00:00
70d09ed1cf
Reverse logic so when network logging, it by default does not log locally.
Eric Andersen
2000-12-11 16:24:16 +00:00
9962cd9f78
Add a linker warning for symbol conflicts.
Eric Andersen
2000-12-11 16:20:40 +00:00
c8eedd56ac
Some .deb update
Eric Andersen
2000-12-10 04:43:49 +00:00
46f44d24fc
Support for tar -z option for uncompressing only
Glenn L McGrath
2000-12-10 01:57:30 +00:00
00732b57c7
Introduce new function gunzip_init() gunzip_init() will make it easier to use gunzip from other bb functions.
Glenn L McGrath
2000-12-10 00:51:42 +00:00
c52a97d79f
NFS_PORT and NFS_FHSIZE are not defined in the kernel headers that come with libc6-2.2-5 This just defines that if they arent found in the kernel header
Glenn L McGrath
2000-12-09 23:59:04 +00:00
9df3833370
Fix problem where 'du file_that_exists' doesn't work.
Eric Andersen
2000-12-09 17:07:12 +00:00
29edd005f9
More wget cleanups I've been working on...
Eric Andersen
2000-12-09 16:55:35 +00:00
afdde3e356
Some little cleanups from Larry Doolittle
Eric Andersen
2000-12-09 16:41:42 +00:00
5b5db38a7d
Patch from Matt Kraai to implement uniq -[cdu]
Eric Andersen
2000-12-09 16:37:53 +00:00
1bca5ed886
add quiet mode support. If wget compiled without statusbar then -q option is accepted but has no effect. If wget compiled with statusbar -q turns it off.
Glenn L McGrath
2000-12-09 08:12:06 +00:00
8c28fd7849
Forget to set final argv entry to NULL, breaking sh.c amoung other things...
Eric Andersen
2000-12-09 00:19:30 +00:00
7da312058c
Some updates. Wrong name was on a patch, plus a spelling fix.
Eric Andersen
2000-12-08 21:05:58 +00:00
f21aa84389
Put in i to getopt, so i will work...
Eric Andersen
2000-12-08 20:50:30 +00:00
eb4218d0a4
Update inittab docs
Eric Andersen
2000-12-08 20:38:00 +00:00
bf2b8ae49a
Make no local logging a runtime option for network logging...
Eric Andersen
2000-12-08 19:52:01 +00:00
76fef0a5d0
Patch from Gennady Feldman <gfeldman@mail.com> to make syslogd not log when compiled for remote logging. Not the ideal way to fix it (it should really be a runtime switch), but good enough for now I guess...
Eric Andersen
2000-12-08 19:41:21 +00:00
9cff4fbac9
Patch from Matt Kraai to make logger log all arguments.
Eric Andersen
2000-12-08 19:35:51 +00:00
5e09b6e3a8
when invoked as 'busybox foo args' remove the "busybox" so ps shows only what we want it to show...
Eric Andersen
2000-12-08 19:03:12 +00:00
f3b2b52b58
Patch from Matt Kraai to enable proxy support.
Eric Andersen
2000-12-07 22:42:11 +00:00
f57c944e09
Changed names of functions in utility.c and all affected files, to make compliant with the style guide. Everybody rebuild your tags file!
Mark Whitley
2000-12-07 19:56:48 +00:00
7b5c16ebe5
Fix by Tim Robbins <fyre@box3n.gumbynet.org> to prevent bad format strings from being passed to syslog(3).
Matt Kraai
2000-12-07 16:22:04 +00:00
87afb526b5
Get rid of redundant TRUE and FALSE definitions.
Matt Kraai
2000-12-07 16:11:50 +00:00
1e1d9d1c95
oops, didn't mean to commit that last one... reverting
Randolph Chung
2000-12-07 03:56:10 +00:00
da7b82981b
Write progress meter to stderr instead of stdout
Randolph Chung
2000-12-07 03:55:35 +00:00
3d957c87b7
Patch from Jim Gleason <jimg@lineo.com> to fix tar so it no longer breaks hard links, and no longer segfault in a certain wierd case.
Eric Andersen
2000-12-07 00:34:58 +00:00
6b78fe383f
Add some more changlog stuff suggested by Larry Doolittle.
Eric Andersen
2000-12-07 00:29:50 +00:00
1e7cea952b
Bettwr document the hidden internal sh.c #defines, and which folks might want to use...
Eric Andersen
2000-12-06 23:47:38 +00:00
bc5941a540
Close but #1071...
Eric Andersen
2000-12-06 23:17:37 +00:00
bfa54143f6
Ignore the newdocs as well
Eric Andersen
2000-12-06 23:12:43 +00:00
8ffabf5825
Patch from Matt Kraai to fix 'echo "1 2 3" | tr -s " "' so it properly outputs "1 2 3".
Eric Andersen
2000-12-06 22:53:06 +00:00
1d3523b7aa
patch from Larry Doolittle to rename BB_FEATURE_SH_BUILTINS_ALWAYS_WIN to the more pedantically correct BB_FEATURE_SH_APPLETS_ALWAYS_WIN.
Eric Andersen
2000-12-06 19:07:39 +00:00
21adca750a
Added insmod support for ARM, and lsmod support for older kernels, thanks to Alcove, Julien Gaulmin <julien.gaulmin@alcove.fr> and Nicolas Ferre <nicolas.ferre@alcove.fr>. -Erik
Eric Andersen
2000-12-06 18:18:26 +00:00
e884970c87
Must compile before committing.
Matt Kraai
2000-12-06 15:56:31 +00:00
92ed8a3519
Fix exit status on failure.
Matt Kraai
2000-12-06 15:55:23 +00:00
ab147f608d
Removed isBlank and isWildCard macros that were totally unused (should anyone need isBlank, please use isblank() in ctype.h). Converted isDecimal and isOctal into inline functions. Compiled, tested, worked.
Mark Whitley
2000-12-05 20:42:48 +00:00
26a3adb244
Changed some #define strings to static const char [] variables. Tested ls after changing, it worked.
Mark Whitley
2000-12-05 20:10:27 +00:00
deb9d4d765
Use perrorMsg and clean up exit status.
Matt Kraai
2000-12-05 20:07:27 +00:00
4758368505
Fixed the comments to match the code and renamed the function to a (hopefully) more descriptive name, and as per the style guide.
Mark Whitley
2000-12-05 20:03:17 +00:00
cf61fe14ae
Applied patch from Matt Kraai to add v*error functions for handling vararg lists in a safe 'n sane fashion.
Mark Whitley
2000-12-05 19:27:13 +00:00
d27753afd9
Use perrorMsg instead of perror and keep removing files if we encounter an error.
Matt Kraai
2000-12-05 05:11:41 +00:00
0e836ed8db
Changelog update
Eric Andersen
2000-12-04 23:52:19 +00:00
2187adc619
Flag day warning! Change TRUE and FALSE defines to normal C style TRUE=1, FALSE=0. -Erik
Eric Andersen
2000-12-04 20:31:45 +00:00
8cede00b9e
Patch to add in the -X option and fix the --exclude bug, originally by Sebastien Huet, and now ported to the latest and greatest by both Arne Bernin <ab@netropol.de> and kent robotti <robotti@metconnect.com>.
Eric Andersen
2000-12-04 18:51:09 +00:00
f484e7e65c
Fix typo
Eric Andersen
2000-12-02 06:32:14 +00:00
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