Commit Graph

20 Commits

Author SHA1 Message Date
christos 37e3924882 WARNS=6 [-Wconversion] 2013-07-16 17:47:43 +00:00
christos dcfc467f4d Coverity CID 872: Possible NULL deref. 2006-03-18 06:24:26 +00:00
christos 5653b43bfd Coverity CID 1226: Remove bogus close call. 2006-03-17 22:48:10 +00:00
christos 6310b59691 sprinkle a little const, and now everything compiles with WARNS=3 2005-06-26 19:10:48 +00:00
christos c8fc596cbc Simplify previous; if F_CLOSEM fails, just fall back doing the old thing.
Calling stderror here is not safe, because we might have not setjmp()'ed
yet.
2004-01-06 00:20:16 +00:00
christos 62a68c898b use F_CLOSEM if it is available. 2004-01-05 23:12:30 +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
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
mycroft 5924694d3a Delint (partially). 1998-07-28 02:47:19 +00:00
mycroft cdbd74da57 Delint (partially). 1998-07-28 02:23:37 +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
cgd 49f0ad8601 convert to new RCS id conventions. 1995-03-21 09:01:59 +00:00
mycroft cee2bad89f Merge 4.4-Lite version. 1994-09-21 00:10:23 +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