Home | History | Annotate | Download | only in ksh
History log of /src/bin/ksh/exec.c
RevisionDateAuthorComments
 1.28  03-Jun-2018  kamil branches: 1.28.2;
ksh: Remove symbol clash with libc

Rename local function twalk() to ksh_twak().
This is needed for installing interceptors in sanitizers.

Sponsored by <The NetBSD Foundation>
 1.27  08-May-2018  kamil Stop using the register keyword in ksh(1)

ksh also does some strange things with it, like put it in argument lists.

No functional change intended.

PR bin/53237 ksh: remove register keyword by Nia Alarie
 1.26  24-Jan-2018  kamil branches: 1.26.2;
ksh: Rename a local function tsearch to mytsearch

This removes a clash with well-known libc function tsearch(3) from POSIX.

This allows to build ksh against MSan.

The new name might not be perfect, but long term ksh should be switched to
the libc version.

Sponsored by <The NetBSD Foundation>
 1.25  24-Jan-2018  kamil ksh: Rename a local function tdelete to mytdelete

This removes a clash with well-known libc function tdelete(3) from POSIX.

This allows to build ksh against MSan.

The new name might not be perfect, but long term ksh should be switched to
the libc version.

Sponsored by <The NetBSD Foundation>
 1.24  01-Jul-2017  joerg Kill enough K&R cruft to build with clang again.
 1.23  30-Jun-2017  kamil ksh: Upgrade to C99 <stdbool.h>

This shell already used C99 functions.
 1.22  30-Jun-2017  kamil ksh: Drop support for systems without <sys/stat.h>

In future the order of includes will be normalized with KNF.

No functional change intended.
 1.21  30-Jun-2017  kamil ksh: Drop support for systems without functional waitpid(2)
 1.20  30-Jun-2017  kamil ksh: Drop support for systems without handling shebang
 1.19  22-Jun-2017  kamil ksh: Drop support for ISC UNIX
 1.18  22-Jun-2017  kamil Reapply removal of code from 90ties for OS/2 Cygwin AIX HPUX SCOUnix

Added missing #endif terminator in emacs.c
 1.17  22-Jun-2017  kamil Temporarily revert previous.

emacs.* gets wrong code in generation
 1.16  22-Jun-2017  kamil Remove os2 support in ksh(1)

OK by <kre>
 1.15  25-Mar-2012  christos PR/6764: Charles M. Hannum: `trap 0' does not work in ksh subshells. When
subshells exit normally, use unwind(LEXIT) instead of unwind(LLEAVE) so that
traps get executed.
 1.14  16-Oct-2011  joerg branches: 1.14.2;
Don't use non-literal format strings.
 1.13  24-Apr-2006  christos Coverity CID 2994: Don't leak memory in the perm case.
 1.12  11-Sep-2005  christos The following should print \"; from OpenBSD
$ cat << EOF
\"
EOF
 1.11  26-Jun-2005  christos warns=3
- remove param names from function decls
- sprinkle const
- rename shadowed variables
- XXX: there is a lot of fishy __UNCONST going on.
 1.10  19-Apr-2005  rillig Fixed wrong use of the <ctype.h> functions by adding an explicit conversion
to unsigned char. Approved by christos.
 1.9  07-Jul-2004  mycroft Cleanup of ksh memory handling from OpenBSD, via Stefan Krueger in PR 24962.
Should also fix:
PR 8153
PR 13301
PR 15256
PR 25084
 1.8  23-Jun-2003  agc Add NetBSD RCS Ids.
 1.7  25-Sep-2002  provos change complete-list to first complete and then print a list,
also complete after '=' (dd), and ':' (ssh) and ` (backtick)
improvements from camield@openbsd.org. approved by perry and thorpej.
 1.6  29-Sep-2001  wiz Bring in pdksh-5.2.14-patches.2.
ChangeLog entry:
Mon Jan 29 10:12:31 NST 2001 Michael Rendell (michael@garfield.cs.mun.ca)
* c_exec.c(execute): added rv_prop flag to prevent if/while/for/...
in the presence of "set -e" from causing the shell to exit.
Example:
set -e
(false && echo hi)
[exits shell though it shouldn't]
ChangeLog and example provided by pdksh maintainer, Michael Rendell.
 1.5  20-Oct-1999  hubertf branches: 1.5.6;
resolve conflicts
 1.4  28-Jul-1998  mycroft branches: 1.4.4;
Delint.
 1.3  20-Jul-1997  christos Fix compiler warnings
Add WARNS=1
 1.2  12-Jan-1997  tls RCS ID Police
 1.1  21-Sep-1996  jtc branches: 1.1.1;
Initial revision
 1.1.1.4  20-Oct-1999  hubertf Import pdksh V5.2.14.
Includes lots of bugfixes.
 1.1.1.3  18-Dec-1996  jtc import pdksh 5.2.12
 1.1.1.2  09-Oct-1996  jtc import pdksh 5.2.9
 1.1.1.1  21-Sep-1996  jtc import pdksh 5.2.8
 1.4.4.1  27-Dec-1999  wrstuden Pull up to last week's -current.
 1.5.6.1  26-Feb-2002  he Pull up revision 1.6 (requested by dogcow):
Synchronize with current development version:
o fix problem with ``set -x'' causing a core dump; fixes PR#11361
o fix problem with ``set -e'' causing early exit; fixes PR#11542
o fix various misspellings and nested extern declarations
 1.14.2.1  17-Apr-2012  yamt sync with head
 1.26.2.2  25-Jun-2018  pgoyette Sync with HEAD
 1.26.2.1  21-May-2018  pgoyette Sync with HEAD
 1.28.2.2  21-Apr-2020  martin Ooops, restore accidently removed files from merge mishap
 1.28.2.1  21-Apr-2020  martin Sync with HEAD

RSS XML Feed