Home | History | Annotate | Download | only in csh
History log of /src/bin/csh/lex.c
RevisionDateAuthorComments
 1.38  02-Oct-2020  christos undo previous for 'r' and 'e' modifiers; they should no go further than
the last '/'.
 1.37  30-Sep-2020  christos Fix
% set x='a/b c/d.e'
% echo $x:q:h
 1.36  09-Aug-2020  dholland Use the right size for several calloc calls.

When allocating for a Char **, it should use sizeof(Char *), not
sizeof(Char **). This doesn't actually affect the results except
on DS9000 though :-)
 1.35  09-Aug-2020  dholland Don't cast the value returned from *malloc. No change to compiler output.
 1.34  01-Feb-2019  mrg compare pointers with NULL not '\0'.
 1.33  05-Jan-2019  christos Welcome to the 21th century csh: retire "ptr_t" now that we have "void *"
 1.32  05-Jan-2019  maya Remove Free, s/xfree/free/.

Standard C says that free should be a no-op for a NULL pointer, so
we don't need an extra function to do this.

While here, add an XXX about a wrong sounding comment
 1.31  06-Aug-2013  christos branches: 1.31.24; 1.31.26;
CID 1060854: Wrong sizeof argument (SIZEOF_MISMATCH)
 1.30  16-Jul-2013  christos WARNS=6 [-Wconversion]
 1.29  23-Jan-2013  christos make history kind of work :-), turn libedit support on.
 1.28  22-Jan-2013  christos Add a little libedit front end. Could be used as someone's pet project to
learn how to program. It is not enabled in the Makefile, and it states why
there.
 1.27  17-Jan-2010  wiz branches: 1.27.6; 1.27.12;
Match curly braces in undef(FILEC) case. Found by cppcheck.
 1.26  16-Jul-2007  christos no need to have cshbool; just make them int
 1.25  16-Jul-2007  christos PR/36650: Michael van Elst: Get rid of bool, because csh uses bool as a small
int.
 1.24  16-Jul-2007  dogcow Rename bool -> cshbool; despite the name, bool actually holds values other
than 0 or 1. Fixes PR/36650.
 1.23  17-Mar-2006  christos branches: 1.23.4; 1.23.6;
Coverity CID 1762. Fix resource leak.
 1.22  07-Aug-2003  agc Move UCB-licensed code from 4-clause to 3-clause licence.

Patches provided by Joel Baker in PR 22249, verified by myself.
 1.21  25-May-2002  wiz __STDC__ is always defined on NetBSD.
 1.20  03-Nov-2001  lukem fix WARNS=2
 1.19  14-Sep-2001  wiz ANSIfication and KNF improvements by Petri Koistinen in bin/13689,
with some fixes by me.
 1.18  14-Dec-2000  simonb Need alvec global variable now.
 1.17  31-May-2000  christos decouple us from stdio's BUFSIZ and boost BUFSIZE to 4K
 1.16  19-Mar-1999  christos branches: 1.16.8;
printf format portability.
 1.15  28-Jul-1998  mycroft Be more retentive about use of NOTREACHED and noreturn.
 1.14  28-Jul-1998  mycroft Delint (partially).
 1.13  28-Jul-1998  mycroft Delint (partially).
 1.12  29-Mar-1998  mrg make sincereal "static int" rather than just "static"
 1.11  04-Jul-1997  christos Rename err.h to errnum.h to avoid collision with err.h
Fix compiler warnings.
 1.10  13-Jan-1997  tls kill register
 1.9  27-Sep-1995  jtc Update lseek() constants:
L_SET -> SEEK_SET
L_INCR -> SEEK_CUR
L_XTND -> SEEK_END
 1.8  29-Apr-1995  mycroft Use POSIX signal semantics. Change p_pid and p_jobid to pid_t's.
 1.7  21-Mar-1995  cgd convert to new RCS id conventions.
 1.6  23-Sep-1994  mycroft Eliminate uses of some obsolete functions.
 1.5  21-Sep-1994  mycroft Merge 4.4-Lite version.
 1.4  01-Aug-1993  mycroft Add RCS identifiers.
 1.3  23-Mar-1993  cgd changed "Id" to "Header" for rcsids
 1.2  22-Mar-1993  cgd added rcs ids to all files
 1.1  21-Mar-1993  cgd branches: 1.1.1;
Initial revision
 1.1.1.2  20-Sep-1994  mycroft Import original 4.4-Lite version.
 1.1.1.1  21-Mar-1993  cgd initial import of 386bsd-0.1 sources
 1.16.8.1  22-Jun-2000  minoura Sync w/ netbsd-1-5-base.
 1.23.6.1  06-Jan-2008  wrstuden Catch up to netbsd-4.0 release.
 1.23.4.2  13-Dec-2007  gmcgarry Wrong branch.
 1.23.4.1  12-Dec-2007  gmcgarry compile without FILEC defined.
 1.27.12.2  19-Aug-2014  tls Rebase to HEAD as of a few days ago.
 1.27.12.1  25-Feb-2013  tls resync with head
 1.27.6.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.31.26.3  21-Apr-2020  martin Ooops, restore accidently removed files from merge mishap
 1.31.26.2  21-Apr-2020  martin Sync with HEAD
 1.31.26.1  10-Jun-2019  christos Sync with HEAD
 1.31.24.1  18-Jan-2019  pgoyette Synch with HEAD

RSS XML Feed