summaryrefslogtreecommitdiff
path: root/debianutils
AgeCommit message (Collapse)Author
2007-06-04Audit bb_common_bufsiz usage, add script which looks for misuse.Denis Vlasenko
tr: stop using globals needlessly. code: -103 bytes
2007-05-31delete tons of extra #includesDenis Vlasenko
2007-05-31use "glibc errno" trick not only for ash, but for entire busyboxDenis Vlasenko
(add/remove: 1/1 grow/shrink: 37/37 up/down: 139/-228) Total: -89 bytes
2007-05-26usage.c: remove reference to busybox.hDenis Vlasenko
*: s/include "busybox.h"/include "libbb.h"
2007-04-29run_parts: do not check path portion of a name for "bad chars".Denis Vlasenko
Needed for ifupdown. Patch by "Gabriel L. Somlo" <somlo@cmu.edu>
2007-04-12style fixes. No code changesDenis Vlasenko
2007-04-08getopt32: fix llist_t options ordering. llist_rev is not unused.Denis Vlasenko
function old new delta tar_main 705 695 -10 sort_main 928 918 -10 decode_format_string 886 876 -10 run_parts_main 197 185 -12 ps_main 513 500 -13 wget_main 2764 2750 -14 awk_main 1014 1000 -14 od_main 2886 2866 -20 llist_rev 25 - -25 ------------------------------------------------------------------------------ (add/remove: 0/1 grow/shrink: 0/8 up/down: 0/-128) Total: -128 bytes
2007-04-08find: fix handling of -pruneDenis Vlasenko
recursive_actions: uppercase flag constants
2007-03-29- fold recurse, depthFirst and dereference params into one param flags.Bernhard Reutner-Fischer
Minor size improvement (-16b for size, -24b according to bloat-o-meter).
2007-03-28run_parts: I was wrong, NULL termination is already done becauseDenis Vlasenko
G is pre-initialized to 0.
2007-03-28run_parts: NULL-terminate list of arguments; fix perror/error usageDenis Vlasenko
2007-03-28- rewrite run-partsBernhard Reutner-Fischer
text data bss dec hex filename 1029 0 0 1029 405 debianutils/run_parts.o-old 478 0 0 478 1de debianutils/run_parts.o-new-bare 600 0 0 600 258 debianutils/run_parts.o-new-full bare, i.e. without long opts and fancy stuff ./scripts/bloat-o-meter bb_old busybox_unstripped function old new delta act - 215 +215 run_parts_main 216 201 -15 valid_name 50 - -50 runparts_long_options 64 - -64 .rodata 124323 124163 -160 run_parts 513 - -513 ------------------------------------------------------------------------------ (add/remove: 1/3 grow/shrink: 0/2 up/down: 215/-802) Total: -587 bytes
2007-03-26move everything to new NOMMU helpers, except udhcpDenis Vlasenko
2007-02-26start_stop_daemon: add -chuid supportDenis Vlasenko
2007-02-11syslogd: fix "readpath bug" by using readlink insteadDenis Vlasenko
libbb: rename xgetcwd and xreadlink
2007-02-03suppress warnings about easch <applet>_main() havingDenis Vlasenko
no preceding prototype
2007-01-28fix which-uses-default-pathDenis Vlasenko
2007-01-19openvt,getty,vfork_daemon_rexec,mount: tighten up fd cleanup codeDenis Vlasenko
(will close all fd's > 2 on daemonization now) getty: fix "getty -" support, and also do not try to chown/chmod "-" telnetd: fix "lost ctty" bug Yet another attempt on saner function names: bb_sanitize_server_stdio(0/1) -> bb_sanitize_stdio() + bb_daemonize();
2006-12-28bb_xget[pw/gr]nam were horribly misnamed - fixed.Denis Vlasenko
uidgid_get -> get_uidgid, add additional param (numeric_ok). Make chown use it. chown: fix "chown user: ...." install: fix incorrect use of bb_xget[pw/gr]nam
2006-12-17start_stop_daemon: make code a bit more readableDenis Vlasenko
2006-12-17start_stop_daemon: fix bug where any program name was "matching"Denis Vlasenko
processes for which readlink(/proc/N/exe) fails
2006-11-27style cleanup: return(a) -> return a, part 1Denis Vlasenko
2006-11-26Closing bug 730. libbb run_parts is using scandir (a GNUism),Denis Vlasenko
and it is used only by run_parts applet, so move it there. Also saved ~30 bytes (prolly gcc autoinlining...).
2006-11-18rodata cleanup. "unable to" == "cannot". -300 bytesDenis Vlasenko
2006-11-18small fixes: using fd-based io instead of FILE*-based,Denis Vlasenko
missed O_TRUNC, etc
2006-10-26remove bb_printf and the likeDenis Vlasenko
2006-10-20readlink: do not emit errors if file doesnt not exist / not a linkDenis Vlasenko
getopt32: add =N support
2006-10-11ifupdown: stop emitting annoying/misleading error messages.Denis Vlasenko
Patch by Gabriel Somlo <somlo at cmu.edu>
2006-10-10- add option -tBernhard Reutner-Fischer
mkinitrd and mkinitramfs both require -t.
2006-10-08start_stop_daemon: add -N <nice> compatDenis Vlasenko
[re]nice: add support for -nNNN w/o spaces, -NNN (nice only), simplified code
2006-10-08attempt to regularize atoi mess.Denis Vlasenko
2006-10-05which: -84 bytesDenis Vlasenko
2006-10-05build system overhaulDenis Vlasenko
2006-10-03getopt_ulflags -> getopt32.Denis Vlasenko
It is impossible to formulate sane ABI based on size of ulong because it can be 32-bit or 64-bit. Basically it means that you cannot portably use more that 32 option chars in one call anyway... Make it explicit.
2006-09-17whitespace cleanupDenis Vlasenko
2006-09-13- fix copy'n paste errors that got introduced when switching to the shorter ↵Bernhard Reutner-Fischer
boilerplate. No object code changes.
2006-09-04Patch from Natanael Copa to make start-stop-daemon just use readlink andRob Landley
strcmp to check if a program is already running.
2006-08-28Bugfix from Jason Schoon: send the right signal with -s.Rob Landley
2006-08-03Remove bb_ prefixes from xfuncs.c (and a few other places), consolidateRob Landley
things like xasprintf() into xfuncs.c, remove xprint_file_by_name() (it only had one user), clean up lots of #includes... General cleanup pass. What I've been doing for the last couple days. And it conflicts! I've removed httpd.c from this checkin due to somebody else touching that file. It builds for me. I have to catch a bus. (Now you know why I'm looking forward to Mercurial.)
2006-07-19Remove unnecessary consts.1_2_0Rob Landley
2006-07-18Rearrange order of type qualifiers."Robert P. J. Day"
2006-07-17Patch from Thaddeus Ternes, adding chuid to start-stop-daemon.Rob Landley
2006-06-14- minor shrinkageBernhard Reutner-Fischer
2006-06-12- fix stupid typo from last checkinBernhard Reutner-Fischer
2006-06-11- add fancy mode to start-stop-daemon to support --oknodo and --verboseBernhard Reutner-Fischer
2006-06-02- move #include busybox.h to the very top so we pull in the configBernhard Reutner-Fischer
and eventual platform specific includes in early.
2006-05-26- add central knob to turn off getopt_long everywhere. EXPERIMENTAL!Bernhard Reutner-Fischer
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
2006-05-19- remove emacs layout block as suggested by Robert P.J. DayBernhard Reutner-Fischer
- use shorter boilerplate while at it
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-13pull Rules.mak from top_srcdir as pointed out by Robert P. J. Day on the ↵Mike Frysinger
mailing list