platform/upstream/busybox.git
18 years agoDon't do workarounds for broken shells. Busybox is about to grow a shell that
Rob Landley [Thu, 15 Jun 2006 20:07:57 +0000 (20:07 -0000)]
Don't do workarounds for broken shells.  Busybox is about to grow a shell that
we can run our own testsuite under, and I want it to handle the full range of
strange and peverted behavior you can find in real world shell scripts.
In the meantime, I'll just say #!/bin/bash in places that may care.

18 years agoJens Michaelsen pointed out that Linksys' firmware download side moved.
Rob Landley [Thu, 15 Jun 2006 17:34:57 +0000 (17:34 -0000)]
Jens Michaelsen pointed out that Linksys' firmware download side moved.

18 years agoWe came up with our own names for ATTRIBUTE_*, so why check if they're already
Rob Landley [Thu, 15 Jun 2006 16:00:42 +0000 (16:00 -0000)]
We came up with our own names for ATTRIBUTE_*, so why check if they're already
#defined?  Also remove a check for a gcc version older than RH9 (if non-linux
needs that #define they can put it in their section.)

18 years agoPatch from Yann Morin to put BLKGETSIZE64 in platform.h had rather a lot of
Rob Landley [Thu, 15 Jun 2006 15:49:36 +0000 (15:49 -0000)]
Patch from Yann Morin to put BLKGETSIZE64 in platform.h had rather a lot of
fallout due to the #include <sys/mount.h>.  Removed that #include from various
applets and fixed up those that were unhappy when that #include was made
because they'd block copied stuff out of it.  (Sigh.)

18 years agoHelp text update for libbb, talking about make standalone.
Rob Landley [Thu, 15 Jun 2006 15:04:53 +0000 (15:04 -0000)]
Help text update for libbb, talking about make standalone.

18 years ago- there is no "CONFIG_STANDALONE" in the repository. Also iff there was a
Bernhard Reutner-Fischer [Wed, 14 Jun 2006 17:33:57 +0000 (17:33 -0000)]
- there is no "CONFIG_STANDALONE" in the repository. Also iff there was a
  CONFIG_STANDALONE, we'd need to toggle this on per default.

18 years ago- rename CONFIG_FEATURE_TFTP_DEBUG to CONFIG_DEBUG_TFTP
Bernhard Reutner-Fischer [Wed, 14 Jun 2006 17:32:11 +0000 (17:32 -0000)]
- rename CONFIG_FEATURE_TFTP_DEBUG to CONFIG_DEBUG_TFTP

18 years ago- rename CONFIG_FEATURE_TFTP_DEBUG to CONFIG_DEBUG_TFTP so it's off in defconfig
Bernhard Reutner-Fischer [Wed, 14 Jun 2006 17:29:10 +0000 (17:29 -0000)]
- rename CONFIG_FEATURE_TFTP_DEBUG to CONFIG_DEBUG_TFTP so it's off in defconfig
- expand the cmd_get/cmd_put macros
- Jason Schoon writes: unlink only if non-stdio

18 years ago- correct typo
Bernhard Reutner-Fischer [Wed, 14 Jun 2006 16:51:50 +0000 (16:51 -0000)]
- correct typo

18 years ago- minor size tweak
Bernhard Reutner-Fischer [Wed, 14 Jun 2006 16:36:45 +0000 (16:36 -0000)]
- minor size tweak
   text    data     bss     dec     hex filename
    613       0       0     613     265 loginutils/su.o.orig
    605       0       0     605     25d loginutils/su.o

18 years ago- minor shrinkage
Bernhard Reutner-Fischer [Wed, 14 Jun 2006 16:17:50 +0000 (16:17 -0000)]
- minor shrinkage

18 years agoAttempt at fixing bug 836, vaguely based on patch from somebody named
Rob Landley [Wed, 14 Jun 2006 01:51:16 +0000 (01:51 -0000)]
Attempt at fixing bug 836, vaguely based on patch from somebody named
clausmuus, forwarded to me by Yann E. Morin.

18 years agoUpgrade the standalone shell code to use CONFIG_BUSYBOX_EXEC_PATH.
Rob Landley [Wed, 14 Jun 2006 01:27:01 +0000 (01:27 -0000)]
Upgrade the standalone shell code to use CONFIG_BUSYBOX_EXEC_PATH.

