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
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
f34aa4c378
Hard code the name of init.
Eric Andersen
2000-09-21 02:32:11 +00:00
8a2e56c5df
Large file >2Gib support.
Eric Andersen
2000-09-21 02:23:30 +00:00
350b3f9236
Typo fix.
Eric Andersen
2000-09-21 02:06:35 +00:00
ae22612792
Ignore loop.h
Eric Andersen
2000-09-21 02:05:43 +00:00
624cc771da
More portable handling of loop header files, as done in util-linux
Eric Andersen
2000-09-21 02:04:51 +00:00
8847b9a03a
Remove a warning. Patch from Bryan Rittmeyer <bryan@ixiacom.com>
Eric Andersen
2000-09-21 01:33:05 +00:00
7c22b77162
Only remove directories when removing recursively.
Matt Kraai
2000-09-20 23:10:21 +00:00
cff3fe3ae9
Added dos2unix, unix2dos, and unrpm.c thanks to robotti@metconnect.com. -Erik
Eric Andersen
2000-09-20 19:22:26 +00:00
0cccdfaf36
When mounting a ro fs rw, print warning and then mount it ro. Patch from Dave Cinege. -Erik
Eric Andersen
2000-09-20 06:23:36 +00:00
b938e2ff99
Return failure if ping gets no response.
Matt Kraai
2000-09-20 04:33:30 +00:00
46a98dfb13
Reverted my conversion of tar to getopt to ensure tar can handle traditional semantics (i.e. 'tar -xvf -' or 'tar xvf' now both work). -Erik
Eric Andersen
2000-09-19 21:35:14 +00:00
56f3e353da
Both of these commands were subtly broken. Fortunately when used together the damage was only ugly fscks. Reverted to the static inline code so they work correctly again, -Erik
Eric Andersen
2000-09-19 21:13:55 +00:00
06f64b2370
I think these featires are fairly safe... -Erik
Eric Andersen
2000-09-19 07:16:39 +00:00
0b2da467a8
Avoid segfaults by not using snprintf to copy strings.
Matt Kraai
2000-09-19 06:46:44 +00:00
721119e1db
Clean up output.
Matt Kraai
2000-09-19 05:25:12 +00:00
cd26ff4eac
Only defines functions that will compile and are usefull under the
Glenn L McGrath
2000-09-19 02:25:36 +00:00
252bacc9ea
Apply a patch from Chip Rosenthal <chip@unicom.com> to fix NFS mounting, which had been inadvertantly broken... -Erik
Eric Andersen
2000-09-19 01:21:13 +00:00
fd3741d712
Remove definition of basename. It was defined out so that it would never be seen, and if it was ever seen it wasnt used for anything. It also stops gunzip compiling under the Hurd.
Glenn L McGrath
2000-09-18 10:20:16 +00:00
38c8551cf2
Path count was out by one, fixed it
Glenn L McGrath
2000-09-18 09:52:03 +00:00
63dde9d4ce
Simplify and remove dependence on PATH_MAX
Glenn L McGrath
2000-09-18 09:37:40 +00:00
b2f36af157
Updated stdin/stdout treatment to match that of gnu tar.
Matt Kraai
2000-09-15 22:47:34 +00:00
6fc2a7d04d
Reorganize listing code.
Matt Kraai
2000-09-15 22:23:41 +00:00
82cfbad216
Allow non-verbose listing to work.
Matt Kraai
2000-09-15 21:18:43 +00:00
c9db2e8665
Updated to be in sync with the current sample inittab
Pavel Roskin
2000-09-15 17:24:13 +00:00
d2d3aa39ef
Fixed compliance with the DTD
Pavel Roskin
2000-09-15 17:16:40 +00:00
f5cf8c6c65
Don't suppress output of umount and swapoff - it is both unwise and incompatible with lash that doesn't support >&1 yet.
Pavel Roskin
2000-09-15 01:34:17 +00:00
33bee33af0
Don't suppress output of umount and swapoff - it is both unwise and incompatible with lash that doesn't support >&1 yet.
Pavel Roskin
2000-09-15 01:02:50 +00:00
5f84fd7066
"exit NUMBER" should exit, not return
Pavel Roskin
2000-09-15 00:46:51 +00:00
cbe05e45db
For "askfirst" don't just read one char from stdin, read the whole line using getc(), so that everything before Enter gets discarded.
Pavel Roskin
2000-09-14 22:47:29 +00:00
7e3bf6e339
Add in a patch from robotti@metconnect.com and Chip Rosenthal to make init do login shell stuff. -Erik
Eric Andersen
2000-09-14 22:01:31 +00:00
ce40fc044b
Note the syslogd bug fix
Eric Andersen
2000-09-14 21:56:18 +00:00
5d63884a8f
Bug fix for wget, and proper attribution of Chip Rosenthal and Covad Communications for the contribution of wget. -Erik
Eric Andersen
2000-09-14 21:46:30 +00:00
31e6829bd8
Fix the halt/reboot/poweroff segfault when used from within an initrd... -Erik
Eric Andersen
2000-09-14 21:12:20 +00:00
131241f71c
Backslashes shouldn't be treated as backticks.
Matt Kraai
2000-09-14 00:43:20 +00:00
cbbe4d6bc2
Copy the string terminator.
Matt Kraai
2000-09-14 00:26:50 +00:00
56a328810b
Fix looping bug, use fullRead
Glenn L McGrath
2000-09-13 23:08:07 +00:00
b4c3c59a45
Add in BasicLinux by request
Eric Andersen
2000-09-13 23:06:41 +00:00
f8e04f7113
Added _install
Pavel Roskin
2000-09-13 16:52:32 +00:00
fb6a50820c
Ensure forked processes always are on a controlling tty, so the ^C can be properly sent to /dev/console. -Erik
Eric Andersen
2000-09-13 16:15:29 +00:00
d39d120998
Make syslogd ignore SIGCLD only if SIGCLD is defined. This should fix SPARC. Also ignore SIGCHLD - it must have been meant.
Pavel Roskin
2000-09-13 14:14:29 +00:00
5d513f7256
List of signals updated from util-linux-2.10o Architecture names are no longer used - should now compile on SPARC
Pavel Roskin
2000-09-13 14:03:48 +00:00
dd450a0ded
Don't fork for the . (source) command so that environment settings are preserved.
Matt Kraai
2000-09-13 03:43:36 +00:00
322ae93a5e
Fix calls to {m,c,re}alloc so that they use x{m,c,re}alloc instead of segfaulting or handling errors the same way themselves.
Matt Kraai
2000-09-13 02:46:14 +00:00
b89075298e
Fix unchecked calls to {m,c,re}alloc so that they print an error and exit rather than segfaulting (what an improvement).
Matt Kraai
2000-09-13 02:08:21 +00:00
ccb0a9ba88
Formatting cleanup patch from Bryan Rittmeyer <bryan@ixiacom.com>. -Erik
Eric Andersen
2000-09-12 16:20:49 +00:00
fca8050f0f
Fix .deb unpack and experimental TAR support
Glenn L McGrath
2000-09-11 05:25:39 +00:00
ac19b7e032
Extra defines for ar
Glenn L McGrath
2000-09-11 05:06:13 +00:00
49352adf9c
Simplify a few little things, and merge in a patch from robotti@metconnect.com so that 'ar -xv' and 'ar -x -v' both work. -Erik
Eric Andersen
2000-09-11 04:55:31 +00:00
605a819a17
New dd behaviour
Glenn L McGrath
2000-09-11 00:33:09 +00:00
f0b073f55a
dd now truncates files at the end its write, this can be turned of by specifying conv=notrunc in the command line
Glenn L McGrath
2000-09-11 00:32:13 +00:00
de34e43755
MAke lsmod act just like modutils lsmod, by printing which modules use other modules, and state info like (deleted) and such. -Erik
Eric Andersen
2000-09-10 16:16:00 +00:00