oweals/busybox.git
17 years agologin: re-enable Ctrl-^C before execing shell.
Denis Vlasenko [Tue, 31 Oct 2006 17:34:44 +0000 (17:34 -0000)]
login: re-enable Ctrl-^C before execing shell.

17 years agodd: fix bugs: always assumed conv=sync, died on write errors
Denis Vlasenko [Tue, 31 Oct 2006 15:55:56 +0000 (15:55 -0000)]
dd: fix bugs: always assumed conv=sync, died on write errors
w/o perror and statictics. Several small improvements

17 years agofind: implement -prune. "make clean" now works! :)
Denis Vlasenko [Tue, 31 Oct 2006 03:21:02 +0000 (03:21 -0000)]
find: implement -prune. "make clean" now works! :)

17 years agofind: fix implicit -print (sometime differed from standard)
Denis Vlasenko [Tue, 31 Oct 2006 03:20:13 +0000 (03:20 -0000)]
find: fix implicit -print (sometime differed from standard)

17 years agofind: implement ( )
Denis Vlasenko [Mon, 30 Oct 2006 02:10:47 +0000 (02:10 -0000)]
find: implement ( )

17 years ago"#warning: http://...." doesn't work (gcc thinks that it's a comment!)
Denis Vlasenko [Sun, 29 Oct 2006 19:37:13 +0000 (19:37 -0000)]
"#warning: ...." doesn't work (gcc thinks that it's a comment!)

17 years agowebsite: fix link
Denis Vlasenko [Sun, 29 Oct 2006 19:34:49 +0000 (19:34 -0000)]
website: fix link

17 years agowebsite: announce 1.2.2.1
Denis Vlasenko [Sun, 29 Oct 2006 19:30:55 +0000 (19:30 -0000)]
website: announce 1.2.2.1

17 years agofind: a lot more compliant to 'standard' find
Denis Vlasenko [Sun, 29 Oct 2006 19:07:01 +0000 (19:07 -0000)]
find: a lot more compliant to 'standard' find
(we were not respecting order of actions!).
Add -o and -a handling.

17 years agofind: small improvement
Denis Vlasenko [Sun, 29 Oct 2006 19:03:56 +0000 (19:03 -0000)]
find: small improvement

17 years agofind: fix -exec to work like stock find does.
Denis Vlasenko [Sun, 29 Oct 2006 00:21:47 +0000 (00:21 -0000)]
find: fix -exec to work like stock find does.

17 years agols: silly comment fixes
Denis Vlasenko [Sat, 28 Oct 2006 13:02:55 +0000 (13:02 -0000)]
ls: silly comment fixes

17 years agochmod: typo in comments
Denis Vlasenko [Sat, 28 Oct 2006 12:42:40 +0000 (12:42 -0000)]
chmod: typo in comments

17 years agols: cleanup part 2. ifdef forest is much less scary now :)
Denis Vlasenko [Sat, 28 Oct 2006 12:37:51 +0000 (12:37 -0000)]
ls: cleanup part 2. ifdef forest is much less scary now :)

17 years agols: cleanup part 1
Denis Vlasenko [Sat, 28 Oct 2006 12:37:16 +0000 (12:37 -0000)]
ls: cleanup part 1

17 years agorecursive_action: add depth param
Denis Vlasenko [Fri, 27 Oct 2006 23:42:25 +0000 (23:42 -0000)]
recursive_action: add depth param
chmod: match coreutils versus following links

17 years agochgrp: just call chown! :)
Denis Vlasenko [Fri, 27 Oct 2006 23:28:38 +0000 (23:28 -0000)]
chgrp: just call chown! :)

17 years agorecursive_action: preparatory changes. will introduce "int level".
Denis Vlasenko [Fri, 27 Oct 2006 17:59:14 +0000 (17:59 -0000)]
recursive_action: preparatory changes. will introduce "int level".

