aboutsummaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
...
* lash: make -c work; crush buffer overrun and free of non-malloced ptrvda2007-03-311-9/+6
| | | | | | | (from Mats Erik Andersson <mats.andersson64@comhem.se>) git-svn-id: svn://busybox.net/trunk/busybox@18290 69ca8d6d-28ef-0310-b511-8ec308f3f277
* lash: style cleanupvda2007-03-311-81/+84
| | | | git-svn-id: svn://busybox.net/trunk/busybox@18289 69ca8d6d-28ef-0310-b511-8ec308f3f277
* website: link to post-1.5.0 fixes, fix dangling linkvda2007-03-312-2/+3
| | | | git-svn-id: svn://busybox.net/trunk/busybox@18288 69ca8d6d-28ef-0310-b511-8ec308f3f277
* hdparm: fix multisector mode settingvda2007-03-311-2/+2
| | | | | | | (from Toni Mirabete <amirabete@catix.cat>) git-svn-id: svn://busybox.net/trunk/busybox@18287 69ca8d6d-28ef-0310-b511-8ec308f3f277
* uniq: getopt32-ization. -38 bytes.vda2007-03-311-22/+23
| | | | git-svn-id: svn://busybox.net/trunk/busybox@18286 69ca8d6d-28ef-0310-b511-8ec308f3f277
* unzip: fix xstrndup bug (xstrndup(s,n) can allocate less than n bytes!)vda2007-03-311-2/+3
| | | | git-svn-id: svn://busybox.net/trunk/busybox@18285 69ca8d6d-28ef-0310-b511-8ec308f3f277
* - fix compilation if FEATURE_TR_CLASSES is off. Sorry for that..aldot2007-03-301-2/+0
| | | | git-svn-id: svn://busybox.net/trunk/busybox@18283 69ca8d6d-28ef-0310-b511-8ec308f3f277
* - debloat test. untested.aldot2007-03-301-111/+116
| | | | | | | | | | | | | text data bss dec hex filename 3154 0 172 3326 cfe test.o.oorig 2683 0 172 2855 b27 test.o This applet should be rewritten not to use such odd lexer semantics. It duplicates code from all over the place (see XXX). brrr git-svn-id: svn://busybox.net/trunk/busybox@18282 69ca8d6d-28ef-0310-b511-8ec308f3f277
* - fix bug where we did not reject invalid classes like '[[:alpha'aldot2007-03-306-87/+114
| | | | | | | | | | - debloat while at it: text data bss dec hex filename 1554 0 19 1573 625 tr.o.oorig 1357 0 16 1373 55d tr.o git-svn-id: svn://busybox.net/trunk/busybox@18281 69ca8d6d-28ef-0310-b511-8ec308f3f277
* introduce the concept of LDLIBS for additional libraries so that when we do ↵vapier2007-03-302-4/+7
| | | | | | the final link, the objects/libraries are in the correct order git-svn-id: svn://busybox.net/trunk/busybox@18280 69ca8d6d-28ef-0310-b511-8ec308f3f277
* traceroute: move data off bss. small code optimizations.vda2007-03-291-94/+109
| | | | | | | | | | | | | | | | | | | | | function old new delta traceroute_main 4358 4397 +39 verbose 13 9 -4 useicmp 4 - -4 nflag 4 - -4 split_suffices 40 24 -16 route 16 - -16 dumpleases_main 392 357 -35 gwlist 36 - -36 whereto 128 - -128 wherefrom 128 - -128 packet 512 - -512 ------------------------------------------------------------------------------ (add/remove: 0/7 grow/shrink: 1/3 up/down: 39/-883) Total: -844 bytes git-svn-id: svn://busybox.net/trunk/busybox@18279 69ca8d6d-28ef-0310-b511-8ec308f3f277
* dpkg: run_package_script() returns 0 if all ok and non-zero if failure.vda2007-03-291-5/+3
| | | | | | | | The result code was checked incorrectly in two places. (from "Kim B. Heino" <Kim.Heino@bluegiga.com>) git-svn-id: svn://busybox.net/trunk/busybox@18278 69ca8d6d-28ef-0310-b511-8ec308f3f277
* dumpleases: getopt32()-izationvda2007-03-291-34/+27
| | | | | | | (from Mats Erik Andersson <mats.andersson64@comhem.se>) git-svn-id: svn://busybox.net/trunk/busybox@18277 69ca8d6d-28ef-0310-b511-8ec308f3f277
* - use index_in_str_array also for find_mainaldot2007-03-291-2/+8
| | | | | | | | | text data bss dec hex filename 2605 1 12 2618 a3a find.o.r18274 2602 1 12 2615 a37 find.o.r18275 git-svn-id: svn://busybox.net/trunk/busybox@18275 69ca8d6d-28ef-0310-b511-8ec308f3f277
* - remove bloated switch statement.aldot2007-03-291-17/+8
| | | | | | | | | text data bss dec hex filename 2706 1 12 2719 a9f find.o.r18273 2605 1 12 2618 a3a find.o.r18274 git-svn-id: svn://busybox.net/trunk/busybox@18274 69ca8d6d-28ef-0310-b511-8ec308f3f277
* - implement a TODO: Use index_in_str_array in parse_paramsaldot2007-03-291-40/+118
| | | | | | | | | | text data bss dec hex filename 2771 1 12 2784 ae0 find.o.r18272 2749 1 12 2762 aca find.o.-try-switch 2706 1 12 2719 a9f find.o.r18273 git-svn-id: svn://busybox.net/trunk/busybox@18273 69ca8d6d-28ef-0310-b511-8ec308f3f277
* - Purely cosmetic type fiddlingaldot2007-03-291-15/+14
| | | | git-svn-id: svn://busybox.net/trunk/busybox@18272 69ca8d6d-28ef-0310-b511-8ec308f3f277
* - fold recurse, depthFirst and dereference params into one param flags.aldot2007-03-2911-55/+50
| | | | | | | Minor size improvement (-16b for size, -24b according to bloat-o-meter). git-svn-id: svn://busybox.net/trunk/busybox@18271 69ca8d6d-28ef-0310-b511-8ec308f3f277
* - update defconfigaldot2007-03-281-3/+5
| | | | git-svn-id: svn://busybox.net/trunk/busybox@18269 69ca8d6d-28ef-0310-b511-8ec308f3f277
* run_parts: I was wrong, NULL termination is already done becausevda2007-03-281-1/+1
| | | | | | | G is pre-initialized to 0. git-svn-id: svn://busybox.net/trunk/busybox@18268 69ca8d6d-28ef-0310-b511-8ec308f3f277
* run_parts: NULL-terminate list of arguments; fix perror/error usagevda2007-03-281-5/+5
| | | | git-svn-id: svn://busybox.net/trunk/busybox@18267 69ca8d6d-28ef-0310-b511-8ec308f3f277
* ps: work around libc bug: printf("%.*s\n", MAX_INT, buffer)vda2007-03-282-4/+6
| | | | git-svn-id: svn://busybox.net/trunk/busybox@18266 69ca8d6d-28ef-0310-b511-8ec308f3f277
* - rewrite run-partsaldot2007-03-283-132/+115
| | | | | | | | | | | | | | | | | | | | | | 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 git-svn-id: svn://busybox.net/trunk/busybox@18265 69ca8d6d-28ef-0310-b511-8ec308f3f277
* - move additional fancy options not mandated by SUSv3 into a FANCY optionaldot2007-03-283-7/+21
| | | | git-svn-id: svn://busybox.net/trunk/busybox@18263 69ca8d6d-28ef-0310-b511-8ec308f3f277
* - fix formatting of help textaldot2007-03-281-2/+1
| | | | git-svn-id: svn://busybox.net/trunk/busybox@18262 69ca8d6d-28ef-0310-b511-8ec308f3f277
* - reinstate dmalloc and efence supportaldot2007-03-282-1/+9
| | | | git-svn-id: svn://busybox.net/trunk/busybox@18261 69ca8d6d-28ef-0310-b511-8ec308f3f277
* hdparm: flag variables can easily be smaller than longvda2007-03-281-96/+101
| | | | | | | | | | | | | | | | | | | | | | | function old new delta process_dev 5247 5325 +78 bb_ioctl_on_off 72 78 +6 unregister_hwif 4 1 -3 ... perform_reset 4 1 -3 parse_xfermode 111 108 -3 noisy_piomode 4 1 -3 ... do_flush 4 1 -3 do_ctimings 4 1 -3 static.parm 4 - -4 static.multcount 4 - -4 parse_opts 54 48 -6 hdparm_main 1435 1383 -52 ------------------------------------------------------------------------------ (add/remove: 0/2 grow/shrink: 2/61 up/down: 84/-243) Total: -159 bytes git-svn-id: svn://busybox.net/trunk/busybox@18259 69ca8d6d-28ef-0310-b511-8ec308f3f277
* hdparm: remove stray static (-200 bytes bss)vda2007-03-281-1/+1
| | | | git-svn-id: svn://busybox.net/trunk/busybox@18258 69ca8d6d-28ef-0310-b511-8ec308f3f277
* hdparm: whitespace style fixesvda2007-03-281-90/+89
| | | | git-svn-id: svn://busybox.net/trunk/busybox@18257 69ca8d6d-28ef-0310-b511-8ec308f3f277
* pidfile creation mode set to 0666 (umask affects it as usual)vda2007-03-271-1/+1
| | | | git-svn-id: svn://busybox.net/trunk/busybox@18256 69ca8d6d-28ef-0310-b511-8ec308f3f277
* forgotten svn add...vda2007-03-271-0/+29
| | | | git-svn-id: svn://busybox.net/trunk/busybox@18255 69ca8d6d-28ef-0310-b511-8ec308f3f277
* make pidfile writing configurable.vda2007-03-279-50/+51
| | | | | | | [ui]toa_to_buf: change API. No users yet. git-svn-id: svn://busybox.net/trunk/busybox@18254 69ca8d6d-28ef-0310-b511-8ec308f3f277
* remove_file: cosmetic code improvement, a few bytes savedvda2007-03-261-34/+21
| | | | git-svn-id: svn://busybox.net/trunk/busybox@18253 69ca8d6d-28ef-0310-b511-8ec308f3f277
* diff: fix SEGV (NULL deref) in diff -Nvda2007-03-261-9/+18
| | | | git-svn-id: svn://busybox.net/trunk/busybox@18252 69ca8d6d-28ef-0310-b511-8ec308f3f277
* sed: a communal variable managed to slip past 'size'vda2007-03-262-94/+100
| | | | | | | | | | | | | | | | ('size' happily displays 0 bytes in data and bss, but in reality sed.o used 180 bytes of it). Oh well. function old new delta pipe_putc 67 76 +9 sed_main 627 633 +6 get_next_line 161 166 +5 bbg 180 - -180 (add/remove: 0/1 grow/shrink: 3/0 up/down: 20/-180) Total: -160 bytes sed: also make sed -i failure message less cryptic git-svn-id: svn://busybox.net/trunk/busybox@18251 69ca8d6d-28ef-0310-b511-8ec308f3f277
* split: let me join bikeshed painting frenzy :)vda2007-03-261-68/+71
| | | | | | | | | | | | | | this one should be able to handle huge files. text data bss dec hex filename 664 4 0 668 29c busybox.t0/coreutils/split.o 628 0 0 628 274 busybox.t1/coreutils/split.o split_main 488 525 +37 suffix_len 4 - -4 next_file 77 - -77 (add/remove: 0/2 grow/shrink: 1/0 up/down: 37/-81) Total: -44 bytes git-svn-id: svn://busybox.net/trunk/busybox@18250 69ca8d6d-28ef-0310-b511-8ec308f3f277
* - check the suffix proper plus misc touch upaldot2007-03-261-29/+21
| | | | git-svn-id: svn://busybox.net/trunk/busybox@18249 69ca8d6d-28ef-0310-b511-8ec308f3f277
* zcip: make it work on NOMMU (+ improve NOMMU support machinery)vda2007-03-266-88/+100
| | | | | | | fsck: fix bad English in a comment git-svn-id: svn://busybox.net/trunk/busybox@18248 69ca8d6d-28ef-0310-b511-8ec308f3f277
* - add usage for splitaldot2007-03-261-1/+6
| | | | git-svn-id: svn://busybox.net/trunk/busybox@18247 69ca8d6d-28ef-0310-b511-8ec308f3f277
* - implement suffices as required by SUSv3aldot2007-03-261-17/+29
| | | | | | | - fix glitch in next_file (suffices were exhaused too early). git-svn-id: svn://busybox.net/trunk/busybox@18246 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Attempt to get more applets compile for NOMMU.vda2007-03-2610-95/+769
| | | | | | | | | | 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). git-svn-id: svn://busybox.net/trunk/busybox@18245 69ca8d6d-28ef-0310-b511-8ec308f3f277
* pidfile.c: not used anymorevda2007-03-261-60/+0
| | | | | | | BTW, previous change removed pidfile locking, -700 code (static compile) git-svn-id: svn://busybox.net/trunk/busybox@18244 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Move udhcp to new NOMMU helpers.vda2007-03-265-66/+105
| | | | | | | | | Fix server part to compile under NOMMU. Client is not compilable yet. On MMU everything compiles (and maybe even works :) git-svn-id: svn://busybox.net/trunk/busybox@18243 69ca8d6d-28ef-0310-b511-8ec308f3f277
* move everything to new NOMMU helpers, except udhcpvda2007-03-2611-102/+40
| | | | git-svn-id: svn://busybox.net/trunk/busybox@18242 69ca8d6d-28ef-0310-b511-8ec308f3f277
* libbb: rework NOMMU helper API so that it makes more sensevda2007-03-263-107/+191
| | | | | | | and easier to use. Doesn't compile - need two more commits. git-svn-id: svn://busybox.net/trunk/busybox@18241 69ca8d6d-28ef-0310-b511-8ec308f3f277
* nmeter: should die if stdout doesn't like him anymorevda2007-03-261-1/+1
| | | | git-svn-id: svn://busybox.net/trunk/busybox@18240 69ca8d6d-28ef-0310-b511-8ec308f3f277
* - shrink a tiny bit (-8b)aldot2007-03-261-7/+18
| | | | git-svn-id: svn://busybox.net/trunk/busybox@18239 69ca8d6d-28ef-0310-b511-8ec308f3f277
* add NOMMU fixme's; move move_fd from runit_lib to libbb; nuke fd_copyvda2007-03-2511-52/+31
| | | | git-svn-id: svn://busybox.net/trunk/busybox@18237 69ca8d6d-28ef-0310-b511-8ec308f3f277
* - rough prototype for split(1). TODO: Still needs some love since it's way ↵aldot2007-03-256-0/+135
| | | | | | | | | | too big.. text data bss dec hex filename 602 4 0 606 25e coreutils/split.o git-svn-id: svn://busybox.net/trunk/busybox@18236 69ca8d6d-28ef-0310-b511-8ec308f3f277
* inetd,ed,msh: data/bss reduction (in mss, more than 9k of it)vda2007-03-243-57/+83
| | | | git-svn-id: svn://busybox.net/trunk/busybox@18234 69ca8d6d-28ef-0310-b511-8ec308f3f277