aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2006-05-25Patch from Tito:Rob Landley
Remove -v verbose -V version -q quiet flags Remove parse_opt_v2(); Rename parse_opt_v3() to parse_xfermode() Remove if_strcat() Rearrange code in  dump_identity() to reduce size Modify some strings so that they could be optimized by the compiler Minor code clean up Remove unneeded #define <shm.h> #if BB_BIG_ENDIAN && !defined(__USE_XOPEN) # define __USE_XOPEN #endif     Must be before #include <unistd.h> and #include "busybox.h" (noticed by Bernhard Fischer <rep.nop@aon.at>) Remove duplicate code in do_time()
2006-05-25Remove a pointless #define.Rob Landley
2006-05-25make the testsuite a little less brittle:Bernhard Reutner-Fischer
- 'function fn_name\n{' breaks on older FreeBSD default shells, so use the more widely supported 'fn_name () {'. This needs more fixing.. - test for integers ought to use the proper operators - test for strings ought to use quoting of the strings to be fair to strange implementations of test(1) - make sure not to ignore return-codes != 0 from commands; Some shells exit immediately on this (much like explicitely requesting set -e in e.g. bash) TODO: *) Some older shells do not allow a space after the test-condition in an "if" statement. This doesn't work: if [ $status -ne 0 ] ; then as opposed to this: if [ $status -ne 0 ]; then or this if [ $status -ne 0 ] then *) strict spacing between commands. In some shells you have to say: foo ; bar ; baz The affected shells barf on stuff like ommitting the space, so this doesn't work: foo; bar ;baz *) $() vs. `` The former isn't really portable as opposed to the latter. *) fix frong assumption that the testsuite is run from the source-dir. This is a complete misconception and renders the testsuite completely useless. That said, i note that IMO a test-harness ought to do it's best to work in a wide variety of environments, everything else defeats it's purpose.
2006-05-24Two more issues pointed out by Bernhard.Rob Landley
2006-05-24Yann Morin spotted some leftover flotsam from halfway through the recentRob Landley
llist.c interface change that accidentally got checked in. My bad.
2006-05-23It takes _talent_ to implement a version of nohup that does everything exceptRob Landley
the actual blocking of HUP.
2006-05-21- set x bitBernhard Reutner-Fischer
2006-05-21Convert to a global struct, the way sed was. Now I have two, I can work outRob Landley
the infrastructure to merge global structs into a union...
2006-05-21Minor cleanups: Convert a few calloc() calls to xzalloc, remove unnecessaryRob Landley
memset, collate variable declarations...
2006-05-21New version of nohup that's much smaller, less paranoid, consistent,Rob Landley
vaguely portable, and licensed GPLv2 "or later".
2006-05-21- fix wrong path to scripts/usage; It is in the builddir and not in the srcdir.Bernhard Reutner-Fischer
- flag .depend as .NOTPARALLEL to workaround bug in make-3.80 and make-3.81 Some more details on the second workaround (i.e. kludge): make-3.80 silently fails, while make-3.81 is at least self-conscious enough to admit: include/usage_compressed.h: .config scripts/usage # Implicit rule search has not been done. # File does not exist. # File has not been updated. # Dependencies commands running (THIS IS A BUG). # commands to execute (from `/home/cow/src/bb2/Makefile', line 430): $(Q)$(SHELL) $(top_srcdir)/scripts/usage_compressed "$(top_builddir)/scripts" > $@ I'm giving up on trying to run the rest of the prerequisites of .depend in parallel and just (try to) indicate that the prerequisites of .depend are not to be run in parallel. While this makes `make distclean defconfig;make -j´ work for me, it is not a real -- longterm -- solution; FIXME
2006-05-21- check for existing usage binary, so it get's more obvious that the toplevelBernhard Reutner-Fischer
Makefile uses the wrong path to the binary (it's in top_builddir and not in top_srcdir)
2006-05-21- there is no _usage.h anymore, so don't rm it in distclean.Bernhard Reutner-Fischer
2006-05-21- do not create usage_compressed.h if CONFIG_FEATURE_COMPRESS_USAGE is not setBernhard Reutner-Fischer
2006-05-21- there is no "sh". Use $(SHELL)Bernhard Reutner-Fischer
2006-05-20- silence warning about no return in function returning non-voidBernhard Reutner-Fischer
- put CONFIG_DEBUG_CROND_OPTION into config no changes in size when debugging is disabled.
2006-05-19Patch from Robert P. Day to remove #ifdefed out SLIP support code that weRob Landley
have no CONFIG option to enable, and which existing SLIP users don't seem to miss.
2006-05-19Remove unused function parameter, from Garrett.Rob Landley
2006-05-19Add diffutils and dhcp to list of packages we provide replacements for.Rob Landley
2006-05-19- backout erroneously checked in snippet..Bernhard Reutner-Fischer
2006-05-19First quick stab at organizing TODO under whose TODO item it is.Rob Landley
2006-05-19A pending item in my tree I might as well check in: I plan to migrate calloc()Rob Landley
and bb_calloc() calls to bb_xzalloc() which allocates prezeroed memory but only takes one argument (the size).
2006-05-19- remove emacs layout block as suggested by Robert P.J. DayBernhard Reutner-Fischer
- use shorter boilerplate while at it
2006-05-19- forgot to make busybox_unstripped depend on the applets in IMA mode.Bernhard Reutner-Fischer
2006-05-19- use shorter boilerplate.Bernhard Reutner-Fischer
2006-05-19- redirect stdout of scripts/config/conf to /nil forBernhard Reutner-Fischer
allyesconfig, allnoconfig, defconfig, allbareconfig - fix invalid call to "make"; use $(MAKE) instead.
2006-05-19- remove SIGIOT as suggested by landley.Bernhard Reutner-Fischer
2006-05-19Patch from tito to replace shared memory usage with mlock(), slightly tweakedRob Landley
by me.
2006-05-19fix indenting in help output for ifconfigMike Frysinger
2006-05-19- typo s/allbaseconfig/allbareconfig/Bernhard Reutner-Fischer
I thought Robert Day pointed this out, but i cannot find the mail in the archives..
2006-05-19- replace _PATH_DEVNULL with bb_dev_nullBernhard Reutner-Fischer
2006-05-19- do not use non-standard u_int.Bernhard Reutner-Fischer
- do not use _PATH_DEVNULL gnuism but bb_dev_null. Thanks to Rich Felker.
2006-05-19- make it C89 compatible; Declarations in the middle of a function is of courseBernhard Reutner-Fischer
fine in C99, but it really serves no purpose other than breaking compilation on C89 compilers. Thanks to Rich Felker for pointing this out.
2006-05-19- use uint32_t instead of __u32Bernhard Reutner-Fischer
Thanks to Rich Felker for pointing this out.
2006-05-19- Rich Felker writes:Bernhard Reutner-Fischer
SIGIOT is not defined in any standard i can find and it seems to be useless (alias for SIGABRT) on linux. i put it in #ifdef but it's probably best just to remove it and cut down the size a bit.
2006-05-19- remove superfluous legacy includes.Bernhard Reutner-Fischer
This applet should be converted to use llist; __NEED_DLLIST
2006-05-19- include strings.hBernhard Reutner-Fischer
Thanks to Rich Felker for pointing this out.
2006-05-19- fix invalid modeBernhard Reutner-Fischer
2006-05-19- single KERNEL_VERSION(a,b,c) macro in platform.hBernhard Reutner-Fischer
- rename get_kernel_revision() to get_linux_version_code from Robert P. J. Day
2006-05-19- cleanup memory if opening aliases failed and cleanup was requested.Bernhard Reutner-Fischer
2006-05-18Fluff out info on morris accounts.Rob Landley
2006-05-18Avoid a memory leak pointed out by Lucas C. Villa Real.Rob Landley
2006-05-17Typo fix.Rob Landley
2006-05-17Patch from Bernhard Fischer to remove some useless bits.Rob Landley
2006-05-17Announce 1.1.3.Rob Landley
2006-05-17Typo that hits big endian systems.Rob Landley
2006-05-17The gnu extension to have realpath() malloc its buffer when handed a NULLRob Landley
isn't implemented in uClibc, so we can't use it.
2006-05-16Rob Sullivan cleaned up the longstanding patch from Hideki IWAMOTO to addRob Landley
ibs and obs support to dd, and made it configurable. I cleaned it up a bit further and moved conv= into the same config option.
2006-05-16Largeish cleanup patch from Tito, mostly if statement therapy.Rob Landley
2006-05-16Make md5 calculation always go through an the buffer so that A) we don'tRob Landley
handle packets out of sequence if some data goes through the buffer and some doesn't, B) it works on systems that can't handle aligned access, C) we just have one code path to worry about. While we're at it, sizeof() and RESERVE_CONFIG_BUFFER() really don't combine well, which is why md5sum has been reading and processing data 4 bytes at a time. I suspect that the existence of CONFIG_MD5_SIZE_VS_SPEED to do loop unrolling and such in the algorithm was an attempt to work around that bug.