17 years agochown: add -vcf support if CONFIG_DESKTOP
Denis Vlasenko [Fri, 27 Oct 2006 16:07:20 +0000 (16:07 -0000)]
chown: add -vcf support if CONFIG_DESKTOP
chmod: stop following symlinks

17 years agochmod: support -vcf if CONFIG_DESKTOP
Denis Vlasenko [Fri, 27 Oct 2006 15:13:54 +0000 (15:13 -0000)]
chmod: support -vcf if CONFIG_DESKTOP

17 years agomodprobe: reformat to match bbox style
Denis Vlasenko [Fri, 27 Oct 2006 15:12:50 +0000 (15:12 -0000)]
modprobe: reformat to match bbox style

17 years agoOFF_T_FMT -> OFF_FMT
Denis Vlasenko [Fri, 27 Oct 2006 13:00:07 +0000 (13:00 -0000)]
OFF_T_FMT -> OFF_FMT

17 years agotop: batch mode should output all processes
Denis Vlasenko [Fri, 27 Oct 2006 09:34:22 +0000 (09:34 -0000)]
top: batch mode should output all processes

17 years agoFix largefile breakage; advance version to 1.2.2
Denis Vlasenko [Fri, 27 Oct 2006 09:05:40 +0000 (09:05 -0000)]
Fix largefile breakage; advance version to 1.2.2

17 years agoreshuffle libbb.h contents so that order of decls makes sense
Denis Vlasenko [Fri, 27 Oct 2006 09:05:02 +0000 (09:05 -0000)]
reshuffle libbb.h contents so that order of decls makes sense
Found bad typo in largefile support :)

17 years agoget_terminal_width_height: do not pass insanely large values
Denis Vlasenko [Fri, 27 Oct 2006 09:03:24 +0000 (09:03 -0000)]
get_terminal_width_height: do not pass insanely large values

17 years agolast nail into error_msg() (de)capitalization
Denis Vlasenko [Fri, 27 Oct 2006 09:02:31 +0000 (09:02 -0000)]
last nail into error_msg() (de)capitalization

17 years agoAs usual, I forgot "svn del"...
Denis Vlasenko [Fri, 27 Oct 2006 07:17:36 +0000 (07:17 -0000)]
As usual, I forgot "svn del"...

17 years ago...and yet another small fix. Ouch...
Denis Vlasenko [Thu, 26 Oct 2006 23:39:04 +0000 (23:39 -0000)]
...and yet another small fix. Ouch...

17 years agoFix minor breakage in previous commit
Denis Vlasenko [Thu, 26 Oct 2006 23:32:43 +0000 (23:32 -0000)]
Fix minor breakage in previous commit

17 years agorename functions to more understandable names
Denis Vlasenko [Thu, 26 Oct 2006 23:25:17 +0000 (23:25 -0000)]
rename functions to more understandable names

17 years agoremove bb_printf and the like
Denis Vlasenko [Thu, 26 Oct 2006 23:21:47 +0000 (23:21 -0000)]
remove bb_printf and the like

17 years agoadd ipv6 developer doc
Denis Vlasenko [Thu, 26 Oct 2006 17:21:13 +0000 (17:21 -0000)]
add ipv6 developer doc

17 years agonslookup: make it more IPv6 friendly
Denis Vlasenko [Thu, 26 Oct 2006 17:17:59 +0000 (17:17 -0000)]
nslookup: make it more IPv6 friendly

17 years agomount: use switch (compare_string_array(..))
Denis Vlasenko [Thu, 26 Oct 2006 01:47:34 +0000 (01:47 -0000)]
mount: use switch (compare_string_array(..))
where appropriate, saves >100 bytes.

17 years agoxconnect is non-conforming to "xfunc like libc" rule. Fixing
Denis Vlasenko [Thu, 26 Oct 2006 01:09:46 +0000 (01:09 -0000)]
xconnect is non-conforming to "xfunc like libc" rule. Fixing

