Home | History | Annotate | Download | only in ksh
History log of /src/bin/ksh/var.c
RevisionDateAuthorComments
 1.26  08-Sep-2024  rillig s/effect/affect/ in a few places
 1.25  02-Jun-2023  andvar 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.
 1.24  08-May-2018  kamil branches: 1.24.2;
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.23  24-Jan-2018  kamil branches: 1.23.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.22  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.21  01-Jul-2017  joerg Kill enough K&R cruft to build with clang again.
 1.20  30-Jun-2017  kamil ksh: Upgrade to C99 <stdbool.h>

This shell already used C99 functions.
 1.19  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.18  30-Jun-2017  kamil ksh: Drop support for systems with broken <sys/time.h> / <time.h>
 1.17  16-Oct-2011  joerg Don't use non-literal format strings.
 1.16  16-Oct-2011  reed Typo in comment fix from Snader_LB via IRC.
 1.15  02-Aug-2009  dsl 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
 1.14  29-Mar-2006  christos branches: 1.14.26; 1.14.32;
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 :-)
 1.13  19-Mar-2006  christos Coverity CID 1606: Plug memory leak.
 1.12  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.11  23-May-2005  rillig Fixed wrong use of the <ctype.h> functions by adding (unsigned char) casts.
 1.10  28-Oct-2004  dsl Add (unsigned char) casts to tolower/toupper and iscntrl calls.
Fixes PR 27593
 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  02-Nov-2000  christos 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).
 1.6  20-Oct-1999  hubertf branches: 1.6.6;
resolve conflicts
 1.5  04-Nov-1998  christos branches: 1.5.4;
char->unsigned char casts for is*()
 1.4  19-Aug-1998  thorpej Add some braces to make egcs happy.
 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.3  20-Oct-1999  hubertf Import pdksh V5.2.14.
Includes lots of bugfixes.
 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.5.4.1  27-Dec-1999  wrstuden Pull up to last week's -current.
 1.6.6.1  26-Feb-2002  he Pull up revision 1.7 (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.32.1  21-Apr-2010  matt sync to netbsd-5
 1.14.26.1  26-Sep-2009  snj Pull up following revision(s) (requested by tron in ticket #889):
bin/ksh/var.c: revision 1.15
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
 1.23.2.1  21-May-2018  pgoyette Sync with HEAD
 1.24.2.2  21-Apr-2020  martin Ooops, restore accidently removed files from merge mishap
 1.24.2.1  21-Apr-2020  martin Sync with HEAD

RSS XML Feed