History log of /netbsd-src/bin/ksh/expr.c (Results 1 – 13 of 13)
Revision Date Author Comments
# 8f36a40a 03-Jul-2022 kre <kre@NetBSD.org>

Fix core dump caused by
ksh -c '(i=10; echo $((++-+++i)))'
reported by Steffen Nurpmeso (not on a NetBSD list or PR).

Seems pointless to fix just one of the bugs in this thing, but this one was
eas

Fix core dump caused by
ksh -c '(i=10; echo $((++-+++i)))'
reported by Steffen Nurpmeso (not on a NetBSD list or PR).

Seems pointless to fix just one of the bugs in this thing, but this one was
easy enough (and stupid enough). (The "i=10" part is unimportant, as is the sub-shell).

show more ...


# 0f2b5450 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 ...


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

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


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

ksh: Upgrade to C99 <stdbool.h>

This shell already used C99 functions.


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

Don't use non-literal format strings.


# 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.


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

make this build with -Werror


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

resolve conflicts


# 2ab2e20c 12-Jan-1997 tls <tls@NetBSD.org>

RCS ID Police


# e1b2664c 21-Sep-1996 jtc <jtc@NetBSD.org>

import pdksh 5.2.8