christos
1897181a72
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@
2012-01-22 18:36:14 +00:00
joerg
5bb1ddccc2
Use __dead
2011-08-29 14:51:17 +00:00
lukem
2fe2731d3f
Remove the \n and tabs from the __COPYRIGHT() strings.
2008-07-20 00:52:39 +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
snj
a640fe8c43
It's "its."
2006-04-24 19:00:29 +00:00
christos
6310b59691
sprinkle a little const, and now everything compiles with WARNS=3
2005-06-26 19:10:48 +00:00
christos
287d684b47
Deal with RESCUE
2004-08-19 22:31:38 +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
kleink
b3df6303a9
Rename `sigset' locals to avoid symbol shadowing warning.
2003-01-16 09:38:37 +00:00
wiz
a2278794f4
descriptor, not decriptor.
2003-01-06 13:19:51 +00:00
wiz
98c072db3b
Fix a typo in a comment. moritz@jodeit.org via OpenBSD.
2002-07-10 22:22:29 +00:00
wiz
1815854042
__STDC__ is always defined on NetBSD.
2002-05-25 23:29:16 +00:00
christos
971f33821d
% set verbose echo
...
% echo foo >& bar
% cat bar
guess what you get:
echo foo
foo
2002-03-08 17:15:30 +00:00
wiz
8e36d79b4f
Use setprogname. Patch by Petri Koistinen.
2001-09-16 12:20:33 +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
3d0237efed
fix globbing problem when importing $PATH from environment. Reported by
...
Michael Shalayeff.
2000-09-04 17:48:14 +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
9dc385beb1
Delint.
1998-07-28 05:31:22 +00:00
mycroft
5924694d3a
Delint (partially).
1998-07-28 02:47:19 +00:00
mycroft
cdbd74da57
Delint (partially).
1998-07-28 02:23:37 +00:00
mycroft
4d669802e4
const propagation.
1998-07-27 15:25:06 +00:00
fair
0f668275d6
Fix csh to use <paths.h> _PATH_DEFPATH as the default path, absent a PATH
...
from the environment.
1998-04-08 22:35:54 +00:00
kleink
67e49b4bed
Need <time.h> for time() prototype.
1998-04-01 13:50:14 +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
christos
8af8970502
Quote all imported environment variables, so that we don't core dump with
...
set term='unknown*'
./csh
or we don't have security problems with:
set path=('`/bin/rm -fr *`' /usr/local)
./csh
Reported by Donn Seeley...
1996-10-31 23:50:53 +00:00
mycroft
556d212c3d
Use POSIX signal semantics. Change p_pid and p_jobid to pid_t's.
1995-04-29 23:21:28 +00:00
mycroft
7b38403c89
Use POSIX signals.
1995-03-21 18:35:32 +00:00
cgd
49f0ad8601
convert to new RCS id conventions.
1995-03-21 09:01:59 +00:00
mycroft
f5ad44b6ac
Use S_IS*().
1995-01-30 19:30:13 +00:00
mycroft
4d643bf207
Remove `.' from default PATH.
1995-01-20 18:21:16 +00:00
mycroft
2425ddde47
Remove the gratuitous `security' warnings.
1995-01-15 09:47:36 +00:00
mycroft
baccf0fbd1
Eliminate uses of some obsolete functions.
1994-09-23 11:16:28 +00:00
mycroft
cee2bad89f
Merge 4.4-Lite version.
1994-09-21 00:10:23 +00:00
cgd
60471f03e6
minor cleanup
1994-02-12 07:13:32 +00:00
cgd
2ee028a27a
be rational about foreground process groups; pull code in from tcsh!
1993-11-12 15:58:14 +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