17 years agoip: "ip addr del" and "ip addr delete" both should work
Denis Vlasenko [Thu, 26 Oct 2006 00:38:22 +0000 (00:38 -0000)]
ip: "ip addr del" and "ip addr delete" both should work

17 years agosilly size savings and capitalization fixes
Denis Vlasenko [Thu, 26 Oct 2006 00:37:00 +0000 (00:37 -0000)]
silly size savings and capitalization fixes

17 years ago- revert r16191; re-add resize() applet.
Bernhard Reutner-Fischer [Wed, 25 Oct 2006 15:07:56 +0000 (15:07 -0000)]
- revert r16191; re-add resize() applet.
   text    data     bss     dec     hex filename
    288       0       0     288     120 console-tools/_resize.o.gcc-2.95
    258       0       0     258     102 console-tools/_resize.o.gcc-3.3
    252       0       0     252      fc console-tools/_resize.o.gcc-3.4

17 years agosed: mostly style fixes, very small changes in actual code
Denis Vlasenko [Wed, 25 Oct 2006 12:46:46 +0000 (12:46 -0000)]
sed: mostly style fixes, very small changes in actual code

17 years agouse skip_whitespace where appropriate
Denis Vlasenko [Wed, 25 Oct 2006 12:46:03 +0000 (12:46 -0000)]
use skip_whitespace where appropriate

17 years agowget: wget $'-\207' ... should not be allowed to work. ever. :)
Denis Vlasenko [Wed, 25 Oct 2006 00:33:44 +0000 (00:33 -0000)]
wget: wget $'-\207' ... should not be allowed to work. ever. :)
So fix wget & getopt32. Also fix multiple --header options
order: add and use rev_llist.

17 years agoPut up BusyBox 1.2.2 and get out of Denis' way. Also minor tweak to
Rob Landley [Tue, 24 Oct 2006 21:46:19 +0000 (21:46 -0000)]
Put up BusyBox 1.2.2 and get out of Denis' way.  Also minor tweak to
autodocifier.pl so USAGE_ macros that haven't been converted to USE_ yet
get correctly stripped out when generating BusyBox.html.

17 years ago- add nmeter and raidautorun to defconfig.
Bernhard Reutner-Fischer [Tue, 24 Oct 2006 20:07:29 +0000 (20:07 -0000)]
- add nmeter and raidautorun to defconfig.

17 years ago- we take exactly one argument.
Bernhard Reutner-Fischer [Tue, 24 Oct 2006 20:06:55 +0000 (20:06 -0000)]
- we take exactly one argument.

17 years agowget: -100 bytes, reduce stack usage, remove --header length limit
Denis Vlasenko [Mon, 23 Oct 2006 23:21:58 +0000 (23:21 -0000)]
wget: -100 bytes, reduce stack usage, remove --header length limit

17 years agowatch: fix warning
Denis Vlasenko [Mon, 23 Oct 2006 22:43:02 +0000 (22:43 -0000)]
watch: fix warning
getty: fix breakage; fix excessive stack usage

17 years agogetty: conditionally disable handling of all-caps terminals.
Denis Vlasenko [Mon, 23 Oct 2006 10:17:34 +0000 (10:17 -0000)]
getty: conditionally disable handling of all-caps terminals.

17 years agogetty: cleanup part 2
Denis Vlasenko [Mon, 23 Oct 2006 02:11:22 +0000 (02:11 -0000)]
getty: cleanup part 2

17 years agogetty: cleanup part 1
Denis Vlasenko [Mon, 23 Oct 2006 02:10:45 +0000 (02:10 -0000)]
getty: cleanup part 1

17 years ago__GLIBC__ -> defined(__GLIBC__)
Denis Vlasenko [Mon, 23 Oct 2006 00:42:24 +0000 (00:42 -0000)]
__GLIBC__ -> defined(__GLIBC__)

