History log of /netbsd/bin/ksh/exec.c (Results 1 – 25 of 30)
Revision Date Author Comments
# 822c36bb 03-Jun-2018 kamil <kamil@NetBSD.org>

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>


# ce8041bd 08-May-2018 kamil <kamil@NetBSD.org>

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

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

show more ...


# ed120974 24-Jan-2018 kamil <kamil@NetBSD.org>

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

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>

show more ...


# a1e1dcf1 24-Jan-2018 kamil <kamil@NetBSD.org>

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

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>

show more ...


# 59ca3945 01-Jul-2017 joerg <joerg@NetBSD.org>

Kill enough K&R cruft to build with clang again.


# 13351aa1 30-Jun-2017 kamil <kamil@NetBSD.org>

ksh: Upgrade to C99 <stdbool.h>

This shell already used C99 functions.


# 1fe37413 30-Jun-2017 kamil <kamil@NetBSD.org>

ksh: Drop support for systems without <sys/stat.h>

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

No functional change intended.


# 84720dce 30-Jun-2017 kamil <kamil@NetBSD.org>

ksh: Drop support for systems without functional waitpid(2)


# afd33082 30-Jun-2017 kamil <kamil@NetBSD.org>

ksh: Drop support for systems without handling shebang


# 7a8dcfa3 22-Jun-2017 kamil <kamil@NetBSD.org>

ksh: Drop support for ISC UNIX


# 79a55b5f 22-Jun-2017 kamil <kamil@NetBSD.org>

Reapply removal of code from 90ties for OS/2 Cygwin AIX HPUX SCOUnix

Added missing #endif terminator in emacs.c


# b8542049 22-Jun-2017 kamil <kamil@NetBSD.org>

Temporarily revert previous.

emacs.* gets wrong code in generation


# 7f4c58ac 22-Jun-2017 kamil <kamil@NetBSD.org>

Remove os2 support in ksh(1)

OK by <kre>


# 53df9707 25-Mar-2012 christos <christos@NetBSD.org>

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.


# 5d331600 16-Oct-2011 joerg <joerg@NetBSD.org>

Don't use non-literal format strings.


# 8a8f5729 24-Apr-2006 christos <christos@NetBSD.org>

Coverity CID 2994: Don't leak memory in the perm case.


# 57c8db64 11-Sep-2005 christos <christos@NetBSD.org>

The following should print \"; from OpenBSD
$ cat << EOF
\"
EOF


# a397ec1f 26-Jun-2005 christos <christos@NetBSD.org>

warns=3
- remove param names from function decls
- sprinkle const
- rename shadowed variables
- XXX: there is a lot of fishy __UNCONST going on.


# 4f6457e7 19-Apr-2005 rillig <rillig@NetBSD.org>

Fixed wrong use of the <ctype.h> functions by adding an explicit conversion
to unsigned char. Approved by christos.


# f662a744 07-Jul-2004 mycroft <mycroft@NetBSD.org>

Cleanup of ksh memory handling from OpenBSD, via Stefan Krueger in PR 24962.
Should also fix:
PR 8153
PR 13301
PR 15256
PR 25084


# 6377cac7 23-Jun-2003 agc <agc@NetBSD.org>

Add NetBSD RCS Ids.


# f9b44bb1 25-Sep-2002 provos <provos@NetBSD.org>

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.


# 3eaf37c5 29-Sep-2001 wiz <wiz@NetBSD.org>

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 th

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.

show more ...


# 48ee8d12 20-Oct-1999 hubertf <hubertf@NetBSD.org>

resolve conflicts


# 9dc385be 28-Jul-1998 mycroft <mycroft@NetBSD.org>

Delint.


12