History log of /netbsd/bin/ksh/var.c (Results 1 – 25 of 26)
Revision Date Author Comments
# 7d0e1a68 02-Jun-2023 andvar <andvar@NetBSD.org>

follow the steps of Andrew Doran (ad) commit and fix more s/loose/lose/ typos.
also s/beyound/beyond/ and few others along the way, mainly in comments.


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


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

ksh: Drop support for systems with broken <sys/time.h> / <time.h>


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

Don't use non-literal format strings.


# 15f2a5d0 16-Oct-2011 reed <reed@NetBSD.org>

Typo in comment fix from Snader_LB via IRC.


# 6b42da30 02-Aug-2009 dsl <dsl@NetBSD.org>

Support 0xnn for hexadecimal constants - as well as 16#nn.
While here, make '-' only valid once, and at the start of the number.
Fixes PR/40512


# c4378122 29-Mar-2006 christos <christos@NetBSD.org>

Don't leak memory if RJUST|LJUST is specified. This might fix a whole bunch
of Coverity issues, but we'll wait until the next run :-)


# 59586f99 19-Mar-2006 christos <christos@NetBSD.org>

Coverity CID 1606: Plug memory leak.


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


# 42627098 23-May-2005 rillig <rillig@NetBSD.org>

Fixed wrong use of the <ctype.h> functions by adding (unsigned char) casts.


# 7f5b5f6c 28-Oct-2004 dsl <dsl@NetBSD.org>

Add (unsigned char) casts to tolower/toupper and iscntrl calls.
Fixes PR 27593


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


# d2765ed7 02-Nov-2000 christos <christos@NetBSD.org>

PR/11361:Matthias Buelow: Apply patch1 from pdksh site.
- set -x dumps core (shf.c);
- output of "jobs" command is filled with ^A characters (jobs.c);
- "typeset -r foo=bar" fails saying

PR/11361:Matthias Buelow: Apply patch1 from pdksh site.
- set -x dumps core (shf.c);
- output of "jobs" command is filled with ^A characters (jobs.c);
- "typeset -r foo=bar" fails saying foo is readonly (var.c).

show more ...


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

resolve conflicts


# 1f3392af 04-Nov-1998 christos <christos@NetBSD.org>

char->unsigned char casts for is*()


# 45e5a869 19-Aug-1998 thorpej <thorpej@NetBSD.org>

Add some braces to make egcs happy.


# 90647eb8 20-Jul-1997 christos <christos@NetBSD.org>

Fix compiler warnings
Add WARNS=1


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

RCS ID Police


# 5a412486 09-Oct-1996 jtc <jtc@NetBSD.org>

import pdksh 5.2.9


12