17 years agogrep: "grep -h pattern file1 file2" ignored -h
Denis Vlasenko [Sun, 22 Oct 2006 11:42:51 +0000 (11:42 -0000)]
grep: "grep -h pattern file1 file2" ignored -h
(precluded kernel's "make modules")

17 years agocp: update help text
Denis Vlasenko [Sun, 22 Oct 2006 10:05:01 +0000 (10:05 -0000)]
cp: update help text

17 years agocp: add support for -s, -l. Fix free(nonmalloc) bug.
Denis Vlasenko [Sat, 21 Oct 2006 23:40:20 +0000 (23:40 -0000)]
cp: add support for -s, -l. Fix free(nonmalloc) bug.
    Add doc on POSIX's rules on -i and -f (insane!).
ln: make "ln dangling_symlink new_link" work.

17 years agowatch: execute command thru shell, not fork/exec. Other fixes
Denis Vlasenko [Fri, 20 Oct 2006 23:48:30 +0000 (23:48 -0000)]
watch: execute command thru shell, not fork/exec. Other fixes

17 years agochpst: add overlooked copyright statement
Denis Vlasenko [Fri, 20 Oct 2006 19:40:44 +0000 (19:40 -0000)]
chpst: add overlooked copyright statement

17 years agoraidautorun: new applet, by:
Denis Vlasenko [Fri, 20 Oct 2006 19:39:48 +0000 (19:39 -0000)]
raidautorun: new applet, by:
Thomas Jarosch (email?) and
Bernhard Fischer <rep.nop@aon.at>

17 years agoreadlink: do not emit errors if file doesnt not exist / not a link
Denis Vlasenko [Fri, 20 Oct 2006 18:36:55 +0000 (18:36 -0000)]
readlink: do not emit errors if file doesnt not exist / not a link
getopt32: add =N support

17 years agoAdded compile-time warning for STATIC+GLIBC build
Denis Vlasenko [Fri, 20 Oct 2006 13:42:57 +0000 (13:42 -0000)]
Added compile-time warning for STATIC+GLIBC build

17 years agomessage string changes, mostly for consistency, also -32 bytes in .rodata
Denis Vlasenko [Fri, 20 Oct 2006 13:28:22 +0000 (13:28 -0000)]
message string changes, mostly for consistency, also -32 bytes in .rodata

17 years ago- remove duplicate flags (-funsigned-char -fno-builtin-strlen)
Bernhard Reutner-Fischer [Fri, 20 Oct 2006 12:21:17 +0000 (12:21 -0000)]
- remove duplicate flags (-funsigned-char -fno-builtin-strlen)

17 years agobuild system: (try to) get rid of bb_config.h hack
Denis Vlasenko [Thu, 19 Oct 2006 22:17:44 +0000 (22:17 -0000)]
build system: (try to) get rid of bb_config.h hack

17 years agobuild system: check for ENABLE_, USE_ and SKIP_ (not only for CONFIG_)
Denis Vlasenko [Thu, 19 Oct 2006 22:14:58 +0000 (22:14 -0000)]
build system: check for ENABLE_, USE_ and SKIP_ (not only for CONFIG_)

17 years agomove usage_compressed.h generation into applets/
Denis Vlasenko [Thu, 19 Oct 2006 22:12:47 +0000 (22:12 -0000)]
move usage_compressed.h generation into applets/

17 years agoapplets/applets.o must be rebuilt if usage.h is modified.
Denis Vlasenko [Thu, 19 Oct 2006 22:11:06 +0000 (22:11 -0000)]
applets/applets.o must be rebuilt if usage.h is modified.

17 years agoscripts/usage.c: de-uglify #includes
Denis Vlasenko [Thu, 19 Oct 2006 22:10:07 +0000 (22:10 -0000)]
scripts/usage.c: de-uglify #includes

17 years agoconsole-tools/resize.c is apparently leftover from a reverted patch.
Eric Andersen [Thu, 19 Oct 2006 22:02:29 +0000 (22:02 -0000)]
console-tools/resize.c is apparently leftover from a reverted patch.
Since it is a 0 length file, it gets nuked by 'make distclean' so
I suppose might as well kill it off properly.

17 years agomount: support user mounts if CONFIG_DESKTOP
Denis Vlasenko [Mon, 16 Oct 2006 22:39:51 +0000 (22:39 -0000)]
mount: support user mounts if CONFIG_DESKTOP

17 years agomdev: reduce excessive indentation
Denis Vlasenko [Mon, 16 Oct 2006 19:39:37 +0000 (19:39 -0000)]
mdev: reduce excessive indentation

17 years agostrip -> $(STRIP); fix "unused variable" warning
Denis Vlasenko [Mon, 16 Oct 2006 18:24:57 +0000 (18:24 -0000)]
strip -> $(STRIP); fix "unused variable" warning
(patch by Diekema, Jon (AGRE) <Jon.Diekema@smiths-aerospace.com>)

17 years agoash: fix segfault in ash.
Denis Vlasenko [Mon, 16 Oct 2006 01:33:16 +0000 (01:33 -0000)]
ash: fix segfault in ash.
patch by walter harms <wharms@bfs.de>

17 years agonc: fix 2 my own buglets, and few someone else's too.
Denis Vlasenko [Mon, 16 Oct 2006 01:10:28 +0000 (01:10 -0000)]
nc: fix 2 my own buglets, and few someone else's too.

17 years agogrep: -r didn't close files, producing "Too many open files"
Denis Vlasenko [Sun, 15 Oct 2006 18:38:01 +0000 (18:38 -0000)]
grep: -r didn't close files, producing "Too many open files"

17 years agotelnetd: check ptsname() for NULL
Denis Vlasenko [Sun, 15 Oct 2006 18:22:05 +0000 (18:22 -0000)]
telnetd: check ptsname() for NULL

17 years agowget: xatoi's were oversealous ("200 OK" isn't a number)
Denis Vlasenko [Sun, 15 Oct 2006 17:05:55 +0000 (17:05 -0000)]
wget: xatoi's were oversealous ("200 OK" isn't a number)

