History log of /netbsd/bin/csh/lex.c (Results 1 – 25 of 38)
Revision Date Author Comments
# ff7c84f6 02-Oct-2020 christos <christos@NetBSD.org>

undo previous for 'r' and 'e' modifiers; they should no go further than
the last '/'.


# f846331d 30-Sep-2020 christos <christos@NetBSD.org>

Fix
% set x='a/b c/d.e'
% echo $x:q:h


# f390ba12 09-Aug-2020 dholland <dholland@NetBSD.org>

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 :-)


# 84eb3246 09-Aug-2020 dholland <dholland@NetBSD.org>

Don't cast the value returned from *malloc. No change to compiler output.


# fd79d825 01-Feb-2019 mrg <mrg@NetBSD.org>

compare pointers with NULL not '\0'.


# 7405c8c3 05-Jan-2019 christos <christos@NetBSD.org>

Welcome to the 21th century csh: retire "ptr_t" now that we have "void *"


# f165206b 05-Jan-2019 maya <maya@NetBSD.org>

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


# b314f55d 06-Aug-2013 christos <christos@NetBSD.org>

CID 1060854: Wrong sizeof argument (SIZEOF_MISMATCH)


# c24abf82 16-Jul-2013 christos <christos@NetBSD.org>

WARNS=6 [-Wconversion]


# 8b3d9c1b 23-Jan-2013 christos <christos@NetBSD.org>

make history kind of work :-), turn libedit support on.


# 9fabbb70 22-Jan-2013 christos <christos@NetBSD.org>

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.


# 4eb4d50c 17-Jan-2010 wiz <wiz@NetBSD.org>

Match curly braces in undef(FILEC) case. Found by cppcheck.


# b79c2ef2 16-Jul-2007 christos <christos@NetBSD.org>

no need to have cshbool; just make them int


# ec01a4a4 16-Jul-2007 christos <christos@NetBSD.org>

PR/36650: Michael van Elst: Get rid of bool, because csh uses bool as a small
int.


# 593a9183 16-Jul-2007 dogcow <dogcow@NetBSD.org>

Rename bool -> cshbool; despite the name, bool actually holds values other
than 0 or 1. Fixes PR/36650.


# b807e41c 17-Mar-2006 christos <christos@NetBSD.org>

Coverity CID 1762. Fix resource leak.


# b5b29542 07-Aug-2003 agc <agc@NetBSD.org>

Move UCB-licensed code from 4-clause to 3-clause licence.

Patches provided by Joel Baker in PR 22249, verified by myself.


# 18158540 25-May-2002 wiz <wiz@NetBSD.org>

__STDC__ is always defined on NetBSD.


# 537f55c6 03-Nov-2001 lukem <lukem@NetBSD.org>

fix WARNS=2


# b771e65b 14-Sep-2001 wiz <wiz@NetBSD.org>

ANSIfication and KNF improvements by Petri Koistinen in bin/13689,
with some fixes by me.


# 39096410 14-Dec-2000 simonb <simonb@NetBSD.org>

Need alvec global variable now.


# 0bf6fd0c 31-May-2000 christos <christos@NetBSD.org>

decouple us from stdio's BUFSIZ and boost BUFSIZE to 4K


# 1a5157a6 19-Mar-1999 christos <christos@NetBSD.org>

printf format portability.


# ee9e50ea 28-Jul-1998 mycroft <mycroft@NetBSD.org>

Be more retentive about use of NOTREACHED and noreturn.


# 5924694d 28-Jul-1998 mycroft <mycroft@NetBSD.org>

Delint (partially).


12