aboutsummaryrefslogtreecommitdiff
path: root/miscutils
AgeCommit message (Collapse)Author
2007-01-19openvt,getty,vfork_daemon_rexec,mount: tighten up fd cleanup codeDenis Vlasenko
(will close all fd's > 2 on daemonization now) getty: fix "getty -" support, and also do not try to chown/chmod "-" telnetd: fix "lost ctty" bug Yet another attempt on saner function names: bb_sanitize_server_stdio(0/1) -> bb_sanitize_stdio() + bb_daemonize();
2007-01-12random small size optimizationsDenis Vlasenko
2007-01-03convert calloc to xzallocDenis Vlasenko
fix sleep-on-die option
2006-12-31less: fix <tab><backspace> bugletDenis Vlasenko
2006-12-31less: interpret backspace.Denis Vlasenko
less is officially declared PAGER-capable! ;) (this includes viewing of manpages)
2006-12-31fixes from Yann E. MORIN <yann.morin.1998@anciens.enib.fr>Denis Vlasenko
2006-12-30done a dozen of randconfig test. guess what? ALL failed...Denis Vlasenko
these are resulting fixes
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-26style fixesDenis Vlasenko
last xcalloc replaced by xzalloc
2006-12-25less: fix regexp search '/' on large filesDenis Vlasenko
2006-12-24small stupid changes. no code changesDenis Vlasenko
2006-12-24less: implement waiting for input using select(). Rather tricky business.Denis Vlasenko
But we do not read entire input anymore up-front.
2006-12-22time: -200 bytes of textDenis Vlasenko
2006-12-22time: fix option parsing bug, size optimizationsDenis Vlasenko
2006-12-21less: a few fixes for cases where we overflow status lineDenis Vlasenko
2006-12-21less: restore TAB display (was showing as inverse I after prev changes :)Denis Vlasenko
2006-12-21less: "(null)" is a bit strange. "standard input" is better :)Denis Vlasenko
2006-12-21less: how many different kinds of status line we need, three?!Denis Vlasenko
small fixes. [prev commit also added control char filtering on input (e.g. regexp input, filename input for 'E' etc)]
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-16inline strcmp(s, "-") [actually macro-ize it for now - gcc is too stupid]Denis Vlasenko
2006-12-10bb_makedev: fix for glibc 2.3.2Denis Vlasenko
sed: fix C++ style declaration
2006-12-04- shrink less.Bernhard Reutner-Fischer
01a: svn version 01b: merge past_eof and inp_stdin into flags. 01c: merge match_backwards into flags. 01d: add handling of <HOME> and <END> keys, remove set_tty_raw, use fflush_stdout_and_exit 01e: rewrite special-key handling to be smaller. 01f: changing the format saves 4 bytes (alot of places would benefit from this) text data bss dec hex filename 9034 8 648 9690 25da less.o.01a 9023 8 640 9671 25c7 less.o.01b 9027 8 636 9671 25c7 less.o.01c 9068 8 636 9712 25f0 less.o.01d 8990 8 636 9634 25a2 less.o.01e 8986 8 636 9630 259e less.o.01f
2006-11-27style cleanup: return(a) -> return a, part 2Denis Vlasenko
2006-11-27style cleanup: return(a) -> return a, part 1Denis Vlasenko
2006-11-26small fixes:Denis Vlasenko
fix xstrdup to not grossly overallocate memory use xopen instean of xopen3 in several places etc.
2006-11-22- revert r15563 (pull current version of taskset off the busybox_scratch branch)Bernhard Reutner-Fischer
2006-11-18rodata cleanup. "unable to" == "cannot". -300 bytesDenis Vlasenko
2006-11-05rename: compare_string_array -> index_in_str_arrayDenis Vlasenko
introduce index_in_substr_array and use it in iproute2
2006-11-05smart_ulltoa5: make available in libbbDenis Vlasenko
2006-11-01mostly style fixesDenis Vlasenko
2006-10-27last nail into error_msg() (de)capitalizationDenis Vlasenko
2006-10-26rename functions to more understandable namesDenis Vlasenko
2006-10-26remove bb_printf and the likeDenis Vlasenko
2006-10-26silly size savings and capitalization fixesDenis Vlasenko
2006-10-25use skip_whitespace where appropriateDenis Vlasenko
2006-10-24- we take exactly one argument.Bernhard Reutner-Fischer
2006-10-20raidautorun: new applet, by:Denis Vlasenko
Thomas Jarosch (email?) and Bernhard Fischer <rep.nop@aon.at>
2006-10-20message string changes, mostly for consistency, also -32 bytes in .rodataDenis Vlasenko
2006-10-14add open_read_close() and similar stuffDenis Vlasenko
2006-10-12bb_get_[chomped]line_from_file wasn't descriptive enough.Denis Vlasenko
Renaming...
2006-10-11nmeter: new applet. ~4kDenis Vlasenko
Fix build proble on x86_64
2006-10-08attempt to regularize atoi mess.Denis Vlasenko
2006-10-07eject: remove unmounting. It is buggy for many non-trivialDenis Vlasenko
mounts, and can be done as shell script.
2006-10-05eject: -T fixDenis Vlasenko
2006-10-05build system overhaulDenis Vlasenko
2006-10-03bb_applet_name -> applet_nameDenis Vlasenko