17 years agofdisk: compilation fix
Denis Vlasenko [Sat, 14 Oct 2006 16:16:03 +0000 (16:16 -0000)]
fdisk: compilation fix

17 years agogrep: fix combination of -r and -h
Denis Vlasenko [Sat, 14 Oct 2006 14:51:59 +0000 (14:51 -0000)]
grep: fix combination of -r and -h

17 years agogrep: add support for -r
Denis Vlasenko [Sat, 14 Oct 2006 14:24:30 +0000 (14:24 -0000)]
grep: add support for -r

17 years agosulogin: add support for $SUSHELL & $sushell
Denis Vlasenko [Sat, 14 Oct 2006 11:47:02 +0000 (11:47 -0000)]
sulogin: add support for $SUSHELL & $sushell

17 years agomodprobe: fix for 2.4 kernels - by
Denis Vlasenko [Sat, 14 Oct 2006 11:12:20 +0000 (11:12 -0000)]
modprobe: fix for 2.4 kernels - by
Yann E. MORIN <yann.morin.1998@anciens.enib.fr>

17 years agoadd open_read_close() and similar stuff
Denis Vlasenko [Sat, 14 Oct 2006 02:23:43 +0000 (02:23 -0000)]
add open_read_close() and similar stuff

17 years agoxread/write can use full_read/write (smaller code)
Denis Vlasenko [Thu, 12 Oct 2006 22:44:13 +0000 (22:44 -0000)]
xread/write can use full_read/write (smaller code)

17 years agobb_get_[chomped]line_from_file wasn't descriptive enough.
Denis Vlasenko [Thu, 12 Oct 2006 22:43:20 +0000 (22:43 -0000)]
bb_get_[chomped]line_from_file wasn't descriptive enough.
Renaming...

