aboutsummaryrefslogtreecommitdiff
path: root/bin/sh/exec.c
Commit message (Expand)AuthorAgeFilesLines
* sh: Write absolute path in command -vV and typeJilles Tjoelker2020-09-011-11/+22
* sh: Allow more scripts without #!Jilles Tjoelker2020-05-301-1/+33
* sh: Unify EXERROR and EXEXECJilles Tjoelker2018-11-091-7/+4
* sh: Use exitstatus instead of exerrno to pass EXEXEC statusJilles Tjoelker2018-10-271-3/+2
* sh: Don't treat % specially in CDPATHJilles Tjoelker2018-07-151-22/+30
* sh: Update TOUR and comments for some code changes, some of them old.Jilles Tjoelker2017-05-061-3/+2
* Renumber copyright clause 4Warner Losh2017-02-281-1/+1
* sh: Fix copying uninitialized field 'special'.Jilles Tjoelker2016-03-131-0/+5
* sh: Reduce size of builtins table.Jilles Tjoelker2016-01-031-5/+7
* sh: Fix some arithmetic undefined behaviour.Jilles Tjoelker2015-06-241-3/+2
* sh: Remove prefix() function. Use strncmp() instead.Jilles Tjoelker2014-07-201-1/+1
* sh: Simplify find_command() slightly.Jilles Tjoelker2014-05-311-7/+5
* sh: Fix possible memory leaks and double frees with unexpected SIGINT.Jilles Tjoelker2014-03-261-0/+1
* sh: Prefer memcpy() to strcpy() in most cases. Remove the scopy macro.Jilles Tjoelker2013-11-301-6/+8
* sh: Properly quote alias output from command -v.Jilles Tjoelker2013-11-101-3/+5
* sh: Recognize "--" as end of options in type builtin.Jilles Tjoelker2013-08-301-0/+2
* sh: Remove mkinit.Jilles Tjoelker2013-07-251-1/+0
* sh: Fix various compiler warnings.Jilles Tjoelker2013-04-011-2/+2
* sh: Simplify cd-hash interaction.Jilles Tjoelker2013-01-141-35/+14
* sh: Change cmdtype in tblentry from short to signed char.Jilles Tjoelker2012-11-051-1/+1
* sh: Use C99 flexible array instead of accessing array beyond bounds.Jilles Tjoelker2012-11-031-3/+2
* sh: Expand assignment-like words specially for export/readonly/local.Jilles Tjoelker2012-07-151-0/+13
* sh: Make 'hash' return 1 if at least one utility is not found.Jilles Tjoelker2012-02-111-8/+12
* Add prototypes, ANSIfy functions definitions to reduce WARNS=6 output.Philippe Charnier2012-01-251-1/+1
* sh: Make various functions static.Jilles Tjoelker2012-01-011-1/+2
* sh: Remove clearcmdentry()'s now unused argument.Jilles Tjoelker2011-02-051-7/+6
* sh: Forget all cached command locations on any PATH change.Jilles Tjoelker2011-02-051-24/+1
* sh: Do not try to execute binary files as scripts.Jilles Tjoelker2011-02-051-1/+15
* sh: Remove special code for shell scripts without magic number.Jilles Tjoelker2011-02-041-43/+6
* sh: Return only 126 or 127 for execve() failures.Jilles Tjoelker2011-02-031-12/+5
* sh: Remove special %builtin PATH entry.Jilles Tjoelker2011-01-091-33/+7
* sh: Allow arbitrary large numbers in CHECKSTRSPACE.Jilles Tjoelker2010-12-261-3/+2
* In the spirit of r90111, depend on c89 and remove the "STATIC" macroDavid E. O'Brien2010-10-131-8/+8
* Consistently use "STATIC" for all functions in order to be able to setDavid E. O'Brien2010-10-131-3/+3
* sh: Improve the command builtin:Jilles Tjoelker2010-03-061-7/+17
* sh: Fix some bugs with backquoted builtins:Jilles Tjoelker2010-01-011-1/+1
* sh: Use PATH= assignment in type.Jilles Tjoelker2009-12-311-1/+1
* sh: Allow command -pv and command -pV (lookup using _PATH_STDPATH).Jilles Tjoelker2009-12-311-5/+12
* sh: Various warning fixes (from WARNS=6 NO_WERROR=1):Jilles Tjoelker2009-12-271-23/+22
* sh: Constify various strings.Jilles Tjoelker2009-12-241-15/+17
* sh: Send the "xyz: not found" message to redirected fd 2.Jilles Tjoelker2009-10-061-0/+1
* sh: Fix crash with empty functions (f() { }) introduced in r196483Jilles Tjoelker2009-08-281-1/+1
* sh: Fix crash when undefining or redefining a currently executing function.Jilles Tjoelker2009-08-231-4/+4
* Designate special builtins as such in command -V and type.Jilles Tjoelker2009-06-241-0/+4
* align coding style with style(9) to avoid misunderstandingsRalf S. Engelschall2009-06-011-1/+2
* Report error messages of the builtins 'type' and 'command -V' to stderr insteadStefan Farfeleder2008-11-281-12/+11
* Use eaccess() instead of access() for the type builtin, like we do for theStefan Farfeleder2007-01-181-1/+1
* Return an error status (127) from the builtins 'type' and 'command' (withStefan Farfeleder2007-01-111-2/+5
* Implement some of the differences between special built-ins and other builtinsStefan Farfeleder2006-04-091-4/+11
* Add the POSIX options -v and -V to the 'command' builtin. Both describe theStefan Farfeleder2005-10-281-12/+47