Home | History | Annotate | Download | only in ksh
History log of /src/bin/ksh/eval.c
RevisionDateAuthorComments
 1.27  03-Oct-2024  rillig bin: fix lint warning "effectively discards 'const'"

For example: src/bin/ed/io.c(339): warning: call to 'strchr' effectively
discards 'const' from argument [346]

No binary change.
 1.26  26-Sep-2019  mlelstv Fix FALLTHROUGH comments.
 1.25  12-Jun-2018  kamil branches: 1.25.2;
Change typ of tilde_ok from int to unsigned int in ksh(1)

UBSan can detect that during switching a login to root there is unportable
left shift operation:

$ su -
Password:
/public/src.git/bin/ksh/eval.c:598:13: runtime error: left shift of 1073741824 by 1 places cannot be represented in type 'int'
#

Sponsored by <The NetBSD Foundation>
 1.24  03-Jun-2018  kamil ksh: Remove symbol clash with libc

Rename local function glob() to ksh_glob().
This is needed for installing interceptors in sanitizers.

Sponsored by <The NetBSD Foundation>
 1.23  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.22  30-Jun-2017  kamil branches: 1.22.4;
ksh: Upgrade to C99 <stdbool.h>

This shell already used C99 functions.
 1.21  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.20  30-Jun-2017  kamil ksh: Drop support for systems without handling shebang
 1.19  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.18  22-Jun-2017  kamil Temporarily revert previous.

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

OK by <kre>
 1.16  04-Oct-2016  joerg Add explicit char cast to show that the value change is intended.
 1.15  18-Oct-2013  christos branches: 1.15.8;
Fixed unused warnings.
 1.14  21-Aug-2011  dholland branches: 1.14.2; 1.14.8;
Requires stdint.h.
 1.13  14-Aug-2011  christos kill gcc-4.5 hack.
 1.12  24-Nov-2009  seanb Back out fix for PR 22846 as it has issues. See PR 22846 for details.
 1.11  25-Apr-2009  lukem Fix most of the -Wsign-compare issues.
 1.10  28-Jan-2007  cbiere branches: 1.10.20;
Applied patch by Arto Huusko from PR bin/24753 to append a slash to "."
and ".." instead of skipping over them fixing completion for patterns
like ".*" and "..*".
 1.9  28-Jan-2007  cbiere * Escape '?', '[', ']' like other meta characters.
* Partial fix for completion when '[' is in the way.
* Addresses PR bin/22846.
 1.8  28-Jan-2007  cbiere Committed patch from PR bin/34755: Append a slash when expanding ~user
to user's home directory.
 1.7  13-May-2006  christos Coverity CID 3368: Fix memory leak.
 1.6  10-May-2006  mrg quell GCC 4.1 uninitialised variable warnings.

XXX: we should audit the tree for which old ones are no longer needed
after getting the older compilers out of the tree..
 1.5  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.4  23-Jun-2003  agc Add NetBSD RCS Ids.
 1.3  20-Oct-1999  hubertf resolve conflicts
 1.2  12-Jan-1997  tls branches: 1.2.6;
RCS ID Police
 1.1  21-Sep-1996  jtc branches: 1.1.1;
Initial revision
 1.1.1.2  20-Oct-1999  hubertf Import pdksh V5.2.14.
Includes lots of bugfixes.
 1.1.1.1  21-Sep-1996  jtc import pdksh 5.2.8
 1.2.6.1  27-Dec-1999  wrstuden Pull up to last week's -current.
 1.10.20.1  13-May-2009  jym Sync with HEAD.

Third (and last) commit. See http://mail-index.netbsd.org/source-changes/2009/05/13/msg221222.html
 1.14.8.1  19-Aug-2014  tls Rebase to HEAD as of a few days ago.
 1.14.2.1  22-May-2014  yamt sync with head.

for a reference, the tree before this commit was tagged
as yamt-pagecache-tag8.

this commit was splitted into small chunks to avoid
a limitation of cvs. ("Protocol error: too many arguments")
 1.15.8.1  04-Nov-2016  pgoyette Sync with HEAD
 1.22.4.2  25-Jun-2018  pgoyette Sync with HEAD
 1.22.4.1  21-May-2018  pgoyette Sync with HEAD
 1.25.2.3  21-Apr-2020  martin Ooops, restore accidently removed files from merge mishap
 1.25.2.2  21-Apr-2020  martin Sync with HEAD
 1.25.2.1  13-Apr-2020  martin Mostly merge changes from HEAD upto 20200411

RSS XML Feed