17 years agocut, mount: small improvements
Denis Vlasenko [Thu, 12 Oct 2006 22:42:33 +0000 (22:42 -0000)]
cut, mount: small improvements

17 years agostyle fixes
Denis Vlasenko [Thu, 12 Oct 2006 20:06:18 +0000 (20:06 -0000)]
style fixes

17 years agofdisk: separate sun/aix/etc code into #included files
Denis Vlasenko [Thu, 12 Oct 2006 19:30:44 +0000 (19:30 -0000)]
fdisk: separate sun/aix/etc code into #included files

17 years agosmall style fixes
Denis Vlasenko [Thu, 12 Oct 2006 19:29:44 +0000 (19:29 -0000)]
small style fixes

17 years agoexecable: no need to check getenv for NULL, it works anyway.
Denis Vlasenko [Thu, 12 Oct 2006 06:15:13 +0000 (06:15 -0000)]
execable: no need to check getenv for NULL, it works anyway.

17 years agoexecable.c: forgot to do "svn add" again...
Denis Vlasenko [Thu, 12 Oct 2006 06:12:11 +0000 (06:12 -0000)]
execable.c: forgot to do "svn add" again...

17 years agoifupdown: stop emitting annoying/misleading error messages.
Denis Vlasenko [Wed, 11 Oct 2006 22:16:56 +0000 (22:16 -0000)]
ifupdown: stop emitting annoying/misleading error messages.
Patch by Gabriel Somlo <somlo at cmu.edu>

17 years agohush.c: stop using __FILE__ (bad in out-of-tree builds)
Denis Vlasenko [Wed, 11 Oct 2006 21:38:33 +0000 (21:38 -0000)]
hush.c: stop using __FILE__ (bad in out-of-tree builds)

17 years agobuild system: fix build in separate obj tree
Denis Vlasenko [Wed, 11 Oct 2006 21:24:42 +0000 (21:24 -0000)]
build system: fix build in separate obj tree

17 years agonmeter: new applet. ~4k
Denis Vlasenko [Wed, 11 Oct 2006 20:59:02 +0000 (20:59 -0000)]
nmeter: new applet. ~4k
Fix build proble on x86_64

17 years agood: provide full-blown od from coreutils if CONFIG_DESKTOP
Denis Vlasenko [Tue, 10 Oct 2006 23:26:05 +0000 (23:26 -0000)]
od: provide full-blown od from coreutils if CONFIG_DESKTOP

17 years agofixes from Vladimir Dronnikov <dronnikov@gmail.ru>
Denis Vlasenko [Tue, 10 Oct 2006 21:00:47 +0000 (21:00 -0000)]
fixes from Vladimir Dronnikov <dronnikov@gmail.ru>

17 years ago- add option -t
Bernhard Reutner-Fischer [Tue, 10 Oct 2006 15:28:41 +0000 (15:28 -0000)]
- add option -t
  mkinitrd and mkinitramfs both require -t.

17 years agobuild system: fix for non-i386 builds
Denis Vlasenko [Mon, 9 Oct 2006 19:47:38 +0000 (19:47 -0000)]
build system: fix for non-i386 builds

17 years agostart_stop_daemon: add -N <nice> compat
Denis Vlasenko [Sun, 8 Oct 2006 23:36:17 +0000 (23:36 -0000)]
start_stop_daemon: add -N <nice> compat
[re]nice: add support for -nNNN w/o spaces, -NNN (nice only),
          simplified code

17 years agocorrect largefile support, add comments about it.
Denis Vlasenko [Sun, 8 Oct 2006 17:54:47 +0000 (17:54 -0000)]
correct largefile support, add comments about it.

17 years agoattempt to regularize atoi mess.
Denis Vlasenko [Sun, 8 Oct 2006 12:49:22 +0000 (12:49 -0000)]
attempt to regularize atoi mess.