summaryrefslogtreecommitdiffstats
path: root/bin/ksh/exec.c (follow)
Commit message (Expand)AuthorAgeFilesLines
* When system calls indicate an error they return -1, not some arbitraryderaadt2019-06-281-5/+5
* Favor usage of __func__ in warning/error messages. Some of them referred to theanton2018-03-151-4/+4
* Introduce internal_warningf() and mark internal_errorf() as noreturnjca2018-01-161-5/+5
* Stop pretending we support building ksh without EDIT/HISTORY supportjca2018-01-151-3/+1
* Add -Wshadow to Makefile and fix the resulting warnings. Many ofmillert2017-12-271-4/+4
* Get rid of a todo by stop declaring variable texec as static and instead zeroinganton2017-12-181-2/+3
* I missed a bit of the indentation fix from Kartik Agaram.millert2016-12-111-4/+4
* When ERREXIT (set -e) is in effect, don't disable it after amillert2016-12-111-3/+11
* In execute() we assign xerrorok to a dummy value if it is NULLmillert2016-12-111-7/+4
* Fix for() loop indentation for TCASE in execute() and add somemillert2016-12-111-6/+8
* rename global "e" to genv to avoid accidental shadowing and aliasing.tedu2015-12-301-31/+31
* Move system headers from sh.h to those files that actually need them.tb2015-12-141-1/+6
* Add uses of areallocarray(). mksh and Bitrig ksh already have similarmmcc2015-11-011-3/+3
* Move string.h include from sh.h to the files that use it.mmcc2015-10-191-1/+2
* Apply style(9) to header includes.mmcc2015-10-191-4/+6
* Drop two useless defines.mmcc2015-10-171-3/+3
* Move a system header include from the global header (sh.h) into themmcc2015-10-171-1/+2
* Make errorf() and bi_errorf() handle a NULL argument.millert2015-09-221-2/+2
* Last of the (thing *)0 -> NULL, from Michael McConville. No binarynicm2015-09-181-8/+8
* Remove unnecessary casts, from Michael McConville. No binary change.nicm2015-09-171-2/+2
* correct spelling of NULL from (char *)0. from Michael McConville.tedu2015-09-151-12/+12
* Replace Tflag typedef with just int; ok tedunicm2015-09-141-4/+3
* Replace newline and space defines by "\n" and " " directly, from Michaelnicm2015-09-101-3/+3
* Convert many atoi() calls to strtonum(), adding range checks and failurederaadt2015-04-181-3/+6
* POSIX specifies that for an AND/OR list, only the last command'smillert2013-06-101-5/+7
* pass "xerrok" status across the execution call stack to more closelyjaredy2009-01-291-33/+43
* Call ERR trap _before_ doing exit handling. Otherwise it's too lateotto2007-09-051-2/+2
* another memory leak fix found by coverity. from netbsd but modified.fgsch2007-08-021-2/+8
* fix lint comments, no functional changes; ok rayjaredy2006-04-101-3/+3
* Simplify savefd() by removing the "noclose" flag and make noclosemillert2006-03-171-7/+6
* fix a few name clashes with libc; found by lint. ok deraadt@otto2005-12-111-10/+10
* remove unused variables and functionsderaadt2005-12-111-2/+2
* Fix " handling in here documents. POSIX says they are not special, sootto2005-09-111-2/+2
* lots of indentation cleanup, now ksh is readable like our other code.deraadt2005-03-301-124/+116
* spacingderaadt2005-03-281-6/+3
* Fix a use-after-free, that causs core dumps if a shell is killedotto2004-12-221-10/+9
* Use stdbool.h instead of rolling our own bools.millert2004-12-221-35/+35
* Ansification plus some minor knf. No binary change on i386 andotto2004-12-201-94/+44
* spacingderaadt2004-12-191-3/+3
* Replace fd_clexec() with calls to fcntl(fd, F_SETFD, FD_CLOEXEC)millert2004-12-181-12/+1
* deregistermillert2004-12-181-12/+12
* Get rid of #ifdef KSH since we don't care about building a V7 style sh andmillert2004-12-181-29/+4
* Remove unused OS dependent #ifdef blocks, #defines and macro abstraction.millert2004-12-181-257/+34
* Unbreak parameter assignment when calling bourne style functions;otto2003-12-151-3/+7
* If "from fd" == "to fd" don't call dup2() or close "from fd".millert2003-11-101-3/+5
* For the >& and <& operators, add a check for "dup from" == "dup to" andmillert2003-11-101-1/+3
* typos from Jared Yanovich;jmc2003-10-221-2/+2
* typos; from Brian Poolejmc2003-02-281-2/+2
* knftodd2002-06-091-5/+5
* Use the volatile specifier to fix warnings about variables beingmillert2002-01-161-6/+2