aboutsummaryrefslogtreecommitdiff
path: root/archival
AgeCommit message (Collapse)Author
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-30whitespace fixesDenis Vlasenko
2007-05-26usage.c: remove reference to busybox.hDenis Vlasenko
*: s/include "busybox.h"/include "libbb.h"
2007-05-26xpipe: introduce (saves ~170 bytes)Denis Vlasenko
udhcp/signalpipe.c: use pipe instead of socketpair.
2007-04-16style fixes, no code changesDenis Vlasenko
2007-04-13dpkg: use nitfields which are a bit closer to typical ushort.Denis Vlasenko
Code size -800.
2007-04-13style fixesDenis Vlasenko
2007-04-12style fixes. No code changesDenis Vlasenko
2007-04-11bb_full_fd_action: remove potential xmalloc from NOFORK pathDenis Vlasenko
cat: stop using stdio.h opens libbb: introduce & use open[3]_or_warn function old new delta open3_or_warn - 54 +54 bb_cat 115 144 +29 open_or_warn - 25 +25 unlzma 2404 2412 +8 chattr_main 334 339 +5 xstrtoul_range_sfx 251 255 +4 telnet_main 1514 1510 -4 static.opt 4 - -4 qgravechar 122 118 -4 fuser_add_pid 61 54 -7 fuser_add_inode 154 147 -7 writeFileToTarball 1542 1534 -8 refresh 1156 1148 -8 do_show 856 846 -10 read_leases 212 200 -12 setup_redirects 236 222 -14 iproute_list_or_flush 1582 1568 -14 read_config 427 411 -16 write_leases 284 264 -20 hash_file 338 318 -20 copy_file 1760 1740 -20 do_iproute 2610 2588 -22 bb_full_fd_action 320 269 -51 open_to_or_warn 103 49 -54 fuser_main 1660 1596 -64 .rodata 131160 131096 -64 ------------------------------------------------------------------------------ (add/remove: 2/1 grow/shrink: 4/19 up/down: 125/-423) Total: -298 bytes
2007-04-10make compressed help code NOMMU- and NOFORK-friendly -Denis Vlasenko
no forking anymore, bunzip2 unpack routine now does all it in memory.
2007-04-10make a few struct bb_applet members conditionalDenis Vlasenko
rename sllep_and_die -> xfunc_die make fflush_stdout_and_exit NOFORK-safe fix some buglets found by randomconfig
2007-04-10one-liner: fix indentationDenis Vlasenko
2007-04-10bunzip2: big style cleanup. No code changes apart from one s/write/safe_write/Denis Vlasenko
(verified with objdump).
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-04-07random small shrinkage and elimination of staticsDenis Vlasenko
2007-04-05libbb: add xunlink()Denis Vlasenko
patch: do not try to delete same file twice
2007-04-04- sed -e "s/char[[:space:]]*\*[[:space:]]*argv\[\]/char **argv/g"Bernhard Reutner-Fischer
2007-03-31unzip: fix xstrndup bug (xstrndup(s,n) can allocate less than n bytes!)Denis Vlasenko
2007-03-29dpkg: run_package_script() returns 0 if all ok and non-zero if failure.Denis Vlasenko
The result code was checked incorrectly in two places. (from "Kim B. Heino" <Kim.Heino@bluegiga.com>)
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-26Attempt to get more applets compile for NOMMU.Denis Vlasenko
TODO_config_nommu documents what I managed to compile so far (yay! msh works! cool). inetd, telnetd, httpd still do not compile. TODO Also make fork(), daemon() produce warnings on compile stage (in addition to erros on link stage).
2007-03-22gzip: fix -d option handlingDenis Vlasenko
2007-03-20fix accumulated whitespace and indentation damageDenis Vlasenko
2007-03-19dpkg: free_package(NULL) is ok, so don't test for NULL, just free.Denis Vlasenko
2007-03-19ls: fix segfault-if-standalone-shell, add big fat comment.Denis Vlasenko
2007-03-19Kim B. Heino writes:Bernhard Reutner-Fischer
When installing a new package with dpkg dependencies are checked correctly. But when I try to update an existing package, the dependencies are checked against the old package, not against new package. Thus the new package can break dependencies.
2007-03-15gunzip: s/unsigned char extra_short/unsigned extra_short/Denis Vlasenko
we can unzip openssh-4.3p2.tar.gz now :)
2007-03-15gzip: Improve ptr_to_globals trick, allowing gccDenis Vlasenko
to optimize better. -480 bytes.
2007-03-15fix TODO: getopt32 should reset optind to 1 itselfDenis Vlasenko
2007-03-15modify ptr_to_globals trick so that we do not violateDenis Vlasenko
type safety (well, sort of ;))
2007-03-14get_header_ar: reformatted code, no real changesDenis Vlasenko
2007-03-14gzip: bbunzip integration fixesDenis Vlasenko
2007-03-14gzip: use common bbunzip infrastructure - ~700 bytes code lessDenis Vlasenko
2007-03-14gzip: reduce global data footprint, part 3Denis Vlasenko
2007-03-14gzip: reduce global data footprint, part 2Denis Vlasenko
2007-03-14gzip: reduce global data footprint, part 1Denis Vlasenko
2007-03-12bbunzip: remove extra formatting directives in commentsDenis Vlasenko
2007-03-11kill superfluous returns at the end of void functionsDenis Vlasenko
2007-03-11fix buglets found by randomconfig runDenis Vlasenko
2007-03-09bbunzip: size optimization: ~90 bytesDenis Vlasenko
2007-03-07bbunzip: fix comments to match realityDenis Vlasenko
2007-03-07bunzip2/gunzip/uncompress/unlzma: merge into common code -Denis Vlasenko
fix few corner cases, reduce size by 450 bytes. Update testsuite.
2007-03-04remove f wordsDenis Vlasenko
2007-03-03tar: handle tarfiles with (broken) checksums a-la Sun.Denis Vlasenko
2007-02-17sort: fix multiple -k (was ignoring all except last)Denis Vlasenko
2007-02-15dpkg: fix segfault on "dpkg -i"Denis Vlasenko
2007-02-12make tar restore mode againDenis Vlasenko
2007-02-11syslogd: fix "readpath bug" by using readlink insteadDenis Vlasenko
libbb: rename xgetcwd and xreadlink