summaryrefslogtreecommitdiff
path: root/bin/sh/exec.c
AgeCommit message (Expand)Author
2023-11-26bin: Automated cleanup of cdefs and other formattingWarner Losh
2023-11-26bin: Remove ancient SCCS tags.Warner Losh
2023-09-12sh: introduce a function to iterate over all hashed commandsPiotr Pawel Stefaniak
2023-08-16Remove $FreeBSD$: one-line .c patternWarner Losh
2021-09-23sh: Add -o verify to use O_VERIFY when sourcing scriptsStephane Rochoy
2020-09-01sh: Write absolute path in command -vV and typeJilles Tjoelker
2020-05-30sh: Allow more scripts without #!Jilles Tjoelker
2018-11-09sh: Unify EXERROR and EXEXECJilles Tjoelker
2018-10-27sh: Use exitstatus instead of exerrno to pass EXEXEC statusJilles Tjoelker
2018-07-15sh: Don't treat % specially in CDPATHJilles Tjoelker
2017-05-06sh: Update TOUR and comments for some code changes, some of them old.Jilles Tjoelker
2017-02-28Renumber copyright clause 4Warner Losh
2016-03-13sh: Fix copying uninitialized field 'special'.Jilles Tjoelker
2016-01-03sh: Reduce size of builtins table.Jilles Tjoelker
2015-06-24sh: Fix some arithmetic undefined behaviour.Jilles Tjoelker
2014-07-20sh: Remove prefix() function. Use strncmp() instead.Jilles Tjoelker
2014-05-31sh: Simplify find_command() slightly.Jilles Tjoelker
2014-03-26sh: Fix possible memory leaks and double frees with unexpected SIGINT.Jilles Tjoelker
2013-11-30sh: Prefer memcpy() to strcpy() in most cases. Remove the scopy macro.Jilles Tjoelker
2013-11-10sh: Properly quote alias output from command -v.Jilles Tjoelker
2013-08-30sh: Recognize "--" as end of options in type builtin.Jilles Tjoelker
2013-07-25sh: Remove mkinit.Jilles Tjoelker
2013-04-01sh: Fix various compiler warnings.Jilles Tjoelker
2013-01-14sh: Simplify cd-hash interaction.Jilles Tjoelker
2012-11-05sh: Change cmdtype in tblentry from short to signed char.Jilles Tjoelker
2012-11-03sh: Use C99 flexible array instead of accessing array beyond bounds.Jilles Tjoelker
2012-07-15sh: Expand assignment-like words specially for export/readonly/local.Jilles Tjoelker
2012-02-11sh: Make 'hash' return 1 if at least one utility is not found.Jilles Tjoelker
2012-01-25Add prototypes, ANSIfy functions definitions to reduce WARNS=6 output.Philippe Charnier
2012-01-01sh: Make various functions static.Jilles Tjoelker
2011-02-05sh: Remove clearcmdentry()'s now unused argument.Jilles Tjoelker
2011-02-05sh: Forget all cached command locations on any PATH change.Jilles Tjoelker
2011-02-05sh: Do not try to execute binary files as scripts.Jilles Tjoelker
2011-02-04sh: Remove special code for shell scripts without magic number.Jilles Tjoelker
2011-02-03sh: Return only 126 or 127 for execve() failures.Jilles Tjoelker
2011-01-09sh: Remove special %builtin PATH entry.Jilles Tjoelker
2010-12-26sh: Allow arbitrary large numbers in CHECKSTRSPACE.Jilles Tjoelker
2010-10-13In the spirit of r90111, depend on c89 and remove the "STATIC" macroDavid E. O'Brien
2010-10-13Consistently use "STATIC" for all functions in order to be able to setDavid E. O'Brien
2010-03-06sh: Improve the command builtin:Jilles Tjoelker
2010-01-01sh: Fix some bugs with backquoted builtins:Jilles Tjoelker
2009-12-31sh: Use PATH= assignment in type.Jilles Tjoelker
2009-12-31sh: Allow command -pv and command -pV (lookup using _PATH_STDPATH).Jilles Tjoelker
2009-12-27sh: Various warning fixes (from WARNS=6 NO_WERROR=1):Jilles Tjoelker
2009-12-24sh: Constify various strings.Jilles Tjoelker
2009-10-06sh: Send the "xyz: not found" message to redirected fd 2.Jilles Tjoelker
2009-08-28sh: Fix crash with empty functions (f() { }) introduced in r196483Jilles Tjoelker
2009-08-23sh: Fix crash when undefining or redefining a currently executing function.Jilles Tjoelker
2009-06-24Designate special builtins as such in command -V and type.Jilles Tjoelker
2009-06-01align coding style with style(9) to avoid misunderstandingsRalf S. Engelschall