christos
afec7330e3
put back x in xrealloc
2019-01-05 16:56:25 +00:00
christos
1767ce60a2
Welcome to the 21th century csh: retire "ptr_t" now that we have "void *"
2019-01-05 16:54:00 +00:00
maya
bd073e6366
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
2019-01-05 10:51:06 +00:00
christos
8080de59a7
switch to a backtracking instead of a recursive pattern matcher.
2017-04-27 18:50:34 +00:00
christos
37e3924882
WARNS=6 [-Wconversion]
2013-07-16 17:47:43 +00:00
christos
5e9a2dddf3
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.
2013-01-22 20:35:29 +00:00
christos
b79c2ef26a
no need to have cshbool; just make them int
2007-07-16 18:26:09 +00:00
christos
ec01a4a425
PR/36650: Michael van Elst: Get rid of bool, because csh uses bool as a small
...
int.
2007-07-16 14:07:00 +00:00
dogcow
593a9183f0
Rename bool -> cshbool; despite the name, bool actually holds values other
...
than 0 or 1. Fixes PR/36650.
2007-07-16 02:26:50 +00:00
agc
b5b2954259
Move UCB-licensed code from 4-clause to 3-clause licence.
...
Patches provided by Joel Baker in PR 22249, verified by myself.
2003-08-07 09:05:01 +00:00
wiz
1815854042
__STDC__ is always defined on NetBSD.
2002-05-25 23:29:16 +00:00
christos
5d5763b4f5
Fix:
...
% set N2=`echo 1; echo 2; \
? echo 3`
% echo $N2
1 2
so that
% echo $N2
1 2 3
2002-03-08 16:37:45 +00:00
lukem
537f55c6b7
fix WARNS=2
2001-11-03 13:35:39 +00:00
wiz
b771e65ba1
ANSIfication and KNF improvements by Petri Koistinen in bin/13689,
...
with some fixes by me.
2001-09-14 14:03:59 +00:00
christos
0bf6fd0c59
decouple us from stdio's BUFSIZ and boost BUFSIZE to 4K
2000-05-31 22:48:44 +00:00
mycroft
ee9e50eacb
Be more retentive about use of NOTREACHED and noreturn.
1998-07-28 11:41:40 +00:00
mycroft
cdbd74da57
Delint (partially).
1998-07-28 02:23:37 +00:00
kleink
fc5d36f8e4
GLOB_QUOTE is dead; per POSIX, backslash quoting of special characters being
...
enabled is the default behaviour.
1998-06-19 22:58:04 +00:00
kleink
b61a8b646b
GLOB_ABEND -> GLOB_ABORTED
1998-03-31 20:45:25 +00:00
christos
8ea378c6ac
Rename err.h to errnum.h to avoid collision with err.h
...
Fix compiler warnings.
1997-07-04 21:23:50 +00:00
tls
76adbe2bd3
kill register
1997-01-13 17:53:15 +00:00
cgd
49f0ad8601
convert to new RCS id conventions.
1995-03-21 09:01:59 +00:00
mycroft
9dccee4f46
Remove a couple of changes we no longer need.
1994-09-21 00:40:40 +00:00
mycroft
cee2bad89f
Merge 4.4-Lite version.
1994-09-21 00:10:23 +00:00
pk
f5bd9f5624
save state of `gflag' across calls to backeval(), allowing globbing to
...
continue after backquote expansion. (fix for bug #309 )
1994-07-01 20:39:21 +00:00
cgd
4a0f440f45
don't core when handed "grep \'{\' *". also, fix the error message
...
when that happens.
1994-02-07 23:55:37 +00:00
mycroft
e650262491
Patch from Dan Muntz to mimic original csh when doing multiple globbings, some
...
of which don't match anything.
1993-11-03 18:02:57 +00:00
mycroft
a579b792ce
Add RCS identifiers.
1993-08-01 18:59:54 +00:00
cgd
06be60083d
changed "Id" to "Header" for rcsids
1993-03-23 00:22:59 +00:00
cgd
346aa5dd48
added rcs ids to all files
1993-03-22 08:04:00 +00:00
cgd
61f282557f
initial import of 386bsd-0.1 sources
1993-03-21 09:45:37 +00:00