f824136f6b
gzip cleanup part #4
Denis Vlasenko
2007-01-07 19:38:42 +00:00
ed0f6db35e
gzip cleanup part #3
Denis Vlasenko
2007-01-07 19:38:26 +00:00
30551fd6da
gzip cleanup part #2
Denis Vlasenko
2007-01-07 19:38:06 +00:00
ad403413c7
a ton of gzip changes, split up in compiled and run-tested pieces. Code was rather messy. It's not a bug fix, more like code cleanup.
Denis Vlasenko
2007-01-07 19:37:42 +00:00
7ae93f0fe7
- FIXME: someone broke diff -r - minor shrinkage i had lying around text data bss dec hex filename 7002 8 88 7098 1bba diff.o.orig 6936 8 81 7025 1b71 diff.o
Bernhard Reutner-Fischer
2007-01-07 15:56:09 +00:00
5568b722d4
- a few minor tweaks
Bernhard Reutner-Fischer
2007-01-07 15:53:18 +00:00
70722ec4ce
- pull taskset.tests from the busybox_scratch branch
Bernhard Reutner-Fischer
2007-01-07 15:19:34 +00:00
f0b71c19ae
- add arp to defconfig
Bernhard Reutner-Fischer
2007-01-07 12:18:59 +00:00
b05955e0a5
work around gcc's false warning
Denis Vlasenko
2007-01-07 00:24:49 +00:00
8336f080cb
diff: small optimizations; do not try to diff non-seekable stream (currently we don't support that) sort: fixes. testsuites fixed: sort with non-default leading delim 1 sort with non-default leading delim 2 sort key doesn't strip leading blanks, disables fallback global sort
Denis Vlasenko
2007-01-07 00:21:41 +00:00
8a820b2732
syslogs: a bit better wording in explanation how buffering is allocated
Denis Vlasenko
2007-01-06 22:08:53 +00:00
ea9e35f5dd
- minor shrinkage: -25 bytes or so.
Bernhard Reutner-Fischer
2007-01-06 21:47:09 +00:00
c7a4aa5c99
move [g]zip decompressor state into malloc'ed buffer. size: text data bss dec hex 5256 0 108 5364 14f4 - old 4915 0 0 4915 1333 - new
Denis Vlasenko
2007-01-06 00:03:11 +00:00
3376298b59
Stop tracking buffer size - it is a constant. 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!
Denis Vlasenko
2007-01-05 14:04:47 +00:00
98b8e9487d
simplify access to buffer, making code a bit smaller
Denis Vlasenko
2007-01-05 13:59:05 +00:00
89d49a4236
- remove duplicate includes
Bernhard Reutner-Fischer
2007-01-04 22:13:25 +00:00
a0e2a0a192
syslogd: start using bb_common_bufsiz1 instead of stack/malloc logger: optimize, also use bb_common_bufsiz1 (~40 bytes) tested to eat arbitrarily-sized input at high speed - ok
Denis Vlasenko
2007-01-04 21:22:11 +00:00
b893497151
syslogd: stop doing open/fstat/lseek/close on _every_ write (still doing it if more than a second passed in between). Costs ~40 bytes.
Denis Vlasenko
2007-01-04 18:02:32 +00:00
a9b60e93ee
new libbb func: xmalloc_realpath (+ use it where makes sense) syslogd, logread: add debugging code (disabled) syslogs: drastically smaller bss; fix "-C n" behaviour
Denis Vlasenko
2007-01-04 17:59:59 +00:00
ceab8700df
syslogd: almost rewritten. Had several obvious bugs...
Denis Vlasenko
2007-01-04 17:57:54 +00:00
bfe1950c63
- spelling fix
Bernhard Reutner-Fischer
2007-01-04 15:44:49 +00:00
e428e9d43b
klogd: small optimizations (btw, I looked into syslogd... that's frightening!)
Denis Vlasenko
2007-01-04 03:07:57 +00:00
b8429fb1f4
fix allnoconfig build. the most useful fix of the month. ;) [spotted by Bernhard Fischer <rep.nop@aon.at>]
Denis Vlasenko
2007-01-03 23:23:58 +00:00
a773af3b1d
httpd: read cgi output with full_read, not safe_read (avoids mangling of HTTP headers)
Denis Vlasenko
2007-01-03 23:02:18 +00:00
6dc6ebbf44
awk: undo locale setting for numbers - or else parsing can act quite mysteriously date: add if(ENABLE_LOCALE_SUPPORT)
Denis Vlasenko
2007-01-01 23:53:12 +00:00
f782f52c8c
awk: style cleanup. A lot of rw data moved to ro (still has quite a lot of statics etc...). getopt32-ification.
Denis Vlasenko
2007-01-01 23:51:30 +00:00
b2abef3e54
stty: fix width of a field for ppc32 sort: fix -u to match coreutils 6.3 msh: compile fix (my fault)
Denis Vlasenko
2007-01-01 18:18:04 +00:00
e27f15615f
msh: double "static char line[LINELIM]" etc deleted. massive amounts of assignments-in-ifs deleted (some of which were VERY nasty)
Denis Vlasenko
2007-01-01 06:00:38 +00:00
d1a302b52f
rt_names: stop allocating 5k in rwdata objsizes: don't show build machinery's object modules
Denis Vlasenko
2006-12-31 20:40:20 +00:00
95b307103a
less: interpret backspace. less is officially declared PAGER-capable! ;) (this includes viewing of manpages)
Denis Vlasenko
2006-12-31 19:23:31 +00:00
d514ba226b
convert include/autoconf.h split and include/bbconfigopts.h commands into the new cmd style
Mike Frysinger
2006-12-31 11:46:19 +00:00
5dd76862ef
Yann E. MORIN. writes: i pity the fool who doesnt use the z length modifier with size_t types
Mike Frysinger
2006-12-31 11:34:17 +00:00
4a64c33443
about.html: update maintainer name libbb/Kbuild: less needs xregcomp.o
Denis Vlasenko
2006-12-30 22:03:02 +00:00
cb04ff5c68
fixdep.c: avoit doing memcmp in most cases uidgid_get.c: add forgotten copyright notice pwd/grp/shadow: avoid collisions with libc names
Denis Vlasenko
2006-12-30 21:11:57 +00:00
80602a98bc
saw commit of vapier@busybox.net (thanks!), decided to stop doing FOUR memcmp's per each input character. I should have fixed this much earlier...
Denis Vlasenko
2006-12-30 19:52:28 +00:00
1b3e8179a2
kill off AUTOCONF_INCLUDED (again) since it tends to get into cat fights with the kernel headers
Mike Frysinger
2006-12-30 19:46:38 +00:00
68ffb9a85d
make sure AUTOCONF_TIMESTAMP is filled up properly ... if user has a 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
Mike Frysinger
2006-12-30 19:43:35 +00:00
40ae9b5617
prevent buffer underflows with empty lines
Mike Frysinger
2006-12-30 19:30:20 +00:00
c255f8b492
prevent accessing memory that we dont own
Mike Frysinger
2006-12-30 19:21:48 +00:00
6a5dc5d75a
next bunch of fixes for bugs found by randconfig
Denis Vlasenko
2006-12-30 18:42:29 +00:00
3bba545a54
done a dozen of randconfig test. guess what? ALL failed... these are resulting fixes
Denis Vlasenko
2006-12-30 17:57:03 +00:00
b5a122b6f9
fix for uclibc-without-shadow.h compilation
Denis Vlasenko
2006-12-30 14:46:51 +00:00
d9e4ddc38b
we need to use the compiler driver to invoke LD as LDFLAGS is in the form the compiler driver understands, not the form the linker itself understands, so trying to invoke ld directly and passing it LDFLAGS while invoking the compiler driver in other places and passing it LDFLAGS does not work
Mike Frysinger
2006-12-29 23:27:22 +00:00
c1a339983f
Add link to post-1.3.1 patches to website
Denis Vlasenko
2006-12-28 21:44:43 +00:00
57ec574af7
* precision requires the argument be an integer, not size_t
Mike Frysinger
2006-12-28 21:41:09 +00:00
7fa0fcafca
fix build without shadow support
Denis Vlasenko
2006-12-28 21:33:30 +00:00
9a44c4f91c
bb_xget[pw/gr]nam were horribly misnamed - fixed. uidgid_get -> get_uidgid, add additional param (numeric_ok). Make chown use it. chown: fix "chown user: ...." install: fix incorrect use of bb_xget[pw/gr]nam
Denis Vlasenko
2006-12-28 05:44:47 +00:00
ba092336f0
news.html: Fix bad English
Denis Vlasenko
2006-12-27 09:47:53 +00:00
0de9375ee6
leftover of e2fsck surgery
Denis Vlasenko
2006-12-26 02:51:29 +00:00
c4f623ef2a
put small subset of e2fsprogs back in the tree: lsattr, chattr, fsck. Old e2fsprogs tree is in e2fsprogs/old_e2fsprogs/*.
Denis Vlasenko
2006-12-26 01:30:59 +00:00
64c5402584
remove e2fsprogs. Nobody volunteered to clean up that mess
Denis Vlasenko
2006-12-26 01:25:48 +00:00