aboutsummaryrefslogtreecommitdiff
path: root/scripts/basic/docproc.c (unfollow)
Commit message (Collapse)AuthorFilesLines
2007-01-05do not expose internal state of [g]zip unpacker.Denis Vlasenko3-47/+51
fix memory leak in inflate_gunzip.
2007-01-05Stopped doing assignments inside expressions.Denis Vlasenko2-58/+110
Who wrote this gem, I wonder? n -= (e = (e = gunzip_wsize - ((d &= gunzip_wsize - 1) > w ? d : w)) > n ? n : e);
2007-01-05decompress_unzip: preparatory patchDenis Vlasenko1-56/+56
2007-01-05Stop tracking buffer size - it is a constant.Denis Vlasenko1-25/+34
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 Vlasenko1-80/+90
2007-01-04- remove duplicate includesBernhard Reutner-Fischer1-5/+0
2007-01-04syslogd: start using bb_common_bufsiz1 instead of stack/mallocDenis Vlasenko3-72/+63
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 Vlasenko1-52/+65
(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 Vlasenko6-93/+103
syslogd, logread: add debugging code (disabled) syslogs: drastically smaller bss; fix "-C n" behaviour
2007-01-04syslogd: almost rewritten. Had several obvious bugs...Denis Vlasenko1-327/+263
2007-01-04- spelling fixBernhard Reutner-Fischer1-1/+1
2007-01-04klogd: small optimizationsDenis Vlasenko1-24/+25
(btw, I looked into syslogd... that's frightening!)
2007-01-03fix allnoconfig build. the most useful fix of the month. ;)Denis Vlasenko1-1/+1
[spotted by Bernhard Fischer <rep.nop@aon.at>]
2007-01-03httpd: read cgi output with full_read, not safe_readDenis Vlasenko1-11/+10
(avoids mangling of HTTP headers)
2007-01-03wget: always print port# in 'Host' header (smaller code)Denis Vlasenko1-9/+2
2007-01-03ping[6]: don't do htons(a++), it can be a macroDenis Vlasenko2-2/+4
2007-01-03wget: print port# in 'Host' header, if different from 80Denis Vlasenko1-2/+9
2007-01-03ftpgetput: fix PASV mode, fix xatou0induced breakage,Denis Vlasenko1-35/+59
improve error message, guard against garbage from remote server being printed. ~20 bytes code growth
2007-01-03chown: fix handling of "user.group" notationDenis Vlasenko1-13/+12
2007-01-03find: fix misplaced #else (fix by Harald Kuthe <trhoudini@hotmail.com>)Denis Vlasenko1-2/+3
2007-01-03fdisk: remove 8k buffer from bss - OSF labelsDenis Vlasenko3-36/+37
are not THAT common anyway
2007-01-03convert calloc to xzallocDenis Vlasenko9-45/+44
fix sleep-on-die option
2007-01-03extern variable declaration in a .c file is heresy - fixing itDenis Vlasenko3-5/+9
2007-01-03fsck_minix: tiny optimizationDenis Vlasenko1-9/+3
2007-01-03forgot to svn add util-linux/minix.h :(Denis Vlasenko2-1/+77
2007-01-03fbset: move variable from data to bssDenis Vlasenko2-25/+25
fsck_minix: fix fallout
2007-01-03factor out minix structures/constants into minix.hDenis Vlasenko2-264/+133
fsck_minix: optimizations
2007-01-03fsck_minix: optimizations. ~130 bytesDenis Vlasenko1-44/+47
2007-01-03introduce small[u]intDenis Vlasenko2-64/+81
fsck_minix: use it for flag variables. 140 bytes saved
2007-01-02silly style fixesDenis Vlasenko1-62/+61
2007-01-02Remove networking/libiproute/linux/pkt_sched.hDenis Vlasenko4-434/+28
(and networking/libiproute/linux/ since it become empty). Style fixes.
2007-01-02str2u() is only used when FEATURE_SORT_BIG is enabledMike Frysinger1-0/+2
2007-01-02convert usage compressed command into the new cmd styleMike Frysinger1-2/+3
2007-01-01awk: style fixesDenis Vlasenko1-27/+23
2007-01-01awk: undo locale setting for numbers - or else parsingDenis Vlasenko2-1/+7
can act quite mysteriously date: add if(ENABLE_LOCALE_SUPPORT)
2007-01-01awk: style cleanup. A lot of rw data moved to roDenis Vlasenko1-294/+293
(still has quite a lot of statics etc...). getopt32-ification.
2007-01-01stty: fix width of a field for ppc32Denis Vlasenko3-98/+148
sort: fix -u to match coreutils 6.3 msh: compile fix (my fault)
2007-01-01msh: double "static char line[LINELIM]" etc deleted.Denis Vlasenko2-89/+140
massive amounts of assignments-in-ifs deleted (some of which were VERY nasty)
2006-12-31rt_names: stop allocating 5k in rwdataDenis Vlasenko2-106/+87
objsizes: don't show build machinery's object modules
2006-12-31less: fix <tab><backspace> bugletDenis Vlasenko1-5/+5
2006-12-31less: interpret backspace.Denis Vlasenko1-0/+13
less is officially declared PAGER-capable! ;) (this includes viewing of manpages)
2006-12-31iproute: remove double get_hz optimizationDenis Vlasenko1-7/+3
2006-12-31remove commented out #includes etcDenis Vlasenko6-42/+22
move get_hz to the only caller
2006-12-31stop using __u32 etc. uint32_t is there for a reasonDenis Vlasenko16-178/+161
2006-12-31fixes from Yann E. MORIN <yann.morin.1998@anciens.enib.fr>Denis Vlasenko3-6/+8
2006-12-31convert include/autoconf.h split and include/bbconfigopts.h commands into ↵Mike Frysinger1-4/+6
the new cmd style
2006-12-31Yann E. MORIN. writes: i pity the fool who doesnt use the z length modifier ↵Mike Frysinger1-1/+1
with size_t types
2006-12-30about.html: update maintainer nameDenis Vlasenko2-1/+3
libbb/Kbuild: less needs xregcomp.o
2006-12-30fixdep.c: avoit doing memcmp in most casesDenis Vlasenko7-108/+191
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 Vlasenko1-17/+22
decided to stop doing FOUR memcmp's per each input character. I should have fixed this much earlier...