Rob Landley
176f2df69b
Patch from Erik Hovland, via Tito.
2006-06-08 14:19:48 +00:00
Rob Landley
9c6f9552ec
Some day, maybe gcc will be able to optimize out static functions that are
...
never used so we don't have to #ifdef them. Wouldn't that be nice?
2006-06-08 14:11:36 +00:00
Mike Frysinger
2e7dfc179c
need prototype for new vfork_daemon()
2006-06-07 21:58:57 +00:00
Mike Frysinger
9be7435203
initial support for no-mmu systems
2006-06-07 21:48:43 +00:00
Mike Frysinger
6fb5847faf
sometimes daemonizing and vfork()/exit() is ok
2006-06-07 21:48:30 +00:00
Mike Frysinger
ca70774293
bb_xdaemon() isnt available on no-mmu systems
2006-06-07 21:47:34 +00:00
Mike Frysinger
373af43bb0
comment all fields
2006-06-07 21:37:59 +00:00
Mike Frysinger
2fc534f3f1
hint at where the Magic comes from
2006-06-07 21:37:49 +00:00
Bernhard Reutner-Fischer
f915a77386
- do away with the comment that noted that the current implementation
...
unly supports linux.
2006-06-07 21:26:09 +00:00
Rob Landley
6d8ce170b0
Fix from Tito to read from stdin only when it's not a tty.
2006-06-07 21:22:42 +00:00
Bernhard Reutner-Fischer
5929edc1fa
- spelling
2006-06-07 20:30:01 +00:00
Mike Frysinger
301ad67912
add reference to proc(5)
2006-06-07 20:24:34 +00:00
Bernhard Reutner-Fischer
19008b8373
- reuse strings and messages. Saves about 600B
2006-06-07 20:17:41 +00:00
Rob Landley
4c5ad2fc90
Consolidate devfs garbage and mark it as obsolete.
2006-06-07 20:11:53 +00:00
Mike Frysinger
830d258dee
use bb_xbind/bb_xlisten
2006-06-07 20:06:24 +00:00
Mike Frysinger
828d6bb3bc
whitespace
2006-06-07 20:04:13 +00:00
Mike Frysinger
62a2c15376
whitespace
2006-06-07 20:03:13 +00:00
Mike Frysinger
e3fdf2431a
add a --noclobber flag
2006-06-07 18:12:27 +00:00
Mike Frysinger
81514ecca3
add support for cleaning out previous busybox install
2006-06-07 18:08:25 +00:00
Mike Frysinger
74b29a107f
dont install emtpy libdirs
2006-06-07 17:27:46 +00:00
Mike Frysinger
55b12105b5
dont mix tabs and spaces, kthx
2006-06-07 17:24:29 +00:00
Mike Frysinger
bc6584977a
remove cvs $Id tag
2006-06-07 16:31:05 +00:00
Bernhard Reutner-Fischer
16d3e4e0af
- add applet taskset to set/retrieve the CPU affinity of a process
...
text data bss dec hex filename
584 0 0 584 248 taskset.o.gcc-2.95
509 0 0 509 1fd taskset.o.gcc-3.3
505 0 0 505 1f9 taskset.o.gcc-3.4
506 0 0 506 1fa taskset.o.gcc-4.0
498 0 0 498 1f2 taskset.o.gcc-4.1
495 0 0 495 1ef taskset.o.gcc-4.2-HEAD
2006-06-07 15:44:59 +00:00
Mike Frysinger
ea93f8a397
Tito writes: this patch fixes two potential bugs with the -i -I flags that could be reset during option parsing
2006-06-07 14:25:22 +00:00
Bernhard Reutner-Fischer
e0387a6ee8
- fix the build if we have ftpput without ftpget (speeling reeoe)
...
Thanks to Stephane Billiart
2006-06-07 13:31:59 +00:00
Rob Landley
0753f4a15e
Callers to identify() converted the endianness of the buffer. So did
...
identify(). This meant big endian systems had a NUXI problem. Removed
the redundant conversion from the callers, and made some in-passing cleanups
while I was there.
2006-06-07 00:27:25 +00:00
Rob Landley
eb29d6ce6a
Remove a config entry that leaked in from my tree before I decided to
...
implement cat -v as a separate applet.
2006-06-06 22:59:37 +00:00
Rob Landley
c44ab02f15
Whack the one last warning in make allbareconfig...
2006-06-06 19:50:16 +00:00
Mike Frysinger
280dae74b0
import support for microblaze relocations from uClinux-dist
2006-06-06 06:30:32 +00:00
Mike Frysinger
2a13175440
make the default prompt suck less when using fancy prompts
2006-06-06 06:26:12 +00:00
Mike Frysinger
75c6b7962d
fix from uClinux-dist for proper exit status if reading /proc/modules failed
2006-06-06 06:19:19 +00:00
Mike Frysinger
b306cb767f
merge blackfin/microblaze from uClinux-dist
2006-06-06 06:15:52 +00:00
Mike Frysinger
8e640a1043
use vfork() instead of vork() since the only thing we do is execve() an app after fork (allows time to work on no-mmu)
2006-06-06 06:08:34 +00:00
Mike Frysinger
b16b5bb08f
only check __GNU_LIBRARY__ if it is actually defined
2006-06-06 06:00:20 +00:00
Rob Landley
362dc2bf33
Header cleanup on two more networking files (move libbb.h to the top and
...
remove #includes that libbb.h already does), plus a minor cleanup of
libbb.h to move #includes towards the top of the file where we can see 'em.
2006-06-05 17:35:24 +00:00
Rob Landley
12d87550a3
Confirming it's not needed.
2006-06-05 17:32:44 +00:00
Bernhard Reutner-Fischer
bc291dc731
- add note about need to unify the 4 itoa() implementations.
2006-06-05 16:00:12 +00:00
Bernhard Reutner-Fischer
1e34731a6a
- add testcase for grep bug ( http://busybox.net/bugs/view.php?id=887 )
...
The patch for bug #887 seems to work for me..
2006-06-04 18:40:48 +00:00
Bernhard Reutner-Fischer
213cc00445
- add note about ingroup and is_a_group_member
2006-06-04 17:58:19 +00:00
Bernhard Reutner-Fischer
863073da08
- add note about removing superfluous fmt specifiers
2006-06-04 16:05:02 +00:00
Bernhard Reutner-Fischer
395010b1f0
- note to cleanup fprintf(2,...) -> bb_error_msg(...) and
...
perror("bar") -> bb_perror_msg("bar");
2006-06-04 15:37:59 +00:00
Bernhard Reutner-Fischer
1b9d7c9aa9
- use bb_msg_{read,write}_error where appropriate.
...
text data bss dec hex filename
825015 9100 645216 1479331 1692a3 busybox.old
824919 9100 645216 1479235 169243 busybox
2006-06-03 22:45:37 +00:00
Bernhard Reutner-Fischer
a3d4bf38b0
- use bb functions instead of handrolling stuff.
...
- add XXX question about supposedly superfluous else clause
text data bss dec hex filename
5918 0 0 5918 171e editors/sed.o.orig
5901 0 0 5901 170d editors/sed.o
2006-06-03 21:40:11 +00:00
Rob Landley
e84f4343b2
Remove #ifdeffed out code, both KEEP_UNUSED and #if 0.
2006-06-03 21:23:20 +00:00
Bernhard Reutner-Fischer
5084c78cbe
- remove superfluous call of stack_machine(0) upon exit.
2006-06-03 21:19:09 +00:00
Bernhard Reutner-Fischer
5f6d67b7d6
- no need to have timer_duration in the data section.
...
- cleanup a little bit while at it.
2006-06-03 20:53:18 +00:00
Bernhard Reutner-Fischer
b1312c9125
- use bb_msg_write_error in 3 places
...
- whitespace
2006-06-03 20:09:02 +00:00
Bernhard Reutner-Fischer
c89982dcd7
- move #include busybox.h to the very top so we pull in the config
...
and eventual platform specific includes in early.
2006-06-03 19:49:21 +00:00
Bernhard Reutner-Fischer
deda6a5c0d
- move #include busybox.h to the very top so we pull in the config
...
and eventual platform specific includes in early.
- remove two supposedly superfluous newlines from ...error_msg() in modprobe
and use shorter boilerplate while at it.
2006-06-03 19:35:15 +00:00
Bernhard Reutner-Fischer
2c351a8f98
- patch from Yann E. Morin: makes modprobe understand shell patterns
...
(especially '*') in module aliases, such as:
"alias usb:v0582p0075d*dc*dsc*dp*ic*isc*ip* snd_usb_audio"
Fixes bug #889
842162 10244 645924 1498330 16dcda busybox.old-4.1.20060603-1948
842178 10244 645924 1498346 16dcea busybox.new-4.1.20060603-1948
2006-06-03 19:08:49 +00:00