Commit Graph

  • bf66fbc8e2 introduce LONE_CHAR (optimized strcmp with one-char string) Denis Vlasenko 2006-12-21 13:23:14 +00:00
  • 6910741067 tail: fix tail +N Denis Vlasenko 2006-12-21 00:43:06 +00:00
  • 3f3190e34c less: total cleanup and bugfix. Doesn't die horribly on binary files anymore. In fact, they _100%_ work now. Control chars are in reverse video, including DEL and that idiocy of VT-10x, Meta-ESC [inventor of which should be prohibited from reproducing]. Regex search is fixed also. When you specify search ('/' key), control chars turn into dots (unhighlighted), and found occurrences highlighted instead. This is reversible. Memory management fixed (was leaky as hell) and optimized. Linewrapping fixed and thoroughly tested. Max buffer size made configurable. ~ 600 bytes saved. Denis Vlasenko 2006-12-21 00:22:03 +00:00
  • 9a7cef930f less: somewhat buggy applet, but nice. Muchly reduced xstrdup'ing and memory consumption. Made linewrap saner. regex matching code was awful - still buggy, but not as leaky as before. Made buffer size configurable. Killed several static and on-stack buffers. Hopefully eliminated staircase effect on Ctrl-C (unable to reproduce). Denis Vlasenko 2006-12-20 02:46:48 +00:00
  • b95636c52f remove casts from xmalloc() Denis Vlasenko 2006-12-19 23:36:04 +00:00
  • 2375d75f32 ifupdown: do not print and/or execute empty commands (""). Denis Vlasenko 2006-12-19 23:15:46 +00:00
  • 8cd1a288fa ifupdown: parse() returning NULL and returning "" is not the same, it turned out! wow... okay, fixing my buglet... Denis Vlasenko 2006-12-19 23:01:33 +00:00
  • 28703015ab u_short, ulong exterminated fdiskXXX: add a bit of sanity (not enough by far) Denis Vlasenko 2006-12-19 20:32:02 +00:00
  • f58906b646 cmdedit: fix my bug, improve code a bit Denis Vlasenko 2006-12-19 19:30:37 +00:00
  • 28fbd69bf8 - use xlisten/xsocket some more. Saves .25 kB Bernhard Reutner-Fischer 2006-12-19 16:31:09 +00:00
  • 359d7ca0e7 - rename SU_SYSLOG to FEATURE_SU_SYSLOG Bernhard Reutner-Fischer 2006-12-19 08:55:38 +00:00
  • 7f1dc21a5d cmdedit: use qsort for sorting command completion results; style fixes Denis Vlasenko 2006-12-19 01:10:25 +00:00
  • 8eb3b391ad passwd: add option to check passwords for weakness Denis Vlasenko 2006-12-19 00:33:53 +00:00
  • 249fabf1a3 Add option to disable command execution from vi & awk Denis Vlasenko 2006-12-19 00:29:22 +00:00
  • 15b213ef5a su: make /etc/shells check configurable ash: missing ';' Denis Vlasenko 2006-12-19 00:20:20 +00:00
  • 908d6b7054 mount: add getmntent_r stub for dietlibc Denis Vlasenko 2006-12-18 23:07:42 +00:00
  • 7cfecc4b36 xfuncs.c: dietlibc actually HAS fdprintf! platform.h: define strchrnul for dietlibc ash: stop using few non-standard functions Denis Vlasenko 2006-12-18 22:32:45 +00:00
  • c8e6e35ba4 nc: add missing cast xfuncs: add dprintf for dietlibc Denis Vlasenko 2006-12-18 22:10:24 +00:00
  • 83e5d6f772 A bunch of defined(__GLIBC__) added. static-linking warning expanded Denis Vlasenko 2006-12-18 21:49:06 +00:00
  • f42ff90453 du: dietlibc compat fix, style fixes. Thanks to sampo@symlabs.com. Denis Vlasenko 2006-12-18 21:22:16 +00:00
  • fcfe834d50 ifupdown: strlen(NULL) is a no-no, fixed. Also few micro-optimizations Denis Vlasenko 2006-12-18 21:02:00 +00:00
  • 6dca70a049 ps: fix buglet, add microoptimization Denis Vlasenko 2006-12-18 14:20:01 +00:00
  • db50647d1f httpd: we don't have FEATURE_HTTPD_WITHOUT_INETD anymore, remove it from Config.in Denis Vlasenko 2006-12-17 20:18:05 +00:00
  • b8c77b5b25 start_stop_daemon: make code a bit more readable Denis Vlasenko 2006-12-17 19:43:10 +00:00
  • 0f5905e617 od: remove bug-for-bug compat (because the bug was fixed in coreuitls) Denis Vlasenko 2006-12-17 19:21:13 +00:00
  • c88894602d tar: report error if child dies while writing out the end of tarball (e.g. out of disk space). Denis Vlasenko 2006-12-17 19:08:20 +00:00
  • b131b271a0 start_stop_daemon: fix bug where any program name was "matching" processes for which readlink(/proc/N/exe) fails Denis Vlasenko 2006-12-17 17:30:01 +00:00
  • 7cdc54ff59 fix/shorten some usage strings Denis Vlasenko 2006-12-17 17:27:56 +00:00
  • 10f7dd1ea1 tftp: corrupted input packets were killing retransmits - fixed Denis Vlasenko 2006-12-17 01:14:08 +00:00
  • 0a10da29a7 diff: comment - explain what happens when hunk fails to apply Denis Vlasenko 2006-12-17 00:49:56 +00:00
  • f7583d89b0 patch: fix double-free (bug 1120) Denis Vlasenko 2006-12-17 00:33:29 +00:00
  • 9f739445cd inline strcmp(s, "-") [actually macro-ize it for now - gcc is too stupid] Denis Vlasenko 2006-12-16 23:49:13 +00:00
  • a597aaddfa s/extern inline/static ATTRIBUTE_ALWAYS_INLINE/g xstrtou: disallow leading '+' Denis Vlasenko 2006-12-16 23:48:13 +00:00
  • 3469c185e5 wget: smallish optimization Denis Vlasenko 2006-12-16 22:19:47 +00:00
  • 6a1d661036 diff: fix -q exit code last_char_is: sacrifice 9 bytes but avoid double-scan Denis Vlasenko 2006-12-16 22:18:44 +00:00
  • 79e77cdbed site: add link to directory with patches Denis Vlasenko 2006-12-15 22:10:07 +00:00
  • cda6c636ca re-applying first post-1.3.x change version change to 1.4.0.svn Denis Vlasenko 2006-12-15 00:59:35 +00:00
  • 44b2ea786e back out last change - need to make busybox-1_3-stable branch first Denis Vlasenko 2006-12-15 00:02:30 +00:00
  • 728534b3cb - table support for ip route Bernhard Reutner-Fischer 2006-12-14 15:41:29 +00:00
  • 56b956952e - minor shrinkage Bernhard Reutner-Fischer 2006-12-14 11:27:58 +00:00
  • f7b0d4a3e5 Update busybox.net webpage with 1.3.0 announcement Denis Vlasenko 2006-12-14 00:22:51 +00:00
  • a883fa4cee exterminate last bzero's version bump to 1.3.0 Denis Vlasenko 2006-12-13 23:52:32 +00:00
  • 9729e65706 - honor CONFIG_DEBUG Bernhard Reutner-Fischer 2006-12-13 17:44:24 +00:00
  • 5b6f776fe9 - remove warning about unused depth parameter in add_to_dirlist() - make one variable static and add comment about why the other variables there are not static. Bernhard Reutner-Fischer 2006-12-13 16:50:15 +00:00
  • 35a4bbe74f date: -R shouldn't use locale Denis Vlasenko 2006-12-13 00:35:21 +00:00
  • 5e2db5e8ee build system: small fix for "release" target to work Denis Vlasenko 2006-12-12 23:46:31 +00:00
  • 5fa7148761 build system: add "release" target find: support -size N (needed for above) Denis Vlasenko 2006-12-12 22:31:15 +00:00
  • 16c2c700fd passwd: fix indentation Denis Vlasenko 2006-12-12 18:11:58 +00:00
  • db2b52425d passwd: added comment Denis Vlasenko 2006-12-12 17:14:56 +00:00
  • 900406c359 passwd: shrink by ~10 bytes, use PRNG instead of usleep. Denis Vlasenko 2006-12-12 14:38:03 +00:00
  • 6f0540e7ec - remove functions marked as LEGACY in SUSv3 and use their modern counterparts. Bernhard Reutner-Fischer 2006-12-12 11:50:44 +00:00
  • 32f3ebf08f - add an anchor to let me point people to FAQ.html#standalone_shell easily. Bernhard Reutner-Fischer 2006-12-10 13:40:16 +00:00
  • 2ea630f9a5 bb_makedev: fix for glibc 2.3.2 sed: fix C++ style declaration Denis Vlasenko 2006-12-10 02:52:19 +00:00
  • 2f8f71b20d sed: style fixes Denis Vlasenko 2006-12-10 02:09:12 +00:00
  • b15b7f7a4a more: fix for case when _FILE_OFFSET_BITS is not #defined. samll size improvement. Denis Vlasenko 2006-12-10 01:57:29 +00:00
  • 57d83ff5f9 - Proposed fix to make aliases work (with uClibc-current). See comment in the patch about the change introduced in r16342. Bernhard Reutner-Fischer 2006-12-07 12:25:17 +00:00
  • 1819eee436 - Improve wording in error message. Bernhard Reutner-Fischer 2006-12-07 12:18:36 +00:00
  • 95da177b09 - s/:\t\t/\t/ for two helptexts. Bernhard Reutner-Fischer 2006-12-07 12:16:17 +00:00
  • b7c50c9896 - remove a warning that was not ment to be checked in. Bernhard Reutner-Fischer 2006-12-06 23:14:31 +00:00
  • feea1b972c - better distinction between CFLAGS and CPPFLAGS. Bernhard Reutner-Fischer 2006-12-06 21:51:59 +00:00
  • bc95f57932 - adjust to kernel's build infrastructure. Bernhard Reutner-Fischer 2006-12-06 15:29:00 +00:00
  • 882e60c442 - shrink less. 01a: svn version 01b: merge past_eof and inp_stdin into flags. 01c: merge match_backwards into flags. 01d: add handling of <HOME> and <END> keys, remove set_tty_raw, use fflush_stdout_and_exit 01e: rewrite special-key handling to be smaller. 01f: changing the format saves 4 bytes (alot of places would benefit from this) text data bss dec hex filename 9034 8 648 9690 25da less.o.01a 9023 8 640 9671 25c7 less.o.01b 9027 8 636 9671 25c7 less.o.01c 9068 8 636 9712 25f0 less.o.01d 8990 8 636 9634 25a2 less.o.01e 8986 8 636 9630 259e less.o.01f Bernhard Reutner-Fischer 2006-12-04 16:04:50 +00:00
  • bbda98f14c - cosmetic change to avoid warnings about eventual padding/packing. Bernhard Reutner-Fischer 2006-12-04 15:58:27 +00:00
  • bb59f02218 - make sure we pickup the correct defines. Guards against 2.6.19 kernel-headers. Bernhard Reutner-Fischer 2006-12-04 15:57:17 +00:00
  • 91d4a2dac3 - commentary typo Bernhard Reutner-Fischer 2006-12-02 20:47:36 +00:00
  • 1375bc7b67 sed: fix handling of files not ending in '\n' Denis Vlasenko 2006-12-02 20:12:12 +00:00
  • 8b22b07bc5 sed: improve handling of NULs Denis Vlasenko 2006-12-02 17:58:10 +00:00
  • becd8c538c passwd: made smaller by ~130 bytes. size can go negative if current trend will continue ;) Denis Vlasenko 2006-12-01 21:34:20 +00:00
  • 732268fe69 - provide central knob to turn off RPC related options. Bernhard Reutner-Fischer 2006-12-01 16:56:12 +00:00
  • 4c87d4f242 passwd: micro-optimization Denis Vlasenko 2006-11-30 23:13:59 +00:00
  • eb98be02ac "kernel config" -> "busybox config" suggested by Roberto A. Foglietta <roberto.foglietta@gmail.com> Denis Vlasenko 2006-11-30 22:40:32 +00:00
  • 93f6aa6bca "make bigdata" biggest offender dealt with: xmalloc 16Kb buffer instead of keeping it in bss Denis Vlasenko 2006-11-30 21:11:01 +00:00
  • 610c4aa197 ed: convert style to bbox's. No code changes. Denis Vlasenko 2006-11-30 20:57:50 +00:00
  • 002526481e passwd: small size optimization. salt generation improved (really generated different salts even if called back-to-back). Denis Vlasenko 2006-11-30 20:41:28 +00:00
  • ab24e18c7a passwd: rework: * do not make backup copy by copying (just retain old file) * correctly fall back to /etc/passwd if user is not in shadow * fix bug with overlong passwd entries * be permissive on some kinds of failures * reduce stack usage * code size: -500 bytes Denis Vlasenko 2006-11-30 16:41:15 +00:00
  • b8bb27c7ea - save 4 bytes text data bss dec hex filename 764 0 80 844 34c vlock.o.oorig 760 0 80 840 348 vlock.o Bernhard Reutner-Fischer 2006-11-30 14:53:51 +00:00
  • 28bb84bd4e Well, I am not 100.00% usre that uint16 will suffice there. We don't lose anything by using 'unsigned' instead. Denis Vlasenko 2006-11-29 23:15:04 +00:00
  • 016a82e279 another -90 bytes. That #define is **evil** Denis Vlasenko 2006-11-29 22:47:42 +00:00
  • 66b86c6902 mkfs.minix: more cleanups, -~300 bytes of code. Added debugging support. Denis Vlasenko 2006-11-29 22:33:47 +00:00
  • c6ce8733dd cut 0.5k off mkfs.minix assorted strtoul fixes (that's what brought me into minix)... Denis Vlasenko 2006-11-29 18:15:52 +00:00
  • a35c9e91ba httpd: fix decode of '/' when called via -d Denis Vlasenko 2006-11-29 15:58:50 +00:00
  • 2425bdce34 od: fix buglet in --traditional, microoptimization, document coreutils bug bloat-o-meter: account for objects in rodata too Denis Vlasenko 2006-11-29 14:32:01 +00:00
  • 834410a5a5 getopt32-ification of fdisk Denis Vlasenko 2006-11-29 12:00:28 +00:00
  • c61852a02b fix support for globally disabling --long-options. (disabling them saves ~4K on fully configured bbox) Denis Vlasenko 2006-11-29 11:09:43 +00:00
  • 601ae1378b od: sometime ago I landed BIG od implementation from coreutils. My fault. This commit contains cleanups and size reductions. Denis Vlasenko 2006-11-28 23:37:46 +00:00
  • df38188367 fix bug in new str -> num convertors Denis Vlasenko 2006-11-28 10:54:16 +00:00
  • 7df69b887a usage: fix few help texts, fix breakage: '\<tab>' sequence utterly confused cpp :) Denis Vlasenko 2006-11-28 00:46:49 +00:00
  • c2f5b02293 udhcpc: fix my breakage Denis Vlasenko 2006-11-28 00:21:46 +00:00
  • 1fffe38e01 fix udhcpc help message, take steps to make usage.h less messy Denis Vlasenko 2006-11-28 00:06:39 +00:00
  • 229b3d2072 do not overflow ifr_name. maybe it was safe in some places, but not everywhere. err to the safe side. Denis Vlasenko 2006-11-27 23:44:57 +00:00
  • e2d3ded354 udhcpc: convert to getopt32 Denis Vlasenko 2006-11-27 23:43:28 +00:00
  • 30d7a346e6 tar: fix misplaced --exclude long option definition Denis Vlasenko 2006-11-27 20:24:40 +00:00
  • 5e90e10647 Closing bug 1040: The "quiet" option is quietly (hah) ignored. It should be passed through to the mount() syscall in the comma separated list of options. I found the problem with the vfat/msdos filesystems, which uses a quiet option to override some complaints and errors. Denis Vlasenko 2006-11-27 19:50:16 +00:00
  • f1a6c6b362 erase_mtab: do not limit ourself to 40 mtab entries Denis Vlasenko 2006-11-27 17:29:09 +00:00
  • 097c324f59 fix remaining survivors of the return(a) cleanup Denis Vlasenko 2006-11-27 16:59:15 +00:00
  • d9e15f2068 style cleanup: return(a) -> return a, part 2 Denis Vlasenko 2006-11-27 16:49:55 +00:00
  • 079f8afa0a style cleanup: return(a) -> return a, part 1 Denis Vlasenko 2006-11-27 16:49:31 +00:00
  • 10d0d4eec7 byteswap ops had extra mask ops - removed Denis Vlasenko 2006-11-27 16:48:17 +00:00
  • 3ece72dc3f svn add bb_strtonum.c :( Denis Vlasenko 2006-11-27 15:12:16 +00:00
  • 459903bd4e Provide our own isdigit macro. saves more than 400 bytes. Denis Vlasenko 2006-11-27 14:44:18 +00:00