aboutsummaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* This is not C++.landley2006-05-291-1/+1
| | | | git-svn-id: svn://busybox.net/trunk/busybox@15214 69ca8d6d-28ef-0310-b511-8ec308f3f277
* A few new todo items from email with Bernhard.landley2006-05-291-0/+9
| | | | git-svn-id: svn://busybox.net/trunk/busybox@15213 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Remove _() and N_() from platform.h. #define them as NOP macros in the twolandley2006-05-293-12/+9
| | | | | | | | | files still using them. I didn't remove them from e2fsck.c to avoid stomping pending cleanup patches from Garrett, and I didn't bother to remove them from fdisk.c because that entire file needs to be rewritten from scratch. git-svn-id: svn://busybox.net/trunk/busybox@15212 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Remove _().landley2006-05-291-14/+12
| | | | git-svn-id: svn://busybox.net/trunk/busybox@15211 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Remove _().landley2006-05-291-52/+52
| | | | git-svn-id: svn://busybox.net/trunk/busybox@15210 69ca8d6d-28ef-0310-b511-8ec308f3f277
* I changed last10 to last25, and just bumped it up to 50 so I renamed itlandley2006-05-281-1/+1
| | | | | | | | "recent.html". There's a symlink from each of the old names for the moment, I'll zap those eventually... git-svn-id: svn://busybox.net/trunk/busybox@15209 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Fix hdparm to use PRIu64 instead of typecasting to long long (which is 128 bitslandley2006-05-284-6/+5
| | | | | | | on 64 bit platforms), and move #include <inttypes.h> to libbb.h. git-svn-id: svn://busybox.net/trunk/busybox@15208 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Put the ending quote on the help entry...landley2006-05-281-1/+1
| | | | git-svn-id: svn://busybox.net/trunk/busybox@15207 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Fix some warnings in allbareconfig.landley2006-05-282-5/+4
| | | | git-svn-id: svn://busybox.net/trunk/busybox@15206 69ca8d6d-28ef-0310-b511-8ec308f3f277
* My first bout of untangling udhcp. Make lots of gratuitous #defines golandley2006-05-2817-221/+86
| | | | | | | | | away, substitutie BB_VER for an external VERSION, use busybox CONFIG symbols rather than checking for them then defining others, etc. Lots more cleanup to do... git-svn-id: svn://busybox.net/trunk/busybox@15205 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Move portability stuff to platform.h, and clean up adjtimex.c a bit whilelandley2006-05-272-58/+20
| | | | | | | I'm in the area. git-svn-id: svn://busybox.net/trunk/busybox@15204 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Consolidate #include <sys/time.h> so libbb.h does it.landley2006-05-2740-46/+2
| | | | git-svn-id: svn://busybox.net/trunk/busybox@15203 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Update FAQ to mention make baseline when talking about make bloatcheck.landley2006-05-271-3/+5
| | | | git-svn-id: svn://busybox.net/trunk/busybox@15202 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Consolidate the .PHONY targets and add "make baseline" for bloatcheck.landley2006-05-271-10/+14
| | | | git-svn-id: svn://busybox.net/trunk/busybox@15201 69ca8d6d-28ef-0310-b511-8ec308f3f277
* - use the defines CURRENT_TTY and VC_1; also shrink xargs a tiny bit:aldot2006-05-273-5/+3
| | | | | | | | | | | | | | | | | | | add/remove: 0/0 grow/shrink: 2/6 up/down: 5/-37 (-32) function old new delta static.add_interface 271 274 +3 static.glob3 36 38 +2 static.renice_main 409 408 -1 static.readcmd 1083 1081 -2 static.changepath 176 174 -2 static.parse_opts 56 51 -5 static.rx_main 1095 1088 -7 static.xargs_main 759 739 -20 ---------------------------------------------------------------- Result :-) -32 git-svn-id: svn://busybox.net/trunk/busybox@15200 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Change llist_add_* to take the address of the list rather than returning the newlandley2006-05-2616-57/+42
| | | | | | | head, and change all the callers. git-svn-id: svn://busybox.net/trunk/busybox@15199 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Slight sanity fix: data is void *, not char *. And it's called datalandley2006-05-262-5/+5
| | | | | | | almost everywhere, so be consistent. git-svn-id: svn://busybox.net/trunk/busybox@15198 69ca8d6d-28ef-0310-b511-8ec308f3f277
* - provide fallback defines for non-linuxaldot2006-05-261-1/+13
| | | | git-svn-id: svn://busybox.net/trunk/busybox@15197 69ca8d6d-28ef-0310-b511-8ec308f3f277
* - provide fallback defines for non-linuxaldot2006-05-261-0/+14
| | | | git-svn-id: svn://busybox.net/trunk/busybox@15196 69ca8d6d-28ef-0310-b511-8ec308f3f277
* - add central knob to turn off getopt_long everywhere. EXPERIMENTAL!aldot2006-05-2618-12/+118
| | | | | | | | | Adds "Enable getopt long" under "General options", default y. Send patches to fix getopt_ulflags and run_parts.c if you turn this off.. See http://busybox.net/lists/busybox/2006-May/021828.html for a start to run-parts git-svn-id: svn://busybox.net/trunk/busybox@15195 69ca8d6d-28ef-0310-b511-8ec308f3f277
* - use strtol instead of strtoll if the latter does not existaldot2006-05-261-3/+19
| | | | | | | | - add and use wrapper for attribute - add and use replacement for vasprintf if it is unavailable git-svn-id: svn://busybox.net/trunk/busybox@15194 69ca8d6d-28ef-0310-b511-8ec308f3f277
* - introduce and use bb_path_wtmp_file for portability (saves 11 Bytes).aldot2006-05-265-13/+33
| | | | | | | - fix last.c to also look at the double-underscore UT_ defines. git-svn-id: svn://busybox.net/trunk/busybox@15193 69ca8d6d-28ef-0310-b511-8ec308f3f277
* - use portability wrapper define bb_setpgrp.aldot2006-05-263-3/+4
| | | | git-svn-id: svn://busybox.net/trunk/busybox@15192 69ca8d6d-28ef-0310-b511-8ec308f3f277
* - work around bug in gcc-3.4.x on ARMaldot2006-05-261-1/+1
| | | | git-svn-id: svn://busybox.net/trunk/busybox@15191 69ca8d6d-28ef-0310-b511-8ec308f3f277
* - 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