aboutsummaryrefslogtreecommitdiff
path: root/libbb
AgeCommit message (Collapse)Author
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-03convert calloc to xzallocDenis Vlasenko
fix sleep-on-die option
2006-12-30about.html: update maintainer nameDenis Vlasenko
libbb/Kbuild: less needs xregcomp.o
2006-12-30next bunch of fixes for bugs found by randconfigDenis Vlasenko
2006-12-28bb_xget[pw/gr]nam were horribly misnamed - fixed.Denis Vlasenko
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
2006-12-26merge post-1.3.0 fixesDenis Vlasenko
2006-12-26style fixesDenis Vlasenko
last xcalloc replaced by xzalloc
2006-12-26chattr: bugfixes and size reductionDenis Vlasenko
2006-12-26leftover of e2fsck surgeryDenis Vlasenko
2006-12-24small stupid changes. no code changesDenis Vlasenko
2006-12-24missing piece of prev commit: ndelay_offDenis Vlasenko
2006-12-23use xbind, xconnect where appropriate.Denis Vlasenko
small edits to arping
2006-12-23fix recognitions of -SIGname signalsDenis Vlasenko
(fix by Jacques LUDER <jacques.luder@thalesgroup.com>)
2006-12-23find: fix spurious -exec error messagesDenis Vlasenko
(bug reported by Bernhard Fischer <rep.nop@aon.at>)
2006-12-22tar et al: die if bb_copyfd_size copies less than asked for.Denis Vlasenko
(we have bb_copyfd_exact_size now for that kind of usage)
2006-12-21less: stop dying on bad regexps, quietly pipe data w/oDenis Vlasenko
user interaction if stdout is not a tty. size optimizations
2006-12-21introduce LONE_CHAR (optimized strcmp with one-char string)Denis Vlasenko
2006-12-21less: total cleanup and bugfix.Denis Vlasenko
Doesn't die horribly on binary files anymore. In fact, they _100%_ work now. Control chars are in reverse video, including DEL and that idiocy of VT-10x, Meta-ESC [inventor of which should be prohibited from reproducing]. Regex search is fixed also. When you specify search ('/' key), control chars turn into dots (unhighlighted), and found occurrences highlighted instead. This is reversible. Memory management fixed (was leaky as hell) and optimized. Linewrapping fixed and thoroughly tested. Max buffer size made configurable. ~ 600 bytes saved.
2006-12-20less: somewhat buggy applet, but nice. Muchly reducedDenis Vlasenko
xstrdup'ing and memory consumption. Made linewrap saner. regex matching code was awful - still buggy, but not as leaky as before. Made buffer size configurable. Killed several static and on-stack buffers. Hopefully eliminated staircase effect on Ctrl-C (unable to reproduce).
2006-12-19remove casts from xmalloc()Denis Vlasenko
2006-12-19su: make /etc/shells check configurableDenis Vlasenko
ash: missing ';'
2006-12-18xfuncs.c: dietlibc actually HAS fdprintf!Denis Vlasenko
platform.h: define strchrnul for dietlibc ash: stop using few non-standard functions
2006-12-18nc: add missing castDenis Vlasenko
xfuncs: add dprintf for dietlibc
2006-12-18A bunch of defined(__GLIBC__) added. static-linking warning expandedDenis Vlasenko
2006-12-17start_stop_daemon: fix bug where any program name was "matching"Denis Vlasenko
processes for which readlink(/proc/N/exe) fails
2006-12-16inline strcmp(s, "-") [actually macro-ize it for now - gcc is too stupid]Denis Vlasenko
2006-12-16s/extern inline/static ATTRIBUTE_ALWAYS_INLINE/gDenis Vlasenko
xstrtou: disallow leading '+'
2006-12-16diff: fix -q exit codeDenis Vlasenko
last_char_is: sacrifice 9 bytes but avoid double-scan
2006-12-12build system: small fix for "release" target to workDenis Vlasenko
2006-12-10bb_makedev: fix for glibc 2.3.2Denis Vlasenko
sed: fix C++ style declaration
2006-12-04- cosmetic change to avoid warnings about eventual padding/packing.Bernhard Reutner-Fischer
2006-12-02sed: improve handling of NULsDenis Vlasenko
2006-12-01passwd: made smaller by ~130 bytes. size can go negativeDenis Vlasenko
if current trend will continue ;)
2006-11-30passwd: small size optimization. salt generation improvedDenis Vlasenko
(really generated different salts even if called back-to-back).
2006-11-30passwd: rework:Denis Vlasenko
* do not make backup copy by copying (just retain old file) * correctly fall back to /etc/passwd if user is not in shadow * fix bug with overlong passwd entries * be permissive on some kinds of failures * reduce stack usage * code size: -500 bytes
2006-11-29cut 0.5k off mkfs.minixDenis Vlasenko
assorted strtoul fixes (that's what brought me into minix)...
2006-11-28fix bug in new str -> num convertorsDenis Vlasenko
2006-11-27erase_mtab: do not limit ourself to 40 mtab entriesDenis Vlasenko
2006-11-27style cleanup: return(a) -> return a, part 2Denis Vlasenko
2006-11-27style cleanup: return(a) -> return a, part 1Denis Vlasenko
2006-11-27svn add bb_strtonum.c :(Denis Vlasenko
2006-11-27safe_strtoXX interface proved to be a bit unconvenient.Denis Vlasenko
Remove it, introduce saner bb_strtoXX. Saved ~350 bytes.
2006-11-26Closing bug 730. libbb run_parts is using scandir (a GNUism),Denis Vlasenko
and it is used only by run_parts applet, so move it there. Also saved ~30 bytes (prolly gcc autoinlining...).
2006-11-26small fixes:Denis Vlasenko
fix xstrdup to not grossly overallocate memory use xopen instean of xopen3 in several places etc.
2006-11-25tee: fix bug: argv[-1] is a no-no!Denis Vlasenko
bb_full_fd_action: optimize die_if_ferror: "<applet>: filename" isn't a good err msg, add "..I/O error"
2006-11-25small improvements in str -> num convertorsDenis Vlasenko
2006-11-25regularize str -> num convertorsDenis Vlasenko
2006-11-24small optimizationDenis Vlasenko
2006-11-24tar: fix multiple -t and/or -v options handling.Denis Vlasenko
do not process list of files to tar up in reverse order.
2006-11-24tar: sanitize option handlingDenis Vlasenko