655d814d75
New applet: patch, applies a unified diff
Glenn L McGrath
2003-06-22 15:32:41 +00:00
a0b3705fa1
Save a few bytes by using bb_getopt_ulflags and a few other minor improvments
Glenn L McGrath
2003-06-22 06:59:34 +00:00
f0f754aeaf
Based on a tinylogin patch from Philip Blundell, add several additional options to adduser. -Erik
Eric Andersen
2003-06-21 20:03:07 +00:00
9d9cecfd63
Fix a silly bug I introduced yesterday
Eric Andersen
2003-06-21 09:05:49 +00:00
3c8bca364d
Fixup whitespace handing, fixing some annoying behavior and a couple of segfaults
Eric Andersen
2003-06-20 10:02:29 +00:00
25ea42de9b
Fall back to looking in /lib/modules/modules.dep if /lib/modules/<kernel version>/modules.dep is missing
Eric Andersen
2003-06-20 09:57:30 +00:00
908e362133
Patch from Andrew Dennison:
Eric Andersen
2003-06-20 09:56:37 +00:00
9d7f0f0fe8
Somewhere in the 2.4.x kernel series, /proc/mounts was changed to display a "rootfs" entry as well as the traditional "/dev/root" entry. This caused applets such as mount and df to display two root filesystem entries....
Eric Andersen
2003-06-20 09:36:49 +00:00
dd92c77bb0
Don't shadow a paramater
Eric Andersen
2003-06-20 09:25:34 +00:00
0cc7e6236a
Fix a couple vars that could be used uninitialized
Eric Andersen
2003-06-20 09:23:34 +00:00
2a41ec6c63
use an explicit cast on some types that change size when large file support is enabled.
Eric Andersen
2003-06-20 09:22:12 +00:00
1b2e7c3b2a
Make gcc not whine about "deprecated use of label at end of compound statement"
Eric Andersen
2003-06-20 09:20:28 +00:00
c9e7024924
Add prototype update missing from last_patch89. Fix screwy formatting in cut.
Eric Andersen
2003-06-20 09:16:00 +00:00
0f08e53535
Patch from Lars Kellogg-Stedman:
Eric Andersen
2003-06-20 09:05:00 +00:00
8876fb2f59
last_patch89 from vodz:
Eric Andersen
2003-06-20 09:01:58 +00:00
dfce3536ac
Fix rpm usage msg
Eric Andersen
2003-06-15 07:00:54 +00:00
a8da17acef
Add missing pieces from vodz' last_patch88
Eric Andersen
2003-06-14 02:57:53 +00:00
fa7532b91a
Fix the location for the default config so 'make defconfig' actually works
Eric Andersen
2003-06-12 22:09:08 +00:00
b838420fd5
Handle hard links by converting them to symlinks
Glenn L McGrath
2003-06-12 13:47:16 +00:00
24833430bc
Vodz, last_patch_88
Glenn L McGrath
2003-06-10 17:22:49 +00:00
6c43f743a3
sha1sum option to compare checksums
Glenn L McGrath
2003-06-08 13:32:12 +00:00
a721204ec5
Better error handling
Glenn L McGrath
2003-06-07 17:38:33 +00:00
a9e4617494
Minor correction
Glenn L McGrath
2003-06-07 17:11:00 +00:00
138d71bc35
Fix bug (wrong value computed) when reading file from stdin, implement -s option
Glenn L McGrath
2003-06-07 17:06:28 +00:00
7aa62cf173
Run through indent
Glenn L McGrath
2003-06-07 14:54:24 +00:00
233b170a85
Patch from Lars Kellogg-Stedman, lars at larsshack.org, to make ifupdown's mapping function work as documented.
Eric Andersen
2003-06-05 19:37:01 +00:00
d130973f34
Put this back the way it was. I misunderstood what vodz was doing.
Eric Andersen
2003-05-27 20:45:59 +00:00
82ab3d7c3e
Make all syscall declarations use the syscall() function
Eric Andersen
2003-05-26 18:48:56 +00:00
b0cfca7544
This was doing some silly stuff that is not necessary when using vfork(), so I have simplified it.
Eric Andersen
2003-05-26 18:12:00 +00:00
a2d1982841
cleanup a bit to remove needless verify() function
Eric Andersen
2003-05-26 18:09:14 +00:00
fab3e12cec
Skip printing "/proc/%d/cmdline" stuff when it is not relevant
Eric Andersen
2003-05-26 18:07:30 +00:00
64191c3896
Remove cruft
Eric Andersen
2003-05-26 18:06:20 +00:00
393183dccc
Vodz, last_patch_86
Glenn L McGrath
2003-05-26 14:07:50 +00:00
ddfe18df75
Update mkdep, per the "touchless dependencies for 2.4.x" patch from Geert Uytterhoeven posted to the lkml. -Erik
Eric Andersen
2003-05-24 07:30:58 +00:00
46ba568fc0
oops
Eric Andersen
2003-05-23 09:29:57 +00:00
d4f90ed37e
This patch from Vitezslav Batrla, is a cleaner fix for the problem with syslogd logging the '<' char.
Eric Andersen
2003-05-23 09:28:01 +00:00
787ff55a69
Patch from Russell Coker:
Eric Andersen
2003-05-22 07:10:22 +00:00
4fe3ff8cff
Patch from Glenn Engel - more comments - larger allowed number of CGI script variables - ifdefs for regression test hooks - default to ./ rather than /www (if unspecified) for compatibility with earlier versions. - Allow ip: as a synomym for A: rules for compatibility with earlier versions. - Setting of CGI_ARGLIST_ when automatic setting of env vars for form scripting is utilized. This helps with minimal systems like openap.
Glenn L McGrath
2003-05-19 05:56:16 +00:00
0861e828d0
Handle -O preceding -x.
Matt Kraai
2003-05-18 21:12:36 +00:00
900c8f3362
Apply patch from Georg Magschok to fix syslog behavior so that the '>' charactor can be logged, per rfc3164.
Eric Andersen
2003-05-16 08:35:02 +00:00
d3af409eae
Part of a patch from Glenn Engel, updates httpd help
Glenn L McGrath
2003-05-14 12:20:21 +00:00
874e3381db
vodz, last_patch_85
Glenn L McGrath
2003-05-14 12:11:36 +00:00
0a3b0106ab
Re-use existing variables, patch from Tito
Glenn L McGrath
2003-05-13 16:31:15 +00:00
c9163fee91
last_patch84 by Vodz.
Glenn L McGrath
2003-05-13 16:20:11 +00:00
49e74effbc
Add some missing lines for getty, patch by Steven Scholz
Glenn L McGrath
2003-05-13 14:59:07 +00:00
74fcbb0f7d
Fix \l so it doesnt print the character as well as the tty, from old patch by Nick Fedchik
Glenn L McGrath
2003-05-13 13:28:25 +00:00
1e11c34be4
minit, a Minimal init system.
Glenn L McGrath
2003-05-11 14:52:39 +00:00
8c6887c855
Use xopen instead of xfopen
Glenn L McGrath
2003-05-08 13:09:28 +00:00
7b3edeb14d
Patch from Dmitry V. Levin to fix a fd leak
Eric Andersen
2003-05-02 16:25:01 +00:00
7a54360cd4
Use bb_xgetlarg
Glenn L McGrath
2003-04-27 10:05:35 +00:00
f01b805d91
New applet, fold
Glenn L McGrath
2003-04-27 06:02:14 +00:00
c91ce57099
Config option to create an fgrep alias
Glenn L McGrath
2003-04-27 02:43:54 +00:00
c5408fe7f7
Fix segfault when cleaning up
Glenn L McGrath
2003-04-27 02:22:01 +00:00
26df70a823
grep -f support, adds only 60 Bytes, but regex's now compiled as required, rather than being pre-compiled.
Glenn L McGrath
2003-04-27 01:50:57 +00:00
e2aed7ffd7
Always preserve date
Glenn L McGrath
2003-04-26 13:16:44 +00:00
91e1978ff0
New commands, 'G' and 'H'
Glenn L McGrath
2003-04-26 07:40:07 +00:00
69f28e7c0c
Add the -d option, its used by old versions of config.guess, change to use getopt.
Glenn L McGrath
2003-04-26 04:56:17 +00:00
fbf0b8af41
iPatch from waldi, fixes usage of ip route flush (from)? (match|exact)
Glenn L McGrath
2003-04-26 02:22:19 +00:00
86f2cce6bf
Patch from Steven Scholz to fix telnetd compile problem
Eric Andersen
2003-04-25 12:32:37 +00:00
2c1de61023
There have been many reports of init failing to reboot and/or failing to halt over the years. Well I finally took the time to track this down. It turns out that inside linux/kernel/sys.c the kernel will call machine_halt(); do_exit(0); when halting, or will call machine_power_off(); do_exit(0);
Eric Andersen
2003-04-24 11:41:28 +00:00
afc01cd485
unlink a previous file before its extracted
Glenn L McGrath
2003-04-21 11:03:29 +00:00
923dd79af7
sync with waldi
Glenn L McGrath
2003-04-21 10:26:39 +00:00
35a5b08eee
unlink() an existing file, before opening it, simply truncating can cause nasty problems if overwriting glibc, spotted by waldi.
Glenn L McGrath
2003-04-21 10:07:48 +00:00
6f9a0d4bbb
Add link to SimplyGNUstep
Eric Andersen
2003-04-21 03:34:01 +00:00
4a11e0fb45
Patch from David Updegraff to use calloc so that forward pointers start out NULL, and so it can handle format strings that have stuff _after_ the last %? specification
Eric Andersen
2003-04-19 23:18:35 +00:00
2894266f12
Patch from David Updegraff to avoid corrupting memory while parsing the networks/iterfaces file with next_word routine. Without this, next_word increments one beyond the end of the string.
Eric Andersen
2003-04-19 23:15:06 +00:00
343658582b
Minor .o file naming change
Eric Andersen
2003-04-16 23:02:35 +00:00
7cb6ef7982
enable CONFIG_USE_BB_PWD_GRP for the debian installer, to prevent glibc from trying and failing to use NSS junk that is not present. -Erik
Eric Andersen
2003-04-16 20:52:01 +00:00
fc4cb4dbb5
Fix logic error in grouped commands
Glenn L McGrath
2003-04-12 16:10:42 +00:00
d4185b0e15
Fix up indenting
Glenn L McGrath
2003-04-11 17:10:23 +00:00
d7fe39b587
Really fix the 'r' command
Glenn L McGrath
2003-04-09 15:52:32 +00:00
d87a7ac269
Fix the sed 'r' command
Glenn L McGrath
2003-04-09 15:26:14 +00:00
2410386611
fix substitution when replacing with &, we shouldnt check for an escape charcter. Its already been taken care of _somewhere_ else
Glenn L McGrath
2003-04-09 07:51:43 +00:00
bd9b32bc0d
Label ends at a newline, update comments, rename linked list field
Glenn L McGrath
2003-04-09 01:43:54 +00:00
8d6395d41a
Run through indent
Glenn L McGrath
2003-04-08 11:56:11 +00:00
c1d95076f0
Fixes block commands to correctly identify end of block, recognise the #n directive, fix substitue command when regex isnt specified
Glenn L McGrath
2003-04-08 06:42:45 +00:00
7ce9e247f0
Add hold space commands 'g', 'h', 'x'
Glenn L McGrath
2003-04-07 16:04:14 +00:00
c6adada158
Rename "line" to pattern_space to be more descriptive and closer to the POSIX description
Glenn L McGrath
2003-04-07 12:24:44 +00:00
4957fc7a93
Sync with waldi's package
Glenn L McGrath
2003-04-06 15:35:52 +00:00
982da3e6b4
Add more help text
Eric Andersen
2003-04-04 15:20:53 +00:00
4762a48166
Test that cvs commit messages are working properly -Erik
Eric Andersen
2003-04-04 14:35:36 +00:00
0c236a09ed
Fix 'thinko'.
Manuel Novoa III
2003-04-03 19:29:11 +00:00
8320b425a3
Yet another rather large face lift. It now works for me as expected. -Erik
Eric Andersen
2003-04-02 10:13:26 +00:00
a71c7047cf
Avoid errors with buggy preprocessors
Eric Andersen
2003-03-31 16:27:18 +00:00
f3def2792b
Update config to new menu options
Glenn L McGrath
2003-03-30 16:10:06 +00:00
1b6dfa7066
Rename, to specify kernel
Glenn L McGrath
2003-03-30 13:57:26 +00:00
9a52bb6878
Group common string
Glenn L McGrath
2003-03-30 09:38:40 +00:00
30b47df86b
Small fix for sed 'y' command
Glenn L McGrath
2003-03-30 08:40:09 +00:00
f01b46d7dd
sed 'y' command, simplify some other code
Glenn L McGrath
2003-03-30 08:02:18 +00:00
0c51832b60
Experimental support for embeded newline. (im evil) Fix segfault when using 'N' with an odd number of lines.
Glenn L McGrath
2003-03-30 03:41:53 +00:00
b5b5ac3237
trivial fix to make sure we have sufficient arguments before we mess with a possibly non-existant argv[1] -Erik
Eric Andersen
2003-03-28 16:54:14 +00:00
a0f0f0cf76
Still fine tunning the printing of the substitute command
Glenn L McGrath
2003-03-28 14:11:34 +00:00
595a6a4199
sed 't' branching command
Glenn L McGrath
2003-03-28 08:36:52 +00:00
ccd43a8301
Fix sed 's' command's 'p' flag, so it can print line twice
Glenn L McGrath
2003-03-28 07:44:03 +00:00
b08e3e8c2e
fix q command
Glenn L McGrath
2003-03-28 04:57:52 +00:00
961c6c19da
Add basic branching support, sed ':' and 'b' commands
Glenn L McGrath
2003-03-28 04:43:39 +00:00
56c633c139
make sed cleanup use linked list
Glenn L McGrath
2003-03-28 04:23:23 +00:00