Age | Commit message (Collapse) | Author | |
---|---|---|---|
2006-12-21 | introduce LONE_CHAR (optimized strcmp with one-char string) | Denis Vlasenko | |
2006-12-21 | less: 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-20 | less: somewhat buggy applet, but nice. Muchly reduced | Denis 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-19 | remove casts from xmalloc() | Denis Vlasenko | |
2006-12-19 | su: make /etc/shells check configurable | Denis Vlasenko | |
ash: missing ';' | |||
2006-12-18 | xfuncs.c: dietlibc actually HAS fdprintf! | Denis Vlasenko | |
platform.h: define strchrnul for dietlibc ash: stop using few non-standard functions | |||
2006-12-18 | nc: add missing cast | Denis Vlasenko | |
xfuncs: add dprintf for dietlibc | |||
2006-12-18 | A bunch of defined(__GLIBC__) added. static-linking warning expanded | Denis Vlasenko | |
2006-12-17 | start_stop_daemon: fix bug where any program name was "matching" | Denis Vlasenko | |
processes for which readlink(/proc/N/exe) fails | |||
2006-12-16 | inline strcmp(s, "-") [actually macro-ize it for now - gcc is too stupid] | Denis Vlasenko | |
2006-12-16 | s/extern inline/static ATTRIBUTE_ALWAYS_INLINE/g | Denis Vlasenko | |
xstrtou: disallow leading '+' | |||
2006-12-16 | diff: fix -q exit code | Denis Vlasenko | |
last_char_is: sacrifice 9 bytes but avoid double-scan | |||
2006-12-12 | build system: small fix for "release" target to work | Denis Vlasenko | |
2006-12-10 | bb_makedev: fix for glibc 2.3.2 | Denis Vlasenko | |
sed: fix C++ style declaration | |||
2006-12-04 | - cosmetic change to avoid warnings about eventual padding/packing. | Bernhard Reutner-Fischer | |
2006-12-02 | sed: improve handling of NULs | Denis Vlasenko | |
2006-12-01 | passwd: made smaller by ~130 bytes. size can go negative | Denis Vlasenko | |
if current trend will continue ;) | |||
2006-11-30 | passwd: small size optimization. salt generation improved | Denis Vlasenko | |
(really generated different salts even if called back-to-back). | |||
2006-11-30 | passwd: 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-29 | cut 0.5k off mkfs.minix | Denis Vlasenko | |
assorted strtoul fixes (that's what brought me into minix)... | |||
2006-11-28 | fix bug in new str -> num convertors | Denis Vlasenko | |
2006-11-27 | erase_mtab: do not limit ourself to 40 mtab entries | Denis Vlasenko | |
2006-11-27 | style cleanup: return(a) -> return a, part 2 | Denis Vlasenko | |
2006-11-27 | style cleanup: return(a) -> return a, part 1 | Denis Vlasenko | |
2006-11-27 | svn add bb_strtonum.c :( | Denis Vlasenko | |
2006-11-27 | safe_strtoXX interface proved to be a bit unconvenient. | Denis Vlasenko | |
Remove it, introduce saner bb_strtoXX. Saved ~350 bytes. | |||
2006-11-26 | Closing 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-26 | small fixes: | Denis Vlasenko | |
fix xstrdup to not grossly overallocate memory use xopen instean of xopen3 in several places etc. | |||
2006-11-25 | tee: 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-25 | small improvements in str -> num convertors | Denis Vlasenko | |
2006-11-25 | regularize str -> num convertors | Denis Vlasenko | |
2006-11-24 | small optimization | Denis Vlasenko | |
2006-11-24 | tar: fix multiple -t and/or -v options handling. | Denis Vlasenko | |
do not process list of files to tar up in reverse order. | |||
2006-11-24 | tar: sanitize option handling | Denis Vlasenko | |
2006-11-24 | tar: fix and sanitize handling of long filenames/linknames | Denis Vlasenko | |
(GNU extensions 'K' and 'L'). We correctly handle them when untarring now, but unfortunately we still don't use them when tarring! That stupid 100 char limit is still there! The biggest problem is that we don't support 'pax' tar format. Linux kernel tarballs are in this format... shame | |||
2006-11-24 | hunt down improper include <>, make mkswap output 4Gb+ friendly | Denis Vlasenko | |
2006-11-24 | svn add makedev.c. Forgot as usual... :( | Denis Vlasenko | |
2006-11-24 | tar: small fixes: | Denis Vlasenko | |
* size-optimize mapping code * kill double close | |||
2006-11-24 | tar: cache [ug]id->username/groupname mappings. Cuts down amount | Denis Vlasenko | |
of open/read/close of /etc/passwd and /etc/group dramatically (we were rereading those for each untarred file!!!) | |||
2006-11-24 | tar: cry murder and bail out if file shrinks under us while we tar it up | Denis Vlasenko | |
2006-11-24 | glibc makedev() is a large inline. Save 700+ bytes by wrapping it | Denis Vlasenko | |
into a function. | |||
2006-11-24 | tar: | Denis Vlasenko | |
* unpack: handle tar header fields which are not NUL terminated * pack: handle 4+GB files correctly * pack: refuse to store 101+ softlinks (was truncating link target name) * pack: mask mode with 07777 | |||
2006-11-22 | introduce setsockopt_reuseaddr(int fd), setsockopt_broadcast(int fd), | Denis Vlasenko | |
use them where appropriate. 200 bytes saved | |||
2006-11-22 | fix double merge | Denis Vlasenko | |
2006-11-22 | telnetd: move generic stuff into libbb. It will make it easy | Denis Vlasenko | |
to make other server applets IPv6-aware too. | |||
2006-11-22 | telnetd: we were having telnetd with is ONLY inetd or ONLY standalone. | Denis Vlasenko | |
What if I need to have both?? This patch introduces CONFIG_FEATURE_TELNETD_STANDALONE: y - both, n - only inetd. | |||
2006-11-21 | xgethostbyname: more readable | Denis Vlasenko | |
2006-11-21 | bb_INET_default[] is really just a const "default", | Denis Vlasenko | |
nothing INET-specific | |||
2006-11-18 | rodata cleanup. "unable to" == "cannot". -300 bytes | Denis Vlasenko | |
2006-11-16 | svlogd: new applet. +9k. Still too big, but it was 12k yesterday. | Denis Vlasenko | |