Denis Vlasenko | a0e2a0a1927 | syslogd: start using bb_common_bufsiz1 instead of stack/malloc
logger: optimize, also use bb_common_bufsiz1 (~40 byte... | | |
Denis Vlasenko | b8934971516 | syslogd: stop doing open/fstat/lseek/close on _every_ write
(still doing it if more than a second passed in between).... | | |
Denis Vlasenko | a9b60e93eeb | new libbb func: xmalloc_realpath (+ use it where makes sense)
syslogd, logread: add debugging code (disabled)
syslogs... | | |
Denis Vlasenko | ceab8700dfa | syslogd: almost rewritten. Had several obvious bugs... | | |
Bernhard Reutner-Fischer | bfe1950c634 | - spelling fix | | |
Denis Vlasenko | e428e9d43b9 | klogd: small optimizations
(btw, I looked into syslogd... that's frightening!) | | |
Denis Vlasenko | b8429fb1f45 | fix allnoconfig build. the most useful fix of the month. ;)
[spotted by Bernhard Fischer <rep.nop@aon.at>] | | |
Denis Vlasenko | a773af3b1da | httpd: read cgi output with full_read, not safe_read
(avoids mangling of HTTP headers) | | |
Denis Vlasenko | a8951cbc34c | wget: always print port# in 'Host' header (smaller code) | | |
Denis Vlasenko | 919c10dd888 | ping[6]: don't do htons(a++), it can be a macro | | |
Denis Vlasenko | b36b370fbec | wget: print port# in 'Host' header, if different from 80 | | |
Denis Vlasenko | 562dc249e03 | ftpgetput: fix PASV mode, fix xatou0induced breakage,
improve error message, guard against garbage from remote server... | | |
Denis Vlasenko | 6eebed561a4 | chown: fix handling of "user.group" notation | | |
Denis Vlasenko | c9d34da375d | find: fix misplaced #else (fix by Harald Kuthe <trhoudini@hotmail.com>) | | |
Denis Vlasenko | d54708399db | fdisk: remove 8k buffer from bss - OSF labels
are not THAT common anyway | | |
Denis Vlasenko | 9b1381fd2fb | convert calloc to xzalloc
fix sleep-on-die option | | |
Denis Vlasenko | bb3d0fab3b4 | extern variable declaration in a .c file is heresy - fixing it | | |
Denis Vlasenko | 75fa4eb1551 | fsck_minix: tiny optimization | | |
Denis Vlasenko | 87033fb5fad | forgot to svn add util-linux/minix.h :( | | |
Denis Vlasenko | 73464ce53d0 | fbset: move variable from data to bss
fsck_minix: fix fallout | | |
Denis Vlasenko | aa95959cb81 | factor out minix structures/constants into minix.h
fsck_minix: optimizations | | |
Denis Vlasenko | 6dd392a2520 | fsck_minix: optimizations. ~130 bytes | | |
Denis Vlasenko | 24cfe8fe0c6 | introduce small[u]int
fsck_minix: use it for flag variables. 140 bytes saved | | |
Denis Vlasenko | 2a85676fa5b | silly style fixes | | |
Denis Vlasenko | ace35eeb889 | Remove networking/libiproute/linux/pkt_sched.h
(and networking/libiproute/linux/ since it become empty).
Style fixes. | | |
Mike Frysinger | a71199e0f0b | str2u() is only used when FEATURE_SORT_BIG is enabled | | |
Mike Frysinger | e5c095345e7 | convert usage compressed command into the new cmd style | | |
Denis Vlasenko | e1d3e034a92 | awk: style fixes | | |
Denis Vlasenko | 6dc6ebbf44f | awk: undo locale setting for numbers - or else parsing
can act quite mysteriously
date: add if(ENABLE_LOCALE_SUPPORT) | | |
Denis Vlasenko | f782f52c8ca | awk: style cleanup. A lot of rw data moved to ro
(still has quite a lot of statics etc...).
getopt32-ification. | | |
Denis Vlasenko | b2abef3e54d | stty: fix width of a field for ppc32
sort: fix -u to match coreutils 6.3
msh: compile fix (my fault) | | |
Denis Vlasenko | e27f15615f9 | msh: double "static char line[LINELIM]" etc deleted.
massive amounts of assignments-in-ifs deleted
(some of which wer... | | |
Denis Vlasenko | d1a302b52f1 | rt_names: stop allocating 5k in rwdata
objsizes: don't show build machinery's object modules | | |
Denis Vlasenko | 50ddabc8592 | less: fix <tab><backspace> buglet | | |
Denis Vlasenko | 95b307103a6 | less: interpret backspace.
less is officially declared PAGER-capable! ;)
(this includes viewing of manpages) | | |
Denis Vlasenko | c5193200009 | iproute: remove double get_hz optimization | | |
Denis Vlasenko | 13463af29f1 | remove commented out #includes etc
move get_hz to the only caller | | |
Denis Vlasenko | 98ee06d3d46 | stop using __u32 etc. uint32_t is there for a reason | | |
Denis Vlasenko | 806116b2340 | fixes from Yann E. MORIN <yann.morin.1998@anciens.enib.fr> | | |
Mike Frysinger | d514ba226b5 | convert include/autoconf.h split and include/bbconfigopts.h commands into the new cmd style | | |
Mike Frysinger | 5dd76862efb | Yann E. MORIN. writes: i pity the fool who doesnt use the z length modifier with size_t types | | |
Denis Vlasenko | 4a64c334432 | about.html: update maintainer name
libbb/Kbuild: less needs xregcomp.o | | |
Denis Vlasenko | cb04ff5c68c | fixdep.c: avoit doing memcmp in most cases
uidgid_get.c: add forgotten copyright notice
pwd/grp/shadow: avoid collisi... | | |
Denis Vlasenko | 80602a98bcc | saw commit of vapier@busybox.net (thanks!),
decided to stop doing FOUR memcmp's per each input character.
I should ha... | | |
Mike Frysinger | 1b3e8179a29 | kill off AUTOCONF_INCLUDED (again) since it tends to get into cat fights with the kernel headers | | |
Mike Frysinger | 68ffb9a85da | make sure AUTOCONF_TIMESTAMP is filled up properly ... if user has a timezone of Factory for example, strftime() will... | | |
Mike Frysinger | 40ae9b56174 | prevent buffer underflows with empty lines | | |
Mike Frysinger | c255f8b492e | prevent accessing memory that we dont own | | |
Denis Vlasenko | 6a5dc5d75a1 | next bunch of fixes for bugs found by randconfig | | |
Denis Vlasenko | 3bba545a54a | done a dozen of randconfig test. guess what? ALL failed...
these are resulting fixes | | |
Denis Vlasenko | b5a122b6f96 | fix for uclibc-without-shadow.h compilation | | |
Mike Frysinger | d9e4ddc38b3 | we need to use the compiler driver to invoke LD as LDFLAGS is in the form the compiler driver understands, not the fo... | | |
Denis Vlasenko | c1a339983fa | Add link to post-1.3.1 patches to website | | |
Mike Frysinger | 57ec574af7e | * precision requires the argument be an integer, not size_t | | |
Denis Vlasenko | 7fa0fcafca7 | fix build without shadow support | | |
Denis Vlasenko | 9a44c4f91ce | bb_xget[pw/gr]nam were horribly misnamed - fixed.
uidgid_get -> get_uidgid, add additional param
(numeric_ok). Make c... | | |
Denis Vlasenko | ba092336f00 | news.html: Fix bad English | | |
Denis Vlasenko | 9cd7a249f14 | fix typo | | |
Denis Vlasenko | f959bee0f41 | Announce 1.3.1 | | |
Denis Vlasenko | a2af67a8c5a | busybox 1.3.1 'Christmas Tree' | | |
Denis Vlasenko | c3fa4a0a19e | busybox 1.3.1 'Christmas Tree' | | |
Denis Vlasenko | d0119d15f97 | Simple fixes accumulated after 1.3.0.
busybox-1.3.0.ash.patch
busybox-1.3.0.bb_strtou.patch
busybox-1.3.0.CONFIG_FEAT... | | |
Denis Vlasenko | 7b76233290b | Correcting tag name to be like previous ones | | |
Denis Vlasenko | 8d42f86b146 | Correcting branch name to be like previous ones | | |
Denis Vlasenko | 8f27c34c280 | ash: is_safe_applet mustn't affect disabled applets | | |
Denis Vlasenko | 666da5e2c6e | merge post-1.3.0 fixes | | |
Denis Vlasenko | 270c17c0e66 | properly export externs thru *.h files | | |
Denis Vlasenko | 3ef70d43adf | adduser: trivial code movement | | |
Denis Vlasenko | bf0a2010086 | style fixes
last xcalloc replaced by xzalloc | | |
Denis Vlasenko | 5dd7ef0f373 | chattr: bugfixes and size reduction | | |
Denis Vlasenko | 407b8c0b700 | trivial size reduction | | |
Denis Vlasenko | 0de9375ee6e | leftover of e2fsck surgery | | |
Denis Vlasenko | c4f623ef2a7 | put small subset of e2fsprogs back in the tree:
lsattr, chattr, fsck. Old e2fsprogs tree is in
e2fsprogs/old_e2fsprog... | | |
Denis Vlasenko | 64c54025842 | remove e2fsprogs. Nobody volunteered to clean up that mess | | |
Denis Vlasenko | d63c3a032ad | Fix irregular capitalization in usage texts | | |
Denis Vlasenko | b6488c17809 | trim help texts a bit more | | |
Denis Vlasenko | 5a4f0994b0d | less: fix regexp search '/' on large files | | |
Denis Vlasenko | 7a50a649867 | more usage message cleanups | | |
Denis Vlasenko | 765996aaea0 | Cleanup usage messages (-200 bytes).
Remove busybox_main from applet table since
it is called via separate check | | |
Denis Vlasenko | 0ee3999d13b | random tiny size savings | | |
Denis Vlasenko | 7cea2622736 | small stupid changes. no code changes | | |
Denis Vlasenko | a5b3e76c383 | missing piece of prev commit: ndelay_off | | |
Denis Vlasenko | f4dff773553 | less: implement waiting for input using select(). Rather tricky business.
But we do not read entire input anymore up-... | | |
Denis Vlasenko | 9ac9e55e3c1 | sum: 40% size reduction (-300 bytes)
find: one_char -> LONE_CHAR | | |
Denis Vlasenko | e13a5377957 | su: fix typo: "argv -= optind" should be += | | |
Denis Vlasenko | 1dc1b37b337 | use xbind, xconnect where appropriate.
small edits to arping | | |
Denis Vlasenko | 7e46cf748ea | #define FEATURE_GETUSERNAME_AND_HOMEDIR should be always #defined | | |
Denis Vlasenko | 2a813e20e2a | fix recognitions of -SIGname signals
(fix by Jacques LUDER <jacques.luder@thalesgroup.com>) | | |
Denis Vlasenko | 8f6c79240dc | find: fix spurious -exec error messages
(bug reported by Bernhard Fischer <rep.nop@aon.at>) | | |
Denis Vlasenko | 4cccc03768e | remove useless casts (type*) xzalloc(...) | | |
Denis Vlasenko | a6df5907d27 | dpkg: getopt32-ification etc, -100 bytes | | |
Denis Vlasenko | e31f721e140 | tail: -50 text bytes | | |
Denis Vlasenko | f4c52b32dbf | rpm: reformat. was really hard to read | | |
Denis Vlasenko | 0849207ce04 | convert "negaite" config option into reversed (INCLUDE_SUSv2) | | |
Denis Vlasenko | c5cb38f4d9f | time: -200 bytes of text | | |
Denis Vlasenko | f93ab47c456 | time: fix option parsing bug, size optimizations | | |
Denis Vlasenko | 1d14e6f48c2 | Always use /usr/share/udhcpc/default.script ([/usr] was depending on CONFIG_xx) | | |
Denis Vlasenko | afc9ff99fd1 | removal of commented-out cruft | | |
Denis Vlasenko | 714701c890b | tar et al: die if bb_copyfd_size copies less than asked for.
(we have bb_copyfd_exact_size now for that kind of usage) | | |
Denis Vlasenko | 0a8a7741795 | cmdedit: reformat code a bit, no algorithm changes | | |
Denis Vlasenko | d56b47f9a6e | fix type character mixup in command completion | | |
Denis Vlasenko | f1282a8792a | less: a few fixes for cases where we overflow status line | | |
Denis Vlasenko | f65d1338dc5 | less: restore TAB display (was showing as inverse I after prev changes :) | | |
Denis Vlasenko | d51d14e36fb | less: "(null)" is a bit strange. "standard input" is better :) | | |
Denis Vlasenko | e147a721736 | less: how many different kinds of status line we need, three?!
small fixes. [prev commit also added control char filt... | | |
Denis Vlasenko | e865e81d34e | less: stop dying on bad regexps, quietly pipe data w/o
user interaction if stdout is not a tty.
size optimizations | | |
Denis Vlasenko | bf66fbc8e23 | introduce LONE_CHAR (optimized strcmp with one-char string) | | |
Denis Vlasenko | 69107410679 | tail: fix tail +N | | |
Denis Vlasenko | 3f3190e34c5 | less: total cleanup and bugfix.
Doesn't die horribly on binary files anymore.
In fact, they _100%_ work now. Control ... | | |
Denis Vlasenko | 9a7cef930f7 | less: somewhat buggy applet, but nice. Muchly reduced
xstrdup'ing and memory consumption. Made linewrap saner.
regex ... | | |
Denis Vlasenko | b95636c52fb | remove casts from xmalloc() | | |
Denis Vlasenko | 2375d75f326 | ifupdown: do not print and/or execute empty commands (""). | | |
Denis Vlasenko | 8cd1a288fa1 | ifupdown: parse() returning NULL and returning "" is not the same,
it turned out! wow... okay, fixing my buglet... | | |
Denis Vlasenko | 28703015ab7 | u_short, ulong exterminated
fdiskXXX: add a bit of sanity (not enough by far) | | |
Denis Vlasenko | f58906b6463 | cmdedit: fix my bug, improve code a bit | | |
Bernhard Reutner-Fischer | 28fbd69bf8a | - use xlisten/xsocket some more. Saves .25 kB | | |
Bernhard Reutner-Fischer | 359d7ca0e70 | - rename SU_SYSLOG to FEATURE_SU_SYSLOG | | |
Denis Vlasenko | 7f1dc21a5df | cmdedit: use qsort for sorting command completion results; style fixes | | |
Denis Vlasenko | 8eb3b391ad9 | passwd: add option to check passwords for weakness | | |
Denis Vlasenko | 249fabf1a3c | Add option to disable command execution from vi & awk | | |
Denis Vlasenko | 15b213ef5a0 | su: make /etc/shells check configurable
ash: missing ';' | | |
Denis Vlasenko | 908d6b7054f | mount: add getmntent_r stub for dietlibc | | |
Denis Vlasenko | 7cfecc4b36c | xfuncs.c: dietlibc actually HAS fdprintf!
platform.h: define strchrnul for dietlibc
ash: stop using few non-standard ... | | |
Denis Vlasenko | c8e6e35ba40 | nc: add missing cast
xfuncs: add dprintf for dietlibc | | |
Denis Vlasenko | 83e5d6f7723 | A bunch of defined(__GLIBC__) added. static-linking warning expanded | | |
Denis Vlasenko | f42ff904536 | du: dietlibc compat fix, style fixes. Thanks to sampo@symlabs.com. | | |
Denis Vlasenko | fcfe834d501 | ifupdown: strlen(NULL) is a no-no, fixed. Also few micro-optimizations | | |
Denis Vlasenko | 6dca70a0490 | ps: fix buglet, add microoptimization | | |
Denis Vlasenko | db50647d1f5 | httpd: we don't have FEATURE_HTTPD_WITHOUT_INETD anymore,
remove it from Config.in | | |
Denis Vlasenko | b8c77b5b25a | start_stop_daemon: make code a bit more readable | | |
Denis Vlasenko | 0f5905e6178 | od: remove bug-for-bug compat (because the bug was fixed in coreuitls) | | |
Denis Vlasenko | c88894602dc | tar: report error if child dies while writing out the end of tarball
(e.g. out of disk space). | | |
Denis Vlasenko | b131b271a0d | start_stop_daemon: fix bug where any program name was "matching"
processes for which readlink(/proc/N/exe) fails | | |
Denis Vlasenko | 7cdc54ff596 | fix/shorten some usage strings | | |
Denis Vlasenko | 10f7dd1ea1c | tftp: corrupted input packets were killing retransmits - fixed | | |
Denis Vlasenko | 0a10da29a70 | diff: comment - explain what happens when hunk fails to apply | | |
Denis Vlasenko | f7583d89b07 | patch: fix double-free (bug 1120) | | |
Denis Vlasenko | 9f739445cd3 | inline strcmp(s, "-") [actually macro-ize it for now - gcc is too stupid] | | |
Denis Vlasenko | a597aaddfa7 | s/extern inline/static ATTRIBUTE_ALWAYS_INLINE/g
xstrtou: disallow leading '+' | | |
Denis Vlasenko | 3469c185e50 | wget: smallish optimization | | |
Denis Vlasenko | 6a1d661036f | diff: fix -q exit code
last_char_is: sacrifice 9 bytes but avoid double-scan | | |
Denis Vlasenko | 79e77cdbed1 | site: add link to directory with patches | | |
Denis Vlasenko | cda6c636ca3 | re-applying first post-1.3.x change
version change to 1.4.0.svn | | |
Denis Vlasenko | 44b2ea786ea | back out last change - need to make busybox-1_3-stable branch first | | |
Bernhard Reutner-Fischer | 728534b3cb2 | - table support for ip route | | |
Bernhard Reutner-Fischer | 56b956952ec | - minor shrinkage | | |
Denis Vlasenko | f7b0d4a3e5f | Update busybox.net webpage with 1.3.0 announcement | | |
Denis Vlasenko | a883fa4ceea | exterminate last bzero's
version bump to 1.3.0 | | |
Bernhard Reutner-Fischer | 9729e65706f | - honor CONFIG_DEBUG | | |
Bernhard Reutner-Fischer | 5b6f776fe9f | - remove warning about unused depth parameter in add_to_dirlist()
- make one variable static and add comment about wh... | | |
Denis Vlasenko | 35a4bbe74f8 | date: -R shouldn't use locale | | |
Denis Vlasenko | 5e2db5e8ee5 | build system: small fix for "release" target to work | | |
Denis Vlasenko | 5fa71487610 | build system: add "release" target
find: support -size N (needed for above) | | |
Denis Vlasenko | 16c2c700fd2 | passwd: fix indentation | | |
Denis Vlasenko | db2b52425dc | passwd: added comment | | |
Denis Vlasenko | 900406c359c | passwd: shrink by ~10 bytes, use PRNG instead of usleep. | | |
Bernhard Reutner-Fischer | 6f0540e7eca | - remove functions marked as LEGACY in SUSv3 and use their modern counterparts. | | |
Bernhard Reutner-Fischer | 32f3ebf08f1 | - add an anchor to let me point people to FAQ.html#standalone_shell
easily. | | |
Denis Vlasenko | 2ea630f9a50 | bb_makedev: fix for glibc 2.3.2
sed: fix C++ style declaration | | |
Denis Vlasenko | 2f8f71b20db | sed: style fixes | | |
Denis Vlasenko | b15b7f7a4a0 | more: fix for case when _FILE_OFFSET_BITS is not #defined.
samll size improvement. | | |
Bernhard Reutner-Fischer | 57d83ff5f9e | - Proposed fix to make aliases work (with uClibc-current).
See comment in the patch about the change introduced in ... | | |
Bernhard Reutner-Fischer | 1819eee4361 | - Improve wording in error message. | | |
Bernhard Reutner-Fischer | 95da177b095 | - s/:\t\t/\t/ for two helptexts. | | |
Bernhard Reutner-Fischer | b7c50c9896d | - remove a warning that was not ment to be checked in. | | |
Bernhard Reutner-Fischer | feea1b972ce | - better distinction between CFLAGS and CPPFLAGS. | | |
Bernhard Reutner-Fischer | bc95f579322 | - adjust to kernel's build infrastructure. | | |
Bernhard Reutner-Fischer | 882e60c4424 | - shrink less.
01a: svn version
01b: merge past_eof and inp_stdin into flags.
01c: merge match_backwards into flags.
... | | |
Bernhard Reutner-Fischer | bbda98f14c6 | - cosmetic change to avoid warnings about eventual padding/packing. | | |
Bernhard Reutner-Fischer | bb59f02218d | - make sure we pickup the correct defines. Guards against 2.6.19 kernel-headers. | | |
Bernhard Reutner-Fischer | 91d4a2dac3a | - commentary typo | | |
Denis Vlasenko | 1375bc7b678 | sed: fix handling of files not ending in '\n' | | |
Denis Vlasenko | 8b22b07bc59 | sed: improve handling of NULs | | |
Denis Vlasenko | becd8c538cc | passwd: made smaller by ~130 bytes. size can go negative
if current trend will continue ;) | | |
Bernhard Reutner-Fischer | 732268fe697 | - provide central knob to turn off RPC related options. | | |
Denis Vlasenko | 4c87d4f2429 | passwd: micro-optimization | | |
Denis Vlasenko | eb98be02ac2 | "kernel config" -> "busybox config"
suggested by Roberto A. Foglietta <roberto.foglietta@gmail.com> | | |
Denis Vlasenko | 93f6aa6bca1 | "make bigdata" biggest offender dealt with:
xmalloc 16Kb buffer instead of keeping it in bss | | |
Denis Vlasenko | 610c4aa197e | ed: convert style to bbox's. No code changes. | | |
Denis Vlasenko | 002526481ee | passwd: small size optimization. salt generation improved
(really generated different salts even if called back-to-ba... | | |
Denis Vlasenko | ab24e18c7a3 | passwd: rework:
* do not make backup copy by copying (just retain old file)
* correctly fall back to /etc/passwd if u... | | |
Bernhard Reutner-Fischer | b8bb27c7ea3 | - save 4 bytes
text data bss dec hex filename
764 0 80 844 34c vlock.o.oorig... | | |
Denis Vlasenko | 28bb84bd4e2 | Well, I am not 100.00% usre that uint16 will suffice there.
We don't lose anything by using 'unsigned' instead. | | |
Denis Vlasenko | 016a82e279f | another -90 bytes. That #define is **evil** | | |
Denis Vlasenko | 66b86c69024 | mkfs.minix: more cleanups, -~300 bytes of code.
Added debugging support. | | |
Denis Vlasenko | c6ce8733dda | cut 0.5k off mkfs.minix
assorted strtoul fixes (that's what brought me into minix)... | | |
Denis Vlasenko | a35c9e91ba5 | httpd: fix decode of '/' when called via -d | | |
Denis Vlasenko | 2425bdce34c | od: fix buglet in --traditional, microoptimization,
document coreutils bug
bloat-o-meter: account for objects in ... | | |
Next → |