a0053735dc
Remove unused variable. -Erik
Eric Andersen
2000-07-10 20:08:09 +00:00
3849f9bfcc
Remove the problematic CTRLCHAR macro. -Erik
Eric Andersen
2000-07-10 19:56:47 +00:00
9a8243aa1e
Put the GROWBY variable inside the get_line_from_file function, as that is the only function where it's used and it's always good to keep the namespace clean. :-)
Mark Whitley
2000-07-10 19:31:31 +00:00
928faac503
Removed unnecessary #include "regexp.h" line from find.c as per Matt Kraai's suggestion on the mailing list.
Mark Whitley
2000-07-10 19:29:09 +00:00
34e1941c32
Function name cleanup. -Erik
Eric Andersen
2000-07-10 18:47:24 +00:00
44735f8744
Applied patch from Matt Kraai as per his email:
Mark Whitley
2000-07-10 15:50:26 +00:00
999bf72f49
More portability updates. Now compiles cleanly vs glibc, libc5, and uclibc (except for mkfs_minix and fsck_minix -- and it doesn't yet link vs uclibc due to missing stuff in the library). -Erik
Eric Andersen
2000-07-09 06:59:58 +00:00
e9b527ae48
include getopt.h -Erik
Eric Andersen
2000-07-09 05:56:14 +00:00
161cf93404
Fix a bug in get_line_from_file. If the length of the line is (GROWBY * n) + GROWBY - 1, then it writes the null character just after the buffer. Yipe. Fix thanks to Matt Kraai <kraai@alumni.carnegiemellon.edu> Thanks Matt! -Erik
Eric Andersen
2000-07-09 02:38:01 +00:00
f12724c21a
The build depends were too strict. I depended on on debhelper (>= 2.0.80) while debhelper 1.1.24 is available for slink. Just forget the dependancy -- it isn't needed. -Erik
Eric Andersen
2000-07-09 01:54:33 +00:00
a57ba4db64
Argh. More cross libc cleanup. Should be ok now... -Erik
Eric Andersen
2000-07-08 19:20:49 +00:00
2cd439f7f0
More cleanup on umount -Erik
Eric Andersen
2000-07-08 19:10:29 +00:00
bd22ed8067
Update files to reduce dependance on kernel version... -Erik
Eric Andersen
2000-07-08 18:55:24 +00:00
877a71bbf0
Add in tinynet -Erik
Eric Andersen
2000-07-08 16:19:10 +00:00
9cf44e79aa
Doc updates to remove sfdisk. -Erik
Eric Andersen
2000-07-08 00:09:30 +00:00
8f282f1b02
Better description of the BB_FEATURE_USE_DEVPS_PATCH option. -Erik
Eric Andersen
2000-07-07 23:51:37 +00:00
acecc47261
Add in my fix for 2.4.x kernels so /proc/mounts will not have useless deg entries which break mount, df, and friends. Renamed WillThisGoIntoTheKernel to avoid any confision. -Erik
Eric Andersen
2000-07-07 21:22:19 +00:00
e6b9dfa967
Removed sfdisk from BusyBox. It was buggy, fat, and we really couldn't maintain it very well, so including it was not very appropriate. Those wanting an fdisk are invited to grab a copy from util-linux. -Erik
Eric Andersen
2000-07-07 20:54:30 +00:00
53a955786d
Added in Matt Kraai. -Erik
Eric Andersen
2000-07-07 20:53:16 +00:00
a2c83d885e
Fix a dependancy bug for the docs. -Erik
Eric Andersen
2000-07-07 20:52:56 +00:00
03f9c81cec
Naming fix -Erik
Eric Andersen
2000-07-07 20:37:12 +00:00
4c95a28461
Fix for bug #1003 -- BusyBox should now poweroff when asked to do so... Fix thanks to Matt Kraai <kraai@alumni.carnegiemellon.edu> -Erik
Eric Andersen
2000-07-07 19:30:28 +00:00
2158092344
This patch finishes the cleanup of all the commands. It also cleans up the remaining chapters -- Matt Kraai <kraai@alumni.carnegiemellon.edu> -Erik
Eric Andersen
2000-07-07 19:07:47 +00:00
b0b732bfe4
Update 'make release' to remove all the .#filename files the CVS leaves lying about... -Erik
Eric Andersen
2000-07-06 23:17:16 +00:00
03f4c27bd6
Turned some stuff into features that really are features, not apps. -Erik
Eric Andersen
2000-07-06 23:10:29 +00:00
67536ffa43
Fix doc building so the dependancies work properly. -Erik
Eric Andersen
2000-07-06 22:53:22 +00:00
8845adc545
* Fixed tar creation support when reading from stdin ('tar -cf - . ') thanks to Daniel Quinlan <quinlan@transmeta.com> -Erik
Eric Andersen
2000-07-06 22:51:35 +00:00
02bc25be56
Fixed backspace and delete so they work properly again -- broken since 0.44. -Erik
Eric Andersen
2000-07-06 21:29:32 +00:00
62bb2d02b6
Remove leftovers of block_device, which disapperared around busybox 0.28. -Erik
Eric Andersen
2000-07-06 19:46:22 +00:00
a5dbb39dac
Change order. -Erik
Eric Andersen
2000-07-06 19:11:34 +00:00
c8c10c5715
Added (fixed) the '-n' option to fbset. Renumbered the command parameters to put a gap between the normal commands and the fancy commands. This makes it cleaner to add normal commands. Patch from Jon McClintock <jonm@bluemug.com>. -Erik
Eric Andersen
2000-07-06 17:23:23 +00:00
f86aee74ce
setkeycodes needs get_console_fd(), so if you disable chvt and deallocvt, but leave setkeycodes active, busybox will not link. Also fix a trivial use-before-initialize warning. Both fixes from Jon McClintock <jonm@bluemug.com>.
Eric Andersen
2000-07-06 17:20:46 +00:00
b1e379f7f3
Remove some warning with glibc. -Erik
Eric Andersen
2000-07-06 17:08:38 +00:00
78eab2f6c6
Comment on kill.c change. -Erik
Eric Andersen
2000-07-06 17:06:08 +00:00
3cfa9ec09c
Reorganized signal names for better architecture support -- patch thanks to simon wood <simon@mungewell.uklinux.net> -Erik
Eric Andersen
2000-07-06 17:05:33 +00:00
b2731b11ef
Had an extra tcsetpgrp. -Erik
Eric Andersen
2000-07-06 16:56:56 +00:00
1e03add675
a few minor cleanups. -Erik
Eric Andersen
2000-07-06 09:56:35 +00:00
5d893b6beb
Remove MAXNAMLEN and use BUFSIZ instead. -Erik
Eric Andersen
2000-07-06 01:57:20 +00:00
89bc256c94
Remove misguided klude around for 2.4.x-test* brokenness. Al Viro will be removing this stuff from /proc/mounts real soon now I am assured. -Erik
Eric Andersen
2000-07-05 19:29:59 +00:00
f7cf2f7ef9
* Fix to tr so it recognizes standard escape sequences. Merged common escape seq. code from tr and echo into utility.c. Fix thanks to Matt Kraai <kraai@alumni.carnegiemellon.edu>. * This should close Bug #1015. Please test. -Erik
Eric Andersen
2000-07-05 17:26:35 +00:00
2086e3d679
Some cosmetic updates. Changed "OPTIONS" to "Options". -Erik
Eric Andersen
2000-07-04 22:17:01 +00:00
028fb625f5
More doc updates -Erik
Eric Andersen
2000-07-04 20:07:13 +00:00
5331025f79
A first pass at integrating the SGML docs into the Makefile. A first pass a cleaning up the current SGML (lots more cleanup is needed though). -Erik
Eric Andersen
2000-07-04 19:42:23 +00:00
b02c54ebee
* Fix to init.c from Stuart Menefy <Stuart.Menefy@st.com> so that it always sets the controlling terminal before running any programs -Erik
Eric Andersen
2000-07-04 19:41:23 +00:00
72965e3454
Fixed a potential infinite loop. First delete any chars after the cursor, then delete everything before it. Before this, we would just delete everything before the cursor and freak out if there were still chars left (i.e. stuff after the cursor). -Erik
Eric Andersen
2000-07-04 06:22:18 +00:00
b54833cde0
sh fixes from Marius Groeger <mag@sysgo.de> -Erik
Eric Andersen
2000-07-03 23:56:26 +00:00
7c31ea4e29
Added support for ignoring '-g' per GNU ls, thanks to David Vrabel <dvrabel@arcom.co.uk>. Seems some ftp clients expect the '-g' option to exist. -Erik
Eric Andersen
2000-07-03 14:55:49 +00:00
5d41d60f1e
Added support for being a login shell, so things like '-su' or '-sh' (stuff where argv[0][0]=='-') will now always invoke the shell. Now you can use BusyBox as a login shell. -Erik
Eric Andersen
2000-06-29 20:20:14 +00:00
2e1148b239
Fixed comment.
Mark Whitley
2000-06-28 22:59:30 +00:00
8bd891cbec
Added support for reading from stdin with '-' as file name arg.
Mark Whitley
2000-06-28 22:55:59 +00:00
1ca41775bb
Yanked out the cstring_alloc() and cstring_lineFromFile() functions from utility.c and replaced them with get_line_from_file() from the new grep.c. Also changed declaration in internal.h and replaced instances of cstring_lineFromFile() in dc.c and sort.c with get_line_from_file(). Tested them and they worked fine.
Mark Whitley
2000-06-28 22:15:26 +00:00
d37218941c
Brand, spankin', new grep that uses libc regex routines instead of the hand-rolled ones. Sed still needs to be replaced and then the regexp stuff can be axed.
Mark Whitley
2000-06-28 22:00:26 +00:00
268b8c4f38
Moved some function decls, a struct, and a #define from regexp.h into here. Also static-ified said functions so they do not have namespace conflicts with the libc regex functions.
Mark Whitley
2000-06-28 21:59:31 +00:00
0c96eba3de
Removed some function decls (regex, regcomp, etc.) and put them in regexp.c
Mark Whitley
2000-06-28 21:58:31 +00:00
a2db097d66
Forgot -- targeted the wrong release. -Erik
Eric Andersen
2000-06-28 17:07:19 +00:00
1c314ad655
* Fixed a _horrible_ bug where 'tar -tvf' could unlink local files!!! Fix thanks to Marius Groeger <mgroeger@sysgo.de> * Added support for "sh -c command args...", also thanks to Marius Groeger <mgroeger@sysgo.de>
Eric Andersen
2000-06-28 16:56:25 +00:00
47cac6779a
Updates for the .deb -Erik
Eric Andersen
2000-06-28 02:25:18 +00:00
eb0283333b
= minor formatting issues
John Beppu
2000-06-28 00:55:31 +00:00
7cdc76dfbf
+ busybox --install [-s] is functional (but disabled in busybox.def.h by default) Someone email the guy who originally wanted this.
John Beppu
2000-06-28 00:41:26 +00:00
d0edef3cbe
Remove stuff now moved into the bug tracking system. -Erik
Eric Andersen
2000-06-27 18:12:19 +00:00
495869f59a
+ s/int install_links/static int install_links/
John Beppu
2000-06-27 07:54:33 +00:00
cb1d841f09
This kernel patch is no longer needed, with the change I made to init and free... -Erik
Eric Andersen
2000-06-27 06:22:09 +00:00
27b5924b96
+ littering my code w/ comments about what troubles me.
John Beppu
2000-06-27 04:56:45 +00:00
8f425dbf9a
+ busybox --install [-s] is almost good to go. Here is my work in progress.
John Beppu
2000-06-27 04:50:02 +00:00
83a949cb22
Just converted busybox.pod to busybox.sgml using the Pod::DocBook Perl module. The resulting file needs some massaging and once it gets presentable, I'll edit the Makefile to use the SGML file as the "authoritative" file; the plan here is to generate other file formats from the SGML.
Mark Whitley
2000-06-26 13:31:53 +00:00
1386e70210
Fixed segfault with 'cut -f 1 -d:' and added 'cut -s' suport. Fix thanks to Arne Bernin <arne@matrix.loopback.org> -Erik
Eric Andersen
2000-06-26 12:14:30 +00:00
ef40aa81c5
* Fixed insmod module option parsing for options lacking an '='. Fix thanks to Marc Nijdam <marc_nijdam@hp.com> -Erik
Eric Andersen
2000-06-26 11:16:22 +00:00
3adffb7fc8
readlink(2) does not NULL terminate the buffer it reads in, but tar expected it to do so. This caused symlinks stored in tarballs to likely have trailing crap in the stored symlink named. Oops. -Erik
Eric Andersen
2000-06-26 10:54:06 +00:00
10dc9d4d17
Updates to handle Linux 2.4.0 kernels (kludged around the "none" entries in /proc/mounts, added a hack to make sysinfo work with both old and new kernels). -Erik
Eric Andersen
2000-06-26 10:45:52 +00:00
8a24a6783a
Better error checking in insmod. Remove left over %m's -Erik
Eric Andersen
2000-06-22 18:19:31 +00:00
4a971aef59
Minor web page update. -Erik
Eric Andersen
2000-06-22 01:27:11 +00:00
3c37598dc2
Fix version # -Erik
Eric Andersen
2000-06-22 00:23:09 +00:00
a29dec28cb
More doc updates -Erik
Eric Andersen
2000-06-22 00:19:33 +00:00
ccd32cbb61
Merged two TODO items into one
Mark Whitley
2000-06-22 00:16:37 +00:00
9d9610b8de
Update the list. -Erik
Eric Andersen
2000-06-22 00:04:12 +00:00
6f9985e2f2
Pavel Roskin <proski@gnu.org> just found a nasty memory corruption bug. Disabling 'ln -n' till it is fixed. -Erik
Eric Andersen
2000-06-22 00:02:56 +00:00
addc9c28ad
Document 'ln --' -Erik
Eric Andersen
2000-06-21 22:53:24 +00:00
4fa84e6b54
Cleaned up some #ifdef spiderwebs.
Mark Whitley
2000-06-21 22:53:16 +00:00
c6cdf58747
Bump version number to 0.45 -Erik
Eric Andersen
2000-06-21 22:50:59 +00:00
07edff4ba4
Added an implicit rule for #defining BB_FEATURE_USE_TERMIOS if BB_FEATURE_AUTOWIDTH is #defined.
Mark Whitley
2000-06-21 22:46:32 +00:00
45087b1010
More doc updates. -Erik
Eric Andersen
2000-06-21 22:44:33 +00:00
766c012975
Web site updates. -Erik
Eric Andersen
2000-06-21 22:43:07 +00:00
c5c5e3d144
Add in my little patch for 2.4.x to make sysinfo binary compatable (again) -Erik
Eric Andersen
2000-06-21 22:06:56 +00:00
afa0662860
Documented "which"
Pavel Roskin
2000-06-21 21:43:24 +00:00
1a804e4b3c
Removed trailing spaces
Pavel Roskin
2000-06-21 21:38:00 +00:00
f929641c51
Add in telnet docs. -Erik
Eric Andersen
2000-06-21 21:04:01 +00:00
feb47c024a
Add insmod docs -Erik
Eric Andersen
2000-06-21 21:03:13 +00:00
f7a01951fb
Updated the list of supported commands
Pavel Roskin
2000-06-21 20:25:07 +00:00
7ac06a3ff1
Removed all vestiges of "math"
Pavel Roskin
2000-06-21 20:17:29 +00:00
0021679b0d
+ added dc (aka the function formerly known as math) + did all the housekeeping that this change requires.
John Beppu
2000-06-21 19:06:16 +00:00
b405dfa54d
'tar --help' wasn't working. Fixed it. -Erik
Eric Andersen
2000-06-21 18:37:36 +00:00