aboutsummaryrefslogtreecommitdiff
path: root/shell (follow)
Commit message (Collapse)AuthorAgeFilesLines
* - improve spellingBernhard Reutner-Fischer2007-01-291-2/+2
|
* preparatory patch for -Wwrite-strings #2Denis Vlasenko2007-01-292-15/+16
|
* cleanups: unnecessary casts, unified const_1, eliminate cross-.c fileDenis Vlasenko2007-01-221-1/+1
| | | | | prototypes (heresy!), add spaces in places like "flags&NETSTAT_CONNECTED", removed unused #defines, #ifdef -> #if, use uint32_t for ipv4 addrs.
* move shell/cmdedit.c -> libbb/lineedit.cDenis Vlasenko2007-01-221-1798/+0
|
* cmdedit is not a 'command' editing anymore, it's just editing (generic),Denis Vlasenko2007-01-227-129/+69
| | | | so rename stuff accordingly.
* cmdedit: fix breakageDenis Vlasenko2007-01-221-24/+23
|
* cmdedit.h: removeDenis Vlasenko2007-01-221-1/+0
|
* cmdedit: stop playing dirty games with atexitDenis Vlasenko2007-01-221-37/+24
|
* Convert cmdedit into more generic line input facilityDenis Vlasenko2007-01-227-255/+251
| | | | | | (make history and completion optional at runtime). Use it for fdisk, as an example. Some unrelated fixes in fdisk are also here.
* Introduce FEATURE_EDITING_FANCY_KEYS, so that user can disableDenis Vlasenko2007-01-212-62/+37
| | | | less-known keys (e.g. Ctrl-B/E/F)
* cmdedit: more optimizationsDenis Vlasenko2007-01-211-137/+109
|
* cmdedit: small optimizationsDenis Vlasenko2007-01-211-73/+104
|
* sanitize cmdedit a bit (group functions by task etc)Denis Vlasenko2007-01-212-395/+368
|
* Introduce FEATURE_EXEC_PREFER_APPLETS = "re-execute our ownDenis Vlasenko2007-01-211-0/+4
| | | | | | executable if we asked to exec someting with argv[0] == known_applet" Use it in init. Also respect PATH in init, remove explicit "/sbin" etc from exec. Patch by Gabriel L. Somlo <somlo@cmu.edu>
* openvt,getty,vfork_daemon_rexec,mount: tighten up fd cleanup codeDenis Vlasenko2007-01-192-4/+4
| | | | | | | | | (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();
* fix subtle bug inherited from dashDenis Vlasenko2007-01-181-4/+8
|
* Trailing whitespace removal over entire treeDenis Vlasenko2007-01-112-9/+9
|
* execute "safe applets" exev if not standalone shellDenis Vlasenko2007-01-101-1/+1
| | | | (patch by "Eric Spakman" <E.Spakman@inter.nl.net>)
* stty: fix width of a field for ppc32Denis Vlasenko2007-01-011-2/+5
| | | | | sort: fix -u to match coreutils 6.3 msh: compile fix (my fault)
* msh: double "static char line[LINELIM]" etc deleted.Denis Vlasenko2007-01-011-87/+138
| | | | | massive amounts of assignments-in-ifs deleted (some of which were VERY nasty)
* * precision requires the argument be an integer, not size_tMike Frysinger2006-12-281-1/+1
|
* ash: is_safe_applet mustn't affect disabled appletsDenis Vlasenko2006-12-261-16/+33
|
* merge post-1.3.0 fixesDenis Vlasenko2006-12-261-2/+2
|
* style fixesDenis Vlasenko2006-12-264-10/+10
| | | | last xcalloc replaced by xzalloc
* random tiny size savingsDenis Vlasenko2006-12-242-16/+8
|
* less: implement waiting for input using select(). Rather tricky business.Denis Vlasenko2006-12-241-1/+1
| | | | But we do not read entire input anymore up-front.
* #define FEATURE_GETUSERNAME_AND_HOMEDIR should be always #definedDenis Vlasenko2006-12-231-3/+2
|
* remove useless casts (type*) xzalloc(...)Denis Vlasenko2006-12-221-1/+1
|
* removal of commented-out cruftDenis Vlasenko2006-12-221-1/+0
|
* cmdedit: reformat code a bit, no algorithm changesDenis Vlasenko2006-12-211-233/+230
|
* fix type character mixup in command completionDenis Vlasenko2006-12-211-35/+26
|
* introduce LONE_CHAR (optimized strcmp with one-char string)Denis Vlasenko2006-12-211-1/+1
|
* cmdedit: fix my bug, improve code a bitDenis Vlasenko2006-12-191-31/+20
|
* cmdedit: use qsort for sorting command completion results; style fixesDenis Vlasenko2006-12-191-132/+104
|
* su: make /etc/shells check configurableDenis Vlasenko2006-12-191-1/+1
| | | | ash: missing ';'
* xfuncs.c: dietlibc actually HAS fdprintf!Denis Vlasenko2006-12-181-9/+11
| | | | | platform.h: define strchrnul for dietlibc ash: stop using few non-standard functions
* A bunch of defined(__GLIBC__) added. static-linking warning expandedDenis Vlasenko2006-12-181-3/+1
|
* inline strcmp(s, "-") [actually macro-ize it for now - gcc is too stupid]Denis Vlasenko2006-12-162-8/+8
|
* fix remaining survivors of the return(a) cleanupDenis Vlasenko2006-11-272-5/+5
|
* style cleanup: return(a) -> return a, part 2Denis Vlasenko2006-11-273-150/+151
|
* style cleanup: return(a) -> return a, part 1Denis Vlasenko2006-11-274-97/+99
|
* hunt down improper include <>, make mkswap output 4Gb+ friendlyDenis Vlasenko2006-11-241-1/+1
|
* httpd: LC_TIME locale _must_ be POSIX to httpd! We speak over the net!Denis Vlasenko2006-11-212-5/+1
|
* rodata cleanup. "unable to" == "cannot". -300 bytesDenis Vlasenko2006-11-181-1/+1
|
* add -Wundef, fix uncovered bugsDenis Vlasenko2006-11-171-27/+28
|
* remove duplicate flag declsMike Frysinger2006-11-151-3/+3
|
* Fix kbuild bugs noticed by Bernhard Fischer <rep.nop@aon.at>Denis Vlasenko2006-11-022-10/+9
|
* #if CONFIG_xxx -> #if ENABLE_xxxDenis Vlasenko2006-11-012-9/+9
|
* rename functions to more understandable namesDenis Vlasenko2006-10-261-2/+2
|
* silly size savings and capitalization fixesDenis Vlasenko2006-10-262-3/+3
|