History log of /netbsd/bin/csh/csh.c (Results 1 – 25 of 56)
Revision Date Author Comments
# 84e62ad1 15-Sep-2022 martin <martin@NetBSD.org>

Fix the build for variants that do not define EDIT.


# 29c28744 14-Sep-2022 christos <christos@NetBSD.org>

Update editing before prompt printing.


# 2795a372 14-Sep-2022 christos <christos@NetBSD.org>

defer editing setup/cleanup to when we are interactive.


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

(

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

(part 2, the instance in this file was as far as I can tell
inexplicably missed by CVS on the first go...)

show more ...


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

Clarify some comments.


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

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


# ae682804 03-Apr-2020 joerg <joerg@NetBSD.org>

Don't depend on common declarations.


# 0d4f5a11 12-Jan-2020 christos <christos@NetBSD.org>

remove unused


# 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


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


# 16ed1862 22-Jan-2012 christos <christos@NetBSD.org>

From tnozaki@: make fpos_t a complex object that keeps track of the parse
state of the stream. Change argument of the seek function to funopen() from
fpos_t to off_t. Make f{g,s}etpos() use the new f

From tnozaki@: make fpos_t a complex object that keeps track of the parse
state of the stream. Change argument of the seek function to funopen() from
fpos_t to off_t. Make f{g,s}etpos() use the new fpos_t struct, while providing
backwards compatible entry points. Approved by releng@

show more ...


# 007a7cf0 29-Aug-2011 joerg <joerg@NetBSD.org>

Use __dead


# 2fe2731d 20-Jul-2008 lukem <lukem@NetBSD.org>

Remove the \n and tabs from the __COPYRIGHT() strings.


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


# a640fe8c 24-Apr-2006 snj <snj@NetBSD.org>

It's "its."


# 6310b596 26-Jun-2005 christos <christos@NetBSD.org>

sprinkle a little const, and now everything compiles with WARNS=3


# 287d684b 19-Aug-2004 christos <christos@NetBSD.org>

Deal with RESCUE


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


# b3df6303 16-Jan-2003 kleink <kleink@NetBSD.org>

Rename `sigset' locals to avoid symbol shadowing warning.


# a2278794 06-Jan-2003 wiz <wiz@NetBSD.org>

descriptor, not decriptor.


123