aboutsummaryrefslogtreecommitdiff
path: root/libbb (follow)
Commit message (Collapse)AuthorAgeFilesLines
* new libbb func: xmalloc_realpath (+ use it where makes sense)Denis Vlasenko2007-01-041-4/+14
| | | | | syslogd, logread: add debugging code (disabled) syslogs: drastically smaller bss; fix "-C n" behaviour
* convert calloc to xzallocDenis Vlasenko2007-01-034-14/+12
| | | | fix sleep-on-die option
* about.html: update maintainer nameDenis Vlasenko2006-12-301-0/+1
| | | | libbb/Kbuild: less needs xregcomp.o
* next bunch of fixes for bugs found by randconfigDenis Vlasenko2006-12-301-1/+1
|
* bb_xget[pw/gr]nam were horribly misnamed - fixed.Denis Vlasenko2006-12-281-64/+63
| | | | | | | 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
* merge post-1.3.0 fixesDenis Vlasenko2006-12-264-8/+15
|
* style fixesDenis Vlasenko2006-12-264-11/+8
| | | | last xcalloc replaced by xzalloc
* chattr: bugfixes and size reductionDenis Vlasenko2006-12-261-2/+2
|
* leftover of e2fsck surgeryDenis Vlasenko2006-12-262-2/+11
|
* small stupid changes. no code changesDenis Vlasenko2006-12-241-3/+0
|
* missing piece of prev commit: ndelay_offDenis Vlasenko2006-12-241-6/+5
|
* use xbind, xconnect where appropriate.Denis Vlasenko2006-12-231-1/+2
| | | | small edits to arping
* fix recognitions of -SIGname signalsDenis Vlasenko2006-12-231-7/+8
| | | | (fix by Jacques LUDER <jacques.luder@thalesgroup.com>)
* find: fix spurious -exec error messagesDenis Vlasenko2006-12-231-2/+7
| | | | (bug reported by Bernhard Fischer <rep.nop@aon.at>)
* tar et al: die if bb_copyfd_size copies less than asked for.Denis Vlasenko2006-12-221-6/+26
| | | | (we have bb_copyfd_exact_size now for that kind of usage)
* less: stop dying on bad regexps, quietly pipe data w/oDenis Vlasenko2006-12-211-1/+10
| | | | | user interaction if stdout is not a tty. size optimizations
* introduce LONE_CHAR (optimized strcmp with one-char string)Denis Vlasenko2006-12-211-3/+2
|
* less: total cleanup and bugfix.Denis Vlasenko2006-12-211-5/+2
| | | | | | | | | | | | | | 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.
* less: somewhat buggy applet, but nice. Muchly reducedDenis Vlasenko2006-12-201-2/+2
| | | | | | | | 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).
* remove casts from xmalloc()Denis Vlasenko2006-12-192-3/+3
|
* su: make /etc/shells check configurableDenis Vlasenko2006-12-191-18/+7
| | | | ash: missing ';'
* xfuncs.c: dietlibc actually HAS fdprintf!Denis Vlasenko2006-12-181-2/+2
| | | | | platform.h: define strchrnul for dietlibc ash: stop using few non-standard functions
* nc: add missing castDenis Vlasenko2006-12-181-0/+31
| | | | xfuncs: add dprintf for dietlibc
* A bunch of defined(__GLIBC__) added. static-linking warning expandedDenis Vlasenko2006-12-181-1/+1
|
* start_stop_daemon: fix bug where any program name was "matching"Denis Vlasenko2006-12-171-2/+5
| | | | processes for which readlink(/proc/N/exe) fails
* inline strcmp(s, "-") [actually macro-ize it for now - gcc is too stupid]Denis Vlasenko2006-12-161-1/+1
|
* s/extern inline/static ATTRIBUTE_ALWAYS_INLINE/gDenis Vlasenko2006-12-163-6/+5
| | | | xstrtou: disallow leading '+'
* diff: fix -q exit codeDenis Vlasenko2006-12-161-6/+6
| | | | last_char_is: sacrifice 9 bytes but avoid double-scan
* build system: small fix for "release" target to workDenis Vlasenko2006-12-121-0/+4
|
* bb_makedev: fix for glibc 2.3.2Denis Vlasenko2006-12-101-0/+1
| | | | sed: fix C++ style declaration
* - cosmetic change to avoid warnings about eventual padding/packing.Bernhard Reutner-Fischer2006-12-041-9/+9
|
* sed: improve handling of NULsDenis Vlasenko2006-12-021-5/+5
|
* passwd: made smaller by ~130 bytes. size can go negativeDenis Vlasenko2006-12-011-35/+33
| | | | if current trend will continue ;)
* passwd: small size optimization. salt generation improvedDenis Vlasenko2006-11-301-1/+0
| | | | (really generated different salts even if called back-to-back).
* passwd: rework:Denis Vlasenko2006-11-303-13/+13
| | | | | | | | | * 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
* cut 0.5k off mkfs.minixDenis Vlasenko2006-11-292-9/+11
| | | | assorted strtoul fixes (that's what brought me into minix)...
* fix bug in new str -> num convertorsDenis Vlasenko2006-11-281-4/+12
|
* erase_mtab: do not limit ourself to 40 mtab entriesDenis Vlasenko2006-11-271-32/+21
|
* style cleanup: return(a) -> return a, part 2Denis Vlasenko2006-11-273-10/+10
|
* style cleanup: return(a) -> return a, part 1Denis Vlasenko2006-11-272-4/+4
|
* svn add bb_strtonum.c :(Denis Vlasenko2006-11-271-0/+147
|
* safe_strtoXX interface proved to be a bit unconvenient.Denis Vlasenko2006-11-275-181/+13
| | | | | Remove it, introduce saner bb_strtoXX. Saved ~350 bytes.
* Closing bug 730. libbb run_parts is using scandir (a GNUism),Denis Vlasenko2006-11-262-120/+0
| | | | | and it is used only by run_parts applet, so move it there. Also saved ~30 bytes (prolly gcc autoinlining...).
* small fixes:Denis Vlasenko2006-11-261-11/+19
| | | | | | fix xstrdup to not grossly overallocate memory use xopen instean of xopen3 in several places etc.
* tee: fix bug: argv[-1] is a no-no!Denis Vlasenko2006-11-252-19/+32
| | | | | bb_full_fd_action: optimize die_if_ferror: "<applet>: filename" isn't a good err msg, add "..I/O error"
* small improvements in str -> num convertorsDenis Vlasenko2006-11-251-3/+13
|
* regularize str -> num convertorsDenis Vlasenko2006-11-254-237/+267
|
* small optimizationDenis Vlasenko2006-11-241-4/+3
|
* tar: fix multiple -t and/or -v options handling.Denis Vlasenko2006-11-241-8/+7
| | | | do not process list of files to tar up in reverse order.
* tar: sanitize option handlingDenis Vlasenko2006-11-244-90/+88
|