18 years agoAttempt at fixing bug 815 by upgrading bb_spawn() so that builtins are at
Rob Landley [Wed, 14 Jun 2006 01:24:33 +0000 (01:24 -0000)]
Attempt at fixing bug 815 by upgrading bb_spawn() so that builtins are at
the start of the path.  (This should be under the same config option as
the standalone shell, but right now that's buried in the shell menu.)

Also add the ability to specify CONFIG_BUSYBOX_EXEC_PATH with /proc/self/exe
as an overrideable default.

18 years agoDon't break allbareconfig.
Rob Landley [Tue, 13 Jun 2006 21:30:09 +0000 (21:30 -0000)]
Don't break allbareconfig.

18 years agoPatch from Shaun Jackman to detect "name=value" variable assignments. Random
Rob Landley [Tue, 13 Jun 2006 19:01:30 +0000 (19:01 -0000)]
Patch from Shaun Jackman to detect "name=value" variable assignments.  Random
cleanup at the end by me to make some unrelated #ifdefs go away...

18 years agoMake lash smaller. (Use llist_t for file closing, and different allocation
Rob Landley [Tue, 13 Jun 2006 18:50:20 +0000 (18:50 -0000)]
Make lash smaller.  (Use llist_t for file closing, and different allocation
functions.)

18 years agoRewrite of dmesg, smaller and simpler.
Rob Landley [Tue, 13 Jun 2006 18:31:04 +0000 (18:31 -0000)]
Rewrite of dmesg, smaller and simpler.

18 years agoRandom cleanup of platform.h.
Rob Landley [Tue, 13 Jun 2006 18:28:33 +0000 (18:28 -0000)]
Random cleanup of platform.h.

18 years agoWork around a persistent uClibc bug, since 0.9.29 still hasn't shipped.
Rob Landley [Tue, 13 Jun 2006 18:27:16 +0000 (18:27 -0000)]
Work around a persistent uClibc bug, since 0.9.29 still hasn't shipped.
Poked to do this by Jason Schoon.

18 years agoPatch from Denis Vlasenko:
Rob Landley [Tue, 13 Jun 2006 17:10:26 +0000 (17:10 -0000)]
Patch from Denis Vlasenko:
* Rename a var: statbytes -> transferred
* cursize == transferred, always. Nuke cursize.
* Make progressmeter() a nop if !CONFIG_FEATURE_WGET_STATUSBAR
  (reduces #ifdef forest)
* double elapsed -> int elapsed
* Do not sprintf to buf first and then write(STDERR) it,
  just fprintf directly to stderr
* Progress bar printing code made smaller
* Style fixes

18 years agoWhitespace cleanup from Denis Vlasenko.
Rob Landley [Tue, 13 Jun 2006 16:44:26 +0000 (16:44 -0000)]
Whitespace cleanup from Denis Vlasenko.

18 years agoUse -ffunction-sections -fdata-sections --gc-sections if the compiler supports
Rob Landley [Tue, 13 Jun 2006 16:17:16 +0000 (16:17 -0000)]
Use -ffunction-sections -fdata-sections --gc-sections if the compiler supports
it.  If nothing else, this gives us better granularity in bloatcheck.

18 years agoUse xstat() instead of if(stat()) die()
Rob Landley [Tue, 13 Jun 2006 16:09:16 +0000 (16:09 -0000)]
Use xstat() instead of if(stat()) die()

18 years agoPatch from Denis Vlasenko, tweak error messages.
Rob Landley [Tue, 13 Jun 2006 15:31:39 +0000 (15:31 -0000)]
Patch from Denis Vlasenko, tweak error messages.

18 years agoMinor size shrinkage.
Rob Landley [Tue, 13 Jun 2006 15:12:14 +0000 (15:12 -0000)]
Minor size shrinkage.

18 years agoPatch from Denis Vlasenko: unlzma was make files with mode 777. Tweak
Rob Landley [Tue, 13 Jun 2006 14:54:42 +0000 (14:54 -0000)]
Patch from Denis Vlasenko: unlzma was make files with mode 777.  Tweak
everything to do stat() and use xopen3().

18 years agoFix from Paul Fox to make compressed help text notice config changes.
Rob Landley [Tue, 13 Jun 2006 14:37:14 +0000 (14:37 -0000)]
Fix from Paul Fox to make compressed help text notice config changes.

18 years ago- make VERBOSE= and V= work equally; use BUILD_VERBOSE internally.
Bernhard Reutner-Fischer [Tue, 13 Jun 2006 14:20:17 +0000 (14:20 -0000)]
- make VERBOSE= and V= work equally; use BUILD_VERBOSE internally.
- move the link flags to cmd_link* so they are printed when requesting verbose output

18 years ago- fix stupid typo from last checkin
Bernhard Reutner-Fischer [Mon, 12 Jun 2006 14:34:01 +0000 (14:34 -0000)]
- fix stupid typo from last checkin

18 years ago- remove superfluous CONFIG_BEGIN and CONFIG_END
Bernhard Reutner-Fischer [Sun, 11 Jun 2006 18:04:23 +0000 (18:04 -0000)]
- remove superfluous CONFIG_BEGIN and CONFIG_END

18 years ago- add fancy mode to start-stop-daemon to support --oknodo and --verbose
Bernhard Reutner-Fischer [Sun, 11 Jun 2006 17:24:01 +0000 (17:24 -0000)]
- add fancy mode to start-stop-daemon to support --oknodo and --verbose

18 years ago- invert logic for nocheck_targets to exclude the empty default target.
Bernhard Reutner-Fischer [Sun, 11 Jun 2006 16:41:10 +0000 (16:41 -0000)]
- invert logic for nocheck_targets to exclude the empty default target.

18 years ago- don't check for toolchain-setting for make targets that don't need them
Bernhard Reutner-Fischer [Sat, 10 Jun 2006 14:58:33 +0000 (14:58 -0000)]
- don't check for toolchain-setting for make targets that don't need them
- we already depend on sed, so do away with tr. Avoids pulling in yet another
  dependency.

18 years ago- revert incorrect select change
Bernhard Reutner-Fischer [Sat, 10 Jun 2006 14:32:56 +0000 (14:32 -0000)]
- revert incorrect select change

18 years ago- fix two segfaults (reported by Horst Kronstorfer)
Bernhard Reutner-Fischer [Sat, 10 Jun 2006 14:15:03 +0000 (14:15 -0000)]
- fix two segfaults (reported by Horst Kronstorfer)
- remove dangling file if get fails (spotted and fixed by Jason Schoon)
- shrink it (Bernhard Fischer)
Thanks, all!
   text    data     bss     dec     hex filename
   2684       0       0    2684     a7c networking/tftp.o.orig
   2748       0       0    2748     abc networking/tftp.o.allfixed
   2666       0       0    2666     a6a networking/tftp.o.+shrink

18 years ago- use bb_xbind
Bernhard Reutner-Fischer [Sat, 10 Jun 2006 11:39:09 +0000 (11:39 -0000)]
- use bb_xbind
  Thanks Erik Hovland

18 years ago- use bb_xchdir instead of ignoring eventual errors of chdir
Bernhard Reutner-Fischer [Sat, 10 Jun 2006 11:29:44 +0000 (11:29 -0000)]
- use bb_xchdir instead of ignoring eventual errors of chdir
  Thanks to Erik Hovland

18 years ago- fix bug #887, in bb_get_chomped_line_from_file(), the last char was removed
Bernhard Reutner-Fischer [Sat, 10 Jun 2006 11:04:43 +0000 (11:04 -0000)]
- fix bug #887, in bb_get_chomped_line_from_file(), the last char was removed
  unconditionally, even if it was not a newline.
  This was apparently broken by r14254
- whitespace while at it.

18 years agoadd ordering warning on enum Location
Paul Fox [Fri, 9 Jun 2006 12:25:10 +0000 (12:25 -0000)]
add ordering warning on enum Location

18 years ago- make sure that we see string_insert only if we need it.
Bernhard Reutner-Fischer [Fri, 9 Jun 2006 07:12:27 +0000 (07:12 -0000)]
- make sure that we see string_insert only if we need it.

18 years agoremove leading "Enable" from the config option text. not only is it
Paul Fox [Thu, 8 Jun 2006 21:48:47 +0000 (21:48 -0000)]
remove leading "Enable" from the config option text.  not only is it
redundant, but it made the menuconfig shortcut mechanism mostly
useless, since so many of the entries started with 'E'.

18 years agomade "test" an ash built-in.
Paul Fox [Thu, 8 Jun 2006 21:37:26 +0000 (21:37 -0000)]
made "test" an ash built-in.

moved the contents of libbb/bb_echo.c back into coreutils/echo.c,
which is a more reasonable place for them than libbb.  this
forces anyone who wants echo and test to be builtin to ash to
also have them available as applets.  their cost is very small,
and the number of people who wouldn't want them as applets is
also very small.

added warning about shell builtins vs. CONFIG_FEATURE_SH_STANDALONE_SHELL,
which conflicts with their use.

thanks to nathanael copa for debugging help.

some string size optimization in test.c may have been lost with
this commit, but this is a good new baseline.

18 years agoPatch from Erik Hovland, via Tito.
Rob Landley [Thu, 8 Jun 2006 14:19:48 +0000 (14:19 -0000)]
Patch from Erik Hovland, via Tito.

18 years agoSome day, maybe gcc will be able to optimize out static functions that are
Rob Landley [Thu, 8 Jun 2006 14:11:36 +0000 (14:11 -0000)]
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?

18 years agoneed prototype for new vfork_daemon()
Mike Frysinger [Wed, 7 Jun 2006 21:58:57 +0000 (21:58 -0000)]
need prototype for new vfork_daemon()

18 years agoinitial support for no-mmu systems
Mike Frysinger [Wed, 7 Jun 2006 21:48:43 +0000 (21:48 -0000)]
initial support for no-mmu systems

18 years agosometimes daemonizing and vfork()/exit() is ok
Mike Frysinger [Wed, 7 Jun 2006 21:48:30 +0000 (21:48 -0000)]
sometimes daemonizing and vfork()/exit() is ok

18 years agobb_xdaemon() isnt available on no-mmu systems
Mike Frysinger [Wed, 7 Jun 2006 21:47:34 +0000 (21:47 -0000)]
bb_xdaemon() isnt available on no-mmu systems

18 years agocomment all fields
Mike Frysinger [Wed, 7 Jun 2006 21:37:59 +0000 (21:37 -0000)]
comment all fields

18 years agohint at where the Magic comes from
Mike Frysinger [Wed, 7 Jun 2006 21:37:49 +0000 (21:37 -0000)]
hint at where the Magic comes from

18 years ago- do away with the comment that noted that the current implementation
Bernhard Reutner-Fischer [Wed, 7 Jun 2006 21:26:09 +0000 (21:26 -0000)]
- do away with the comment that noted that the current implementation
  unly supports linux.

18 years agoFix from Tito to read from stdin only when it's not a tty.
Rob Landley [Wed, 7 Jun 2006 21:22:42 +0000 (21:22 -0000)]
Fix from Tito to read from stdin only when it's not a tty.

18 years ago- spelling
Bernhard Reutner-Fischer [Wed, 7 Jun 2006 20:30:01 +0000 (20:30 -0000)]
- spelling

18 years agoadd reference to proc(5)
Mike Frysinger [Wed, 7 Jun 2006 20:24:34 +0000 (20:24 -0000)]
add reference to proc(5)

18 years ago- reuse strings and messages. Saves about 600B
Bernhard Reutner-Fischer [Wed, 7 Jun 2006 20:17:41 +0000 (20:17 -0000)]
- reuse strings and messages. Saves about 600B

18 years agoConsolidate devfs garbage and mark it as obsolete.
Rob Landley [Wed, 7 Jun 2006 20:11:53 +0000 (20:11 -0000)]
Consolidate devfs garbage and mark it as obsolete.

18 years agouse bb_xbind/bb_xlisten
Mike Frysinger [Wed, 7 Jun 2006 20:06:24 +0000 (20:06 -0000)]
use bb_xbind/bb_xlisten

18 years agowhitespace
Mike Frysinger [Wed, 7 Jun 2006 20:04:13 +0000 (20:04 -0000)]
whitespace

18 years agowhitespace
Mike Frysinger [Wed, 7 Jun 2006 20:03:13 +0000 (20:03 -0000)]
whitespace

18 years agoadd a --noclobber flag
Mike Frysinger [Wed, 7 Jun 2006 18:12:27 +0000 (18:12 -0000)]
add a --noclobber flag

18 years agoadd support for cleaning out previous busybox install
Mike Frysinger [Wed, 7 Jun 2006 18:08:25 +0000 (18:08 -0000)]
add support for cleaning out previous busybox install

18 years agodont install emtpy libdirs
Mike Frysinger [Wed, 7 Jun 2006 17:27:46 +0000 (17:27 -0000)]
dont install emtpy libdirs

18 years agodont mix tabs and spaces, kthx
Mike Frysinger [Wed, 7 Jun 2006 17:24:29 +0000 (17:24 -0000)]
dont mix tabs and spaces, kthx

18 years agoremove cvs $Id tag
Mike Frysinger [Wed, 7 Jun 2006 16:31:05 +0000 (16:31 -0000)]
remove cvs $Id tag

18 years ago- add applet taskset to set/retrieve the CPU affinity of a process
Bernhard Reutner-Fischer [Wed, 7 Jun 2006 15:44:59 +0000 (15:44 -0000)]
- 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

18 years agoTito writes: this patch fixes two potential bugs with the -i -I flags that could...
Mike Frysinger [Wed, 7 Jun 2006 14:25:22 +0000 (14:25 -0000)]
Tito writes: this patch fixes two potential bugs with the -i -I flags that could be reset during option parsing

18 years ago- fix the build if we have ftpput without ftpget (speeling reeoe)
Bernhard Reutner-Fischer [Wed, 7 Jun 2006 13:31:59 +0000 (13:31 -0000)]
- fix the build if we have ftpput without ftpget (speeling reeoe)
  Thanks to Stephane Billiart

18 years agoCallers to identify() converted the endianness of the buffer. So did
Rob Landley [Wed, 7 Jun 2006 00:27:25 +0000 (00:27 -0000)]
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.

18 years agoRemove a config entry that leaked in from my tree before I decided to
Rob Landley [Tue, 6 Jun 2006 22:59:37 +0000 (22:59 -0000)]
Remove a config entry that leaked in from my tree before I decided to
implement cat -v as a separate applet.

18 years agoWhack the one last warning in make allbareconfig...
Rob Landley [Tue, 6 Jun 2006 19:50:16 +0000 (19:50 -0000)]
Whack the one last warning in make allbareconfig...

18 years agoimport support for microblaze relocations from uClinux-dist
Mike Frysinger [Tue, 6 Jun 2006 06:30:32 +0000 (06:30 -0000)]
import support for microblaze relocations from uClinux-dist

18 years agomake the default prompt suck less when using fancy prompts
Mike Frysinger [Tue, 6 Jun 2006 06:26:12 +0000 (06:26 -0000)]
make the default prompt suck less when using fancy prompts

18 years agofix from uClinux-dist for proper exit status if reading /proc/modules failed
Mike Frysinger [Tue, 6 Jun 2006 06:19:19 +0000 (06:19 -0000)]
fix from uClinux-dist for proper exit status if reading /proc/modules failed

18 years agomerge blackfin/microblaze from uClinux-dist
Mike Frysinger [Tue, 6 Jun 2006 06:15:52 +0000 (06:15 -0000)]
merge blackfin/microblaze from uClinux-dist

18 years agouse vfork() instead of vork() since the only thing we do is execve() an app after...
Mike Frysinger [Tue, 6 Jun 2006 06:08:34 +0000 (06:08 -0000)]
use vfork() instead of vork() since the only thing we do is execve() an app after fork (allows time to work on no-mmu)

18 years agoonly check __GNU_LIBRARY__ if it is actually defined
Mike Frysinger [Tue, 6 Jun 2006 06:00:20 +0000 (06:00 -0000)]
only check __GNU_LIBRARY__ if it is actually defined

18 years agoHeader cleanup on two more networking files (move libbb.h to the top and
Rob Landley [Mon, 5 Jun 2006 17:35:24 +0000 (17:35 -0000)]
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.

18 years agoConfirming it's not needed.
Rob Landley [Mon, 5 Jun 2006 17:32:44 +0000 (17:32 -0000)]
Confirming it's not needed.

18 years ago- add note about need to unify the 4 itoa() implementations.
Bernhard Reutner-Fischer [Mon, 5 Jun 2006 16:00:12 +0000 (16:00 -0000)]
- add note about need to unify the 4 itoa() implementations.

18 years ago- add testcase for grep bug (http://busybox.net/bugs/view.php?id=887)
Bernhard Reutner-Fischer [Sun, 4 Jun 2006 18:40:48 +0000 (18:40 -0000)]
- add testcase for grep bug (busybox.net/bugs/view.php?id=887)
  The patch for bug #887 seems to work for me..

18 years ago- add note about ingroup and is_a_group_member
Bernhard Reutner-Fischer [Sun, 4 Jun 2006 17:58:19 +0000 (17:58 -0000)]
- add note about ingroup and is_a_group_member

18 years ago- add note about removing superfluous fmt specifiers
Bernhard Reutner-Fischer [Sun, 4 Jun 2006 16:05:02 +0000 (16:05 -0000)]
- add note about removing superfluous fmt specifiers

18 years ago- note to cleanup fprintf(2,...) -> bb_error_msg(...) and
Bernhard Reutner-Fischer [Sun, 4 Jun 2006 15:37:59 +0000 (15:37 -0000)]
- note to cleanup fprintf(2,...) -> bb_error_msg(...) and
  perror("bar") -> bb_perror_msg("bar");

18 years ago- use bb_msg_{read,write}_error where appropriate.
Bernhard Reutner-Fischer [Sat, 3 Jun 2006 22:45:37 +0000 (22:45 -0000)]
- 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

18 years ago- use bb functions instead of handrolling stuff.
Bernhard Reutner-Fischer [Sat, 3 Jun 2006 21:40:11 +0000 (21:40 -0000)]
- 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

18 years agoRemove #ifdeffed out code, both KEEP_UNUSED and #if 0.
Rob Landley [Sat, 3 Jun 2006 21:23:20 +0000 (21:23 -0000)]
Remove #ifdeffed out code, both KEEP_UNUSED and #if 0.

18 years ago- remove superfluous call of stack_machine(0) upon exit.
Bernhard Reutner-Fischer [Sat, 3 Jun 2006 21:19:09 +0000 (21:19 -0000)]
- remove superfluous call of stack_machine(0) upon exit.

18 years ago- no need to have timer_duration in the data section.
Bernhard Reutner-Fischer [Sat, 3 Jun 2006 20:53:18 +0000 (20:53 -0000)]
- no need to have timer_duration in the data section.
- cleanup a little bit while at it.

18 years ago- use bb_msg_write_error in 3 places
Bernhard Reutner-Fischer [Sat, 3 Jun 2006 20:09:02 +0000 (20:09 -0000)]
- use bb_msg_write_error in 3 places
- whitespace

18 years ago- move #include busybox.h to the very top so we pull in the config
Bernhard Reutner-Fischer [Sat, 3 Jun 2006 19:49:21 +0000 (19:49 -0000)]
- move #include busybox.h to the very top so we pull in the config
  and eventual platform specific includes in early.

18 years ago- move #include busybox.h to the very top so we pull in the config
Bernhard Reutner-Fischer [Sat, 3 Jun 2006 19:35:15 +0000 (19:35 -0000)]
- 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.

18 years ago- patch from Yann E. Morin: makes modprobe understand shell patterns
Bernhard Reutner-Fischer [Sat, 3 Jun 2006 19:08:49 +0000 (19:08 -0000)]
- 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

18 years ago2006-06-02 Shaun Jackman <sjackman@gmail.com>
Bernhard Reutner-Fischer [Sat, 3 Jun 2006 10:28:25 +0000 (10:28 -0000)]
2006-06-02  Shaun Jackman  <sjackman@gmail.com>

* shell/lash.c (pseudo_exec) [_NEWLIB_VERSION]: Remove the
__getopt_initialized hackery.

18 years ago- No options should set the current system time.
Bernhard Reutner-Fischer [Sat, 3 Jun 2006 10:24:20 +0000 (10:24 -0000)]
- No options should set the current system time.
Shaun Jackman writes:
A bug introduced in svn 11946 broke rdate. It no longer sets the
current system time when no options are specified. The options have
the opposite sense from what one might think, and, oddly enough, -ps
is intentionally a no-op.

Quoth rdate(8) from the BSD System Manager's Manual:

    -p      Do not set, just print the remote time
    -s      Do not print the time.

18 years agoPatch from Atsushi Nemoto:
Rob Landley [Fri, 2 Jun 2006 21:30:40 +0000 (21:30 -0000)]
Patch from Atsushi Nemoto:
This patch make depmod.pl more robust in cross environment.  If native
nm did not recognize target's object, you can override it with NM
environment variable.

18 years ago- move #include busybox.h to the very top so we pull in the config
Bernhard Reutner-Fischer [Fri, 2 Jun 2006 20:56:16 +0000 (20:56 -0000)]
- move #include busybox.h to the very top so we pull in the config
  and eventual platform specific includes in early.

18 years agoHeader cleanup: don't #include headers that libbb.h already includes.
Rob Landley [Fri, 2 Jun 2006 20:53:38 +0000 (20:53 -0000)]
Header cleanup: don't #include headers that libbb.h already includes.

18 years ago#ifdef reduction.
Rob Landley [Fri, 2 Jun 2006 19:03:01 +0000 (19:03 -0000)]
#ifdef reduction.

18 years ago- fix CONFIG_DEBUG_INIT compile failure
Bernhard Reutner-Fischer [Fri, 2 Jun 2006 10:43:17 +0000 (10:43 -0000)]
- fix CONFIG_DEBUG_INIT compile failure