aboutsummaryrefslogtreecommitdiff
path: root/shell
AgeCommit message (Collapse)Author
2007-01-22cleanups: unnecessary casts, unified const_1, eliminate cross-.c fileDenis Vlasenko
prototypes (heresy!), add spaces in places like "flags&NETSTAT_CONNECTED", removed unused #defines, #ifdef -> #if, use uint32_t for ipv4 addrs.
2007-01-22move shell/cmdedit.c -> libbb/lineedit.cDenis Vlasenko
2007-01-22cmdedit is not a 'command' editing anymore, it's just editing (generic),Denis Vlasenko
so rename stuff accordingly.
2007-01-22cmdedit: fix breakageDenis Vlasenko
2007-01-22cmdedit.h: removeDenis Vlasenko
2007-01-22cmdedit: stop playing dirty games with atexitDenis Vlasenko
2007-01-22Convert cmdedit into more generic line input facilityDenis Vlasenko
(make history and completion optional at runtime). Use it for fdisk, as an example. Some unrelated fixes in fdisk are also here.
2007-01-21Introduce FEATURE_EDITING_FANCY_KEYS, so that user can disableDenis Vlasenko
less-known keys (e.g. Ctrl-B/E/F)
2007-01-21cmdedit: more optimizationsDenis Vlasenko
2007-01-21cmdedit: small optimizationsDenis Vlasenko
2007-01-21sanitize cmdedit a bit (group functions by task etc)Denis Vlasenko
2007-01-21Introduce FEATURE_EXEC_PREFER_APPLETS = "re-execute our ownDenis Vlasenko
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>
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-18fix subtle bug inherited from dashDenis Vlasenko
2007-01-11Trailing whitespace removal over entire treeDenis Vlasenko
2007-01-10execute "safe applets" exev if not standalone shellDenis Vlasenko
(patch by "Eric Spakman" <E.Spakman@inter.nl.net>)
2007-01-01stty: fix width of a field for ppc32Denis Vlasenko
sort: fix -u to match coreutils 6.3 msh: compile fix (my fault)
2007-01-01msh: double "static char line[LINELIM]" etc deleted.Denis Vlasenko
massive amounts of assignments-in-ifs deleted (some of which were VERY nasty)
2006-12-28* precision requires the argument be an integer, not size_tMike Frysinger
2006-12-26ash: is_safe_applet mustn't affect disabled appletsDenis Vlasenko
2006-12-26merge post-1.3.0 fixesDenis Vlasenko
2006-12-26style fixesDenis Vlasenko
last xcalloc replaced by xzalloc
2006-12-24random tiny size savingsDenis 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-23#define FEATURE_GETUSERNAME_AND_HOMEDIR should be always #definedDenis Vlasenko
2006-12-22remove useless casts (type*) xzalloc(...)Denis Vlasenko
2006-12-22removal of commented-out cruftDenis Vlasenko
2006-12-21cmdedit: reformat code a bit, no algorithm changesDenis Vlasenko
2006-12-21fix type character mixup in command completionDenis Vlasenko
2006-12-21introduce LONE_CHAR (optimized strcmp with one-char string)Denis Vlasenko
2006-12-19cmdedit: fix my bug, improve code a bitDenis Vlasenko
2006-12-19cmdedit: use qsort for sorting command completion results; style fixesDenis 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-18A bunch of defined(__GLIBC__) added. static-linking warning expandedDenis Vlasenko
2006-12-16inline strcmp(s, "-") [actually macro-ize it for now - gcc is too stupid]Denis Vlasenko
2006-11-27fix remaining survivors of the return(a) cleanupDenis 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-24hunt down improper include <>, make mkswap output 4Gb+ friendlyDenis Vlasenko
2006-11-21httpd: LC_TIME locale _must_ be POSIX to httpd! We speak over the net!Denis Vlasenko
2006-11-18rodata cleanup. "unable to" == "cannot". -300 bytesDenis Vlasenko
2006-11-17add -Wundef, fix uncovered bugsDenis Vlasenko
2006-11-15remove duplicate flag declsMike Frysinger
2006-11-02Fix kbuild bugs noticed by Bernhard Fischer <rep.nop@aon.at>Denis Vlasenko
2006-11-01#if CONFIG_xxx -> #if ENABLE_xxxDenis Vlasenko
2006-10-26rename functions to more understandable namesDenis Vlasenko
2006-10-26silly size savings and capitalization fixesDenis Vlasenko
2006-10-25use skip_whitespace where appropriateDenis Vlasenko
2006-10-20message string changes, mostly for consistency, also -32 bytes in .rodataDenis Vlasenko