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
b6488c1780
trim help texts a bit more
Denis Vlasenko
2006-12-25 14:25:14 +00:00
5a4f0994b0
less: fix regexp search '/' on large files
Denis Vlasenko
2006-12-25 01:23:02 +00:00
7a50a64986
more usage message cleanups
Denis Vlasenko
2006-12-24 17:40:16 +00:00
765996aaea
Cleanup usage messages (-200 bytes). Remove busybox_main from applet table since it is called via separate check
Denis Vlasenko
2006-12-24 16:59:27 +00:00
0ee3999d13
random tiny size savings
Denis Vlasenko
2006-12-24 15:23:28 +00:00
7cea262273
small stupid changes. no code changes
Denis Vlasenko
2006-12-24 07:30:09 +00:00
f4dff77355
less: implement waiting for input using select(). Rather tricky business. But we do not read entire input anymore up-front.
Denis Vlasenko
2006-12-24 07:14:17 +00:00
1d14e6f48c
Always use /usr/share/udhcpc/default.script ([/usr] was depending on CONFIG_xx)
Denis Vlasenko
2006-12-22 11:47:19 +00:00
afc9ff99fd
removal of commented-out cruft
Denis Vlasenko
2006-12-22 00:45:27 +00:00
714701c890
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
2006-12-22 00:21:07 +00:00
0a8a774179
cmdedit: reformat code a bit, no algorithm changes
Denis Vlasenko
2006-12-21 22:27:10 +00:00
d56b47f9a6
fix type character mixup in command completion
Denis Vlasenko
2006-12-21 22:24:46 +00:00
f1282a8792
less: a few fixes for cases where we overflow status line
Denis Vlasenko
2006-12-21 17:03:20 +00:00
f65d1338dc
less: restore TAB display (was showing as inverse I after prev changes :)
Denis Vlasenko
2006-12-21 15:23:45 +00:00
d51d14e36f
less: "(null)" is a bit strange. "standard input" is better :)
Denis Vlasenko
2006-12-21 13:57:37 +00:00
e147a72173
less: how many different kinds of status line we need, three?! small fixes. [prev commit also added control char filtering on input (e.g. regexp input, filename input for 'E' etc)]
Denis Vlasenko
2006-12-21 13:26:54 +00:00
e865e81d34
less: stop dying on bad regexps, quietly pipe data w/o user interaction if stdout is not a tty. size optimizations
Denis Vlasenko
2006-12-21 13:24:58 +00:00