summaryrefslogtreecommitdiff
path: root/libbb
AgeCommit message (Collapse)Author
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-10-03rename bb_default_error_retval -> xfunc_error_retvalDenis Vlasenko
2006-10-03fdformat: remove redundant checkDenis Vlasenko
2006-10-03random style fixesDenis Vlasenko
2006-10-03runit/chpst: "change process state" utilityDenis Vlasenko
It's "nice" on steroids - can set uid/gid, mem/cpu limits etc. +3.5k
2006-10-01sed: unbreak multiple -e, -f option handling (my fault)Denis Vlasenko
2006-09-30lsmod: repair indentationDenis Vlasenko
httpd: ifdef CONFIG -> if ENABLE (shorted, catched typos)
2006-09-29Yet another silly little byte saving. couldn't -> cannotDenis Vlasenko
2006-09-29top: add support for -b, -n <iterations>Denis Vlasenko
2006-09-29getopt_ulflags: fix indentation in comment (needs to be 8 _spaces_Denis Vlasenko
in order to look correct to both 4 tab and 8 tab population). Add comment about :: (which indicates optional argument).
2006-09-29getopt_ulflags: formatting fixesDenis Vlasenko
2006-09-29xargs: simplify option parsingDenis Vlasenko
2006-09-28Tried to find sha1_crypt - nope... ok, save few bytes in md5_sha1_sum.cDenis Vlasenko
(time to sleep, 02:28 in the morning)...
2006-09-27usage.h: fix compile-time bugs exposed by previous changeDenis Vlasenko
2006-09-27kill: fix bugs (kill -l output was horrible), fix style, constify dataDenis Vlasenko
2006-09-27process utilities related style cleanupDenis Vlasenko
2006-09-26wget: add (configurable) large file support. Run tested.Denis Vlasenko
2006-09-23wget: fix bug where wget creates null file if there is no remote one.Denis Vlasenko
add O_LARGEFILE support (not run tested :).
2006-09-23remove unneeded #includes, fix indentationDenis Vlasenko
2006-09-23correct_password: undo whitespace damage.Denis Vlasenko
vlock + correct_password: fix incorrect line breaks in messages.
2006-09-23bb_askpass: shorten static password buffer. 256 is way too large.Denis Vlasenko
simplify code a bit.
2006-09-22losetup: getopt_ulflags'ification + small fix for perror_nomsgDenis Vlasenko
2006-09-20Teach get_terminal_width_height to fall back to $LINES and $COLUMNS whenRob Landley
used via things like a serial console.
2006-09-19change char *string = "foo" -> char string[] = "foo"Denis Vlasenko
function old new delta xsetenv 45 44 -1 iproute_list_or_flush 1834 1833 -1 ipaddr_modify 1915 1914 -1 ipaddr_list_or_flush 1861 1860 -1 invarg 39 38 -1 do_set 1259 1258 -1 bb_verror_msg 268 267 -1 create_icmp_socket 142 140 -2 create_icmp6_socket 142 140 -2 bb_full_fd_action 324 322 -2 bb_path_mtab_file 10 - -10 .rodata 214796 214720 -76 ------------------------------------------------------------------------------ (add/remove: 0/1 grow/shrink: 0/11 up/down: 0/-99) Total: -99 bytes
2006-09-17whitespace cleanupDenis Vlasenko
2006-09-17style fixesDenis Vlasenko
2006-09-14Strangely, using // in the comments I added was not a persistent accident.Rob Landley
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-12Remove pointless "const". Bloatcheck says 0 bytes difference.Rob Landley
2006-09-12- small trivia to be gentle to gcc-2.95.x which had no va_copy but only ↵Bernhard Reutner-Fischer
__va_copy.
2006-09-12- fix warning about discarding qualifiers in initializationBernhard Reutner-Fischer
2006-09-11- merge xstat.c into xfuncs.cBernhard Reutner-Fischer
2006-09-09tar: fix "xopen with O_CREAT" warning, improve zero padding writeDenis Vlasenko
(was doing zillions of 1-byte write syscalls)
2006-09-08few random readability enhansements. No code changesDenis Vlasenko
2006-09-08login: style fixesDenis Vlasenko
2006-09-07getty, sulogin: convert to using bb_msg for syslog outputDenis Vlasenko
2006-09-07fix if (ENABLE_FEATURE_SYSLOG & (...)) - should be &&Denis Vlasenko
2006-09-07Add CONFIG_FEATURE_SYSLOG which controls whetherDenis Vlasenko
bb_xx_msg will ever try to send output to syslog. Add "select CONFIG_FEATURE_SYSLOG" to relevant applets. This allows to omit syslog code if we do not have any syslog-capable applets in the build.
2006-09-07adding files missed in prev updates (forgot about svn add)Denis Vlasenko
2006-09-06removed a lot of trailing \n in bb_msg() calls. It is addedDenis Vlasenko
automatically by function itself.
2006-09-06Implement optional syslog logging using ordinaryDenis Vlasenko
bb_xx_msg calls, and convert networking/* to it. The rest of bbox will be converted gradually.
2006-09-06- mdev and grep use xregcomp. Closes bug #1021Bernhard Reutner-Fischer
2006-09-05run_shell.c: style fixDenis Vlasenko
2006-09-05xfunc: fix: && -> &. Also nuked two double semicolons...Denis Vlasenko
2006-09-03uuencode: common implementation for wget and uuencode (closing bug 694)Denis Vlasenko
2006-09-03zcip: getopt -> bb_getopt_ulflagsDenis Vlasenko
2006-09-03replacing func() with xfunc() where appropriateDenis Vlasenko
2006-08-28- pull from busybox_scratch: r15829:15850Bernhard Reutner-Fischer
Various fixes, cleanups and shrinkage: saves 952 Bytes: text data bss dec hex filename 1087742 15853 790632 1894227 1ce753 ../busybox/busybox.old 1086790 15853 790632 1893275 1ce39b busybox via: # scripts/bloat-o-meter ../busybox/busybox_unstripped.old busybox_unstripped function old new delta ipcrm_main 756 822 +66 getval - 61 +61 maybe_set_utc - 40 +40 udhcpc_main 2896 2912 +16 md5_hash_block 428 437 +9 opt 8 16 +8 qgravechar 106 110 +4 make_bitmap 292 295 +3 inflate_unzip 2056 2059 +3 add_partition 1412 1414 +2 __parsespent 156 158 +2 qrealloc 41 42 +1 format - 1 +1 catv_main 313 314 +1 watch_main 293 292 -1 varunset 81 80 -1 part 1 - -1 check_if_skip 837 836 -1 start_stop_daemon_main 840 837 -3 create_lost_and_found 175 172 -3 supress_non_delimited_lines 4 - -4 static.l 4 - -4 static.c 5 1 -4 bsd_sum_file 237 233 -4 eval2 338 332 -6 arithmetic_common 166 158 -8 cmpfunc 22 5 -17 cksum_main 294 275 -19 cmp_main 465 439 -26 dd_main 1535 1508 -27 rmmod_main 376 333 -43 cut_file 727 644 -83 ipcs_main 3809 3721 -88 cut_main 722 614 -108 date_main 1443 1263 -180 remove_ids 222 - -222 ------------------------------------------------------------------------------ (add/remove: 3/4 grow/shrink: 11/18 up/down: 217/-853) Total: -636 bytes
2006-08-28Jordan Crouse submitted a patch to only include xregcomp.c when we actuallyRob Landley
use it, thus fixing building against uClibc with regex support disabled.
2006-08-28No real need for my_query_module() and this eliminates some type-punnedRob Landley
pointer warning on certain gcc versions (and saves 38 bytes).