summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2007-01-05Stop tracking buffer size - it is a constant.Denis Vlasenko
Stop ignoring write errors. Fix bugs in this line: rc->buffer_size = read(rc->fd, RC_BUFFER, rc->buffer_size); (a) should use safe_read() (b) just ONE short read (e.g. 4 bytes) will make ALL future reads short!
2007-01-05simplify access to buffer, making code a bit smallerDenis Vlasenko
2007-01-04- remove duplicate includesBernhard Reutner-Fischer
2007-01-04syslogd: start using bb_common_bufsiz1 instead of stack/mallocDenis Vlasenko
logger: optimize, also use bb_common_bufsiz1 (~40 bytes) tested to eat arbitrarily-sized input at high speed - ok
2007-01-04syslogd: stop doing open/fstat/lseek/close on _every_ writeDenis Vlasenko
(still doing it if more than a second passed in between). Costs ~40 bytes.
2007-01-04new libbb func: xmalloc_realpath (+ use it where makes sense)Denis Vlasenko
syslogd, logread: add debugging code (disabled) syslogs: drastically smaller bss; fix "-C n" behaviour
2007-01-04syslogd: almost rewritten. Had several obvious bugs...Denis Vlasenko
2007-01-04- spelling fixBernhard Reutner-Fischer
2007-01-04klogd: small optimizationsDenis Vlasenko
(btw, I looked into syslogd... that's frightening!)
2007-01-03fix allnoconfig build. the most useful fix of the month. ;)Denis Vlasenko
[spotted by Bernhard Fischer <rep.nop@aon.at>]
2007-01-03httpd: read cgi output with full_read, not safe_readDenis Vlasenko
(avoids mangling of HTTP headers)
2007-01-03wget: always print port# in 'Host' header (smaller code)Denis Vlasenko
2007-01-03ping[6]: don't do htons(a++), it can be a macroDenis Vlasenko
2007-01-03wget: print port# in 'Host' header, if different from 80Denis Vlasenko
2007-01-03ftpgetput: fix PASV mode, fix xatou0induced breakage,Denis Vlasenko
improve error message, guard against garbage from remote server being printed. ~20 bytes code growth
2007-01-03chown: fix handling of "user.group" notationDenis Vlasenko
2007-01-03find: fix misplaced #else (fix by Harald Kuthe <trhoudini@hotmail.com>)Denis Vlasenko
2007-01-03fdisk: remove 8k buffer from bss - OSF labelsDenis Vlasenko
are not THAT common anyway
2007-01-03convert calloc to xzallocDenis Vlasenko
fix sleep-on-die option
2007-01-03extern variable declaration in a .c file is heresy - fixing itDenis Vlasenko
2007-01-03fsck_minix: tiny optimizationDenis Vlasenko
2007-01-03forgot to svn add util-linux/minix.h :(Denis Vlasenko
2007-01-03fbset: move variable from data to bssDenis Vlasenko
fsck_minix: fix fallout
2007-01-03factor out minix structures/constants into minix.hDenis Vlasenko
fsck_minix: optimizations
2007-01-03fsck_minix: optimizations. ~130 bytesDenis Vlasenko
2007-01-03introduce small[u]intDenis Vlasenko
fsck_minix: use it for flag variables. 140 bytes saved
2007-01-02silly style fixesDenis Vlasenko
2007-01-02Remove networking/libiproute/linux/pkt_sched.hDenis Vlasenko
(and networking/libiproute/linux/ since it become empty). Style fixes.
2007-01-02str2u() is only used when FEATURE_SORT_BIG is enabledMike Frysinger
2007-01-02convert usage compressed command into the new cmd styleMike Frysinger
2007-01-01awk: style fixesDenis Vlasenko
2007-01-01awk: undo locale setting for numbers - or else parsingDenis Vlasenko
can act quite mysteriously date: add if(ENABLE_LOCALE_SUPPORT)
2007-01-01awk: style cleanup. A lot of rw data moved to roDenis Vlasenko
(still has quite a lot of statics etc...). getopt32-ification.
2007-01-01stty: fix width of a field for ppc32Denis Vlasenko
sort: fix -u to match coreutils 6.3 msh: compile fix (my fault)
2007-01-01msh: double "static char line[LINELIM]" etc deleted.Denis Vlasenko
massive amounts of assignments-in-ifs deleted (some of which were VERY nasty)
2006-12-31rt_names: stop allocating 5k in rwdataDenis Vlasenko
objsizes: don't show build machinery's object modules
2006-12-31less: fix <tab><backspace> bugletDenis Vlasenko
2006-12-31less: interpret backspace.Denis Vlasenko
less is officially declared PAGER-capable! ;) (this includes viewing of manpages)
2006-12-31iproute: remove double get_hz optimizationDenis Vlasenko
2006-12-31remove commented out #includes etcDenis Vlasenko
move get_hz to the only caller
2006-12-31stop using __u32 etc. uint32_t is there for a reasonDenis Vlasenko
2006-12-31fixes from Yann E. MORIN <yann.morin.1998@anciens.enib.fr>Denis Vlasenko
2006-12-31convert include/autoconf.h split and include/bbconfigopts.h commands into ↵Mike Frysinger
the new cmd style
2006-12-31Yann E. MORIN. writes: i pity the fool who doesnt use the z length modifier ↵Mike Frysinger
with size_t types
2006-12-30about.html: update maintainer nameDenis Vlasenko
libbb/Kbuild: less needs xregcomp.o
2006-12-30fixdep.c: avoit doing memcmp in most casesDenis Vlasenko
uidgid_get.c: add forgotten copyright notice pwd/grp/shadow: avoid collisions with libc names
2006-12-30saw commit of vapier@busybox.net (thanks!),Denis Vlasenko
decided to stop doing FOUR memcmp's per each input character. I should have fixed this much earlier...
2006-12-30kill off AUTOCONF_INCLUDED (again) since it tends to get into cat fights ↵Mike Frysinger
with the kernel headers
2006-12-30make sure AUTOCONF_TIMESTAMP is filled up properly ... if user has a ↵Mike Frysinger
timezone of Factory for example, strftime() will overflow the string and leave us without a trailing "\n and all hell breaks loose when we compile
2006-12-30prevent buffer underflows with empty linesMike Frysinger