aboutsummaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* - move llist to top of file so we can potentially use it in all prototypes ↵aldot2006-05-261-9/+10
| | | | | | easily git-svn-id: svn://busybox.net/trunk/busybox@15189 69ca8d6d-28ef-0310-b511-8ec308f3f277
* - make find_mount_point conditional on df and eject; Fixes `make hosttools´ onaldot2006-05-261-2/+3
| | | | | | | hosts where mntent.h does not exist. git-svn-id: svn://busybox.net/trunk/busybox@15188 69ca8d6d-28ef-0310-b511-8ec308f3f277
* - add workaround for tar being broken since it uses a non-portable constant.aldot2006-05-261-0/+6
| | | | git-svn-id: svn://busybox.net/trunk/busybox@15187 69ca8d6d-28ef-0310-b511-8ec308f3f277
* - use the SED given by the useraldot2006-05-261-2/+3
| | | | | | | - use the portable `` instead of $(). There is no bbsh, so this is needed. git-svn-id: svn://busybox.net/trunk/busybox@15186 69ca8d6d-28ef-0310-b511-8ec308f3f277
* - add target hosttools (see make help)aldot2006-05-262-64/+141
| | | | | | | | | - rename check_gcc to check_cc and pass the CC to use as arg#1; peruse check_cc for HOSTCFLAGS - add and use check_strip - add checks for {,no-}whole-archive and {start,end}-group LD flags git-svn-id: svn://busybox.net/trunk/busybox@15185 69ca8d6d-28ef-0310-b511-8ec308f3f277
* - use ATTRIBUTE_ALWAYS_INLINE if requestedaldot2006-05-261-37/+6
| | | | | | | - use shorter boilerplate while at it git-svn-id: svn://busybox.net/trunk/busybox@15184 69ca8d6d-28ef-0310-b511-8ec308f3f277
* - move libc checks from busybox.h to platform.haldot2006-05-262-12/+101
| | | | | | | | | | - add ATTRIBUTE_ALWAYS_INLINE, endian handling for DEC UNIX, some more compiler dependent defines to platform.h - add conditional bb_setpgrp define to platform.h - remove superfluous specifying args from "#define fdprintf dprintf" git-svn-id: svn://busybox.net/trunk/busybox@15183 69ca8d6d-28ef-0310-b511-8ec308f3f277
* - patch from Tito to pretty print the overall deltaaldot2006-05-261-0/+4
| | | | git-svn-id: svn://busybox.net/trunk/busybox@15182 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Yann E. MORIN. writes:vapier2006-05-261-1/+1
| | | | | | | | | hdparm has a uint64_t passed to printf with a %llu format (which is ok, because it's the same size), but without first being casted(?) to unsigned long long int. Which is kinda funny because it's done OK on a few lines above... git-svn-id: svn://busybox.net/trunk/busybox@15180 69ca8d6d-28ef-0310-b511-8ec308f3f277
* errno and h_errno values are not the same #876 by rfelkervapier2006-05-261-2/+0
| | | | git-svn-id: svn://busybox.net/trunk/busybox@15178 69ca8d6d-28ef-0310-b511-8ec308f3f277
* fix spelling mistakesvapier2006-05-268-24/+24
| | | | git-svn-id: svn://busybox.net/trunk/busybox@15177 69ca8d6d-28ef-0310-b511-8ec308f3f277
* check for queueing dependancy dependancies typosvapier2006-05-261-1/+2
| | | | git-svn-id: svn://busybox.net/trunk/busybox@15176 69ca8d6d-28ef-0310-b511-8ec308f3f277
* queuing is spelled correctlyvapier2006-05-261-1/+0
| | | | git-svn-id: svn://busybox.net/trunk/busybox@15175 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Rich Felker suggested removing dprintf() from watch, and one thing led tolandley2006-05-253-61/+57
| | | | | | | | | another... This adds bb_xspawn() support, which does vfork/exec. (I don't know why using a static instead of a local adds ~40 bytes, but using the local doesn't work...) git-svn-id: svn://busybox.net/trunk/busybox@15172 69ca8d6d-28ef-0310-b511-8ec308f3f277
* And fix the error I just introduced. :)landley2006-05-251-1/+1
| | | | git-svn-id: svn://busybox.net/trunk/busybox@15171 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Remove pointless #define.landley2006-05-251-4/+1
| | | | git-svn-id: svn://busybox.net/trunk/busybox@15170 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Patch from Tito:landley2006-05-251-168/+123
| | | | | | | | | | | | | | | | | | | | | | 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() git-svn-id: svn://busybox.net/trunk/busybox@15169 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Remove a pointless #define.landley2006-05-251-4/+5
| | | | git-svn-id: svn://busybox.net/trunk/busybox@15168 69ca8d6d-28ef-0310-b511-8ec308f3f277
* make the testsuite a little less brittle:aldot2006-05-252-15/+22
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - '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. git-svn-id: svn://busybox.net/trunk/busybox@15167 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Two more issues pointed out by Bernhard.landley2006-05-241-1/+5
| | | | git-svn-id: svn://busybox.net/trunk/busybox@15164 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Yann Morin spotted some leftover flotsam from halfway through the recentlandley2006-05-241-1/+1
| | | | | | | llist.c interface change that accidentally got checked in. My bad. git-svn-id: svn://busybox.net/trunk/busybox@15162 69ca8d6d-28ef-0310-b511-8ec308f3f277
* It takes _talent_ to implement a version of nohup that does everything exceptlandley2006-05-231-1/+2
| | | | | | | the actual blocking of HUP. git-svn-id: svn://busybox.net/trunk/busybox@15159 69ca8d6d-28ef-0310-b511-8ec308f3f277
* - set x bitaldot2006-05-210-0/+0
| | | | git-svn-id: svn://busybox.net/trunk/busybox@15158 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Convert to a global struct, the way sed was. Now I have two, I can work outlandley2006-05-211-4/+9
| | | | | | | the infrastructure to merge global structs into a union... git-svn-id: svn://busybox.net/trunk/busybox@15157 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Minor cleanups: Convert a few calloc() calls to xzalloc, remove unnecessarylandley2006-05-214-29/+17
| | | | | | | memset, collate variable declarations... git-svn-id: svn://busybox.net/trunk/busybox@15156 69ca8d6d-28ef-0310-b511-8ec308f3f277
* New version of nohup that's much smaller, less paranoid, consistent,landley2006-05-213-181/+38
| | | | | | | vaguely portable, and licensed GPLv2 "or later". git-svn-id: svn://busybox.net/trunk/busybox@15155 69ca8d6d-28ef-0310-b511-8ec308f3f277
* - fix wrong path to scripts/usage; It is in the builddir and not in the srcdir.aldot2006-05-211-4/+8
| | | | | | | | | | | | | | | | | | | | | | | | | - 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 git-svn-id: svn://busybox.net/trunk/busybox@15154 69ca8d6d-28ef-0310-b511-8ec308f3f277
* - check for existing usage binary, so it get's more obvious that the toplevelaldot2006-05-211-0/+1
| | | | | | | Makefile uses the wrong path to the binary (it's in top_builddir and not in top_srcdir) git-svn-id: svn://busybox.net/trunk/busybox@15153 69ca8d6d-28ef-0310-b511-8ec308f3f277
* - there is no _usage.h anymore, so don't rm it in distclean.aldot2006-05-211-1/+1
| | | | git-svn-id: svn://busybox.net/trunk/busybox@15152 69ca8d6d-28ef-0310-b511-8ec308f3f277
* - do not create usage_compressed.h if CONFIG_FEATURE_COMPRESS_USAGE is not setaldot2006-05-211-3/+6
| | | | git-svn-id: svn://busybox.net/trunk/busybox@15151 69ca8d6d-28ef-0310-b511-8ec308f3f277
* - there is no "sh". Use $(SHELL)aldot2006-05-211-1/+1
| | | | git-svn-id: svn://busybox.net/trunk/busybox@15150 69ca8d6d-28ef-0310-b511-8ec308f3f277
* - silence warning about no return in function returning non-voidaldot2006-05-202-25/+29
| | | | | | | | - put CONFIG_DEBUG_CROND_OPTION into config no changes in size when debugging is disabled. git-svn-id: svn://busybox.net/trunk/busybox@15149 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Patch from Robert P. Day to remove #ifdefed out SLIP support code that welandley2006-05-191-40/+0
| | | | | | | | have no CONFIG option to enable, and which existing SLIP users don't seem to miss. git-svn-id: svn://busybox.net/trunk/busybox@15147 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Remove unused function parameter, from Garrett.landley2006-05-193-6/+2
| | | | git-svn-id: svn://busybox.net/trunk/busybox@15146 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Add diffutils and dhcp to list of packages we provide replacements for.landley2006-05-191-6/+6
| | | | git-svn-id: svn://busybox.net/trunk/busybox@15145 69ca8d6d-28ef-0310-b511-8ec308f3f277
* - backout erroneously checked in snippet..aldot2006-05-191-2/+0
| | | | git-svn-id: svn://busybox.net/trunk/busybox@15144 69ca8d6d-28ef-0310-b511-8ec308f3f277
* First quick stab at organizing TODO under whose TODO item it is.landley2006-05-191-99/+100
| | | | git-svn-id: svn://busybox.net/trunk/busybox@15143 69ca8d6d-28ef-0310-b511-8ec308f3f277
* A pending item in my tree I might as well check in: I plan to migrate calloc()landley2006-05-192-0/+10
| | | | | | | | and bb_calloc() calls to bb_xzalloc() which allocates prezeroed memory but only takes one argument (the size). git-svn-id: svn://busybox.net/trunk/busybox@15142 69ca8d6d-28ef-0310-b511-8ec308f3f277
* - remove emacs layout block as suggested by Robert P.J. Dayaldot2006-05-1957-980/+46
| | | | | | | - use shorter boilerplate while at it git-svn-id: svn://busybox.net/trunk/busybox@15141 69ca8d6d-28ef-0310-b511-8ec308f3f277
* - forgot to make busybox_unstripped depend on the applets in IMA mode.aldot2006-05-192-3/+3
| | | | git-svn-id: svn://busybox.net/trunk/busybox@15140 69ca8d6d-28ef-0310-b511-8ec308f3f277
* - use shorter boilerplate.aldot2006-05-191-15/+3
| | | | git-svn-id: svn://busybox.net/trunk/busybox@15139 69ca8d6d-28ef-0310-b511-8ec308f3f277
* - redirect stdout of scripts/config/conf to /nil foraldot2006-05-191-8/+8
| | | | | | | | allyesconfig, allnoconfig, defconfig, allbareconfig - fix invalid call to "make"; use $(MAKE) instead. git-svn-id: svn://busybox.net/trunk/busybox@15138 69ca8d6d-28ef-0310-b511-8ec308f3f277
* - remove SIGIOT as suggested by landley.aldot2006-05-191-3/+0
| | | | git-svn-id: svn://busybox.net/trunk/busybox@15137 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Patch from tito to replace shared memory usage with mlock(), slightly tweakedlandley2006-05-191-24/+10
| | | | | | | by me. git-svn-id: svn://busybox.net/trunk/busybox@15136 69ca8d6d-28ef-0310-b511-8ec308f3f277
* fix indenting in help output for ifconfigvapier2006-05-191-2/+2
| | | | git-svn-id: svn://busybox.net/trunk/busybox@15135 69ca8d6d-28ef-0310-b511-8ec308f3f277
* - typo s/allbaseconfig/allbareconfig/aldot2006-05-191-1/+1
| | | | | | | I thought Robert Day pointed this out, but i cannot find the mail in the archives.. git-svn-id: svn://busybox.net/trunk/busybox@15134 69ca8d6d-28ef-0310-b511-8ec308f3f277
* - replace _PATH_DEVNULL with bb_dev_nullaldot2006-05-193-20/+11
| | | | git-svn-id: svn://busybox.net/trunk/busybox@15133 69ca8d6d-28ef-0310-b511-8ec308f3f277
* - do not use non-standard u_int.aldot2006-05-191-6/+6
| | | | | | | | - do not use _PATH_DEVNULL gnuism but bb_dev_null. Thanks to Rich Felker. git-svn-id: svn://busybox.net/trunk/busybox@15132 69ca8d6d-28ef-0310-b511-8ec308f3f277
* - make it C89 compatible; Declarations in the middle of a function is of coursealdot2006-05-191-3/+4
| | | | | | | | | fine in C99, but it really serves no purpose other than breaking compilation on C89 compilers. Thanks to Rich Felker for pointing this out. git-svn-id: svn://busybox.net/trunk/busybox@15131 69ca8d6d-28ef-0310-b511-8ec308f3f277
* - use uint32_t instead of __u32aldot2006-05-191-2/+2
| | | | | | | Thanks to Rich Felker for pointing this out. git-svn-id: svn://busybox.net/trunk/busybox@15129 69ca8d6d-28ef-0310-b511-8ec308f3f277