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

Fix the build for variants that do not define EDIT.


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

Update editing before prompt printing.


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

defer editing setup/cleanup to when we are interactive.


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


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

Clarify some comments.


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

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


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

Don't depend on common declarations.


# 08c40aa9 12-Jan-2020 christos <christos@NetBSD.org>

remove unused


# 1767ce60 05-Jan-2019 christos <christos@NetBSD.org>

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


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


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

WARNS=6 [-Wconversion]


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

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


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


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


# 5bb1ddcc 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