fox
bbacb4192b
bin/csh: Fix the -Wclobber warning.
...
Mark the variable as volatile as it can be clobbered when a vfork occurs.
Error was reported when build.sh was run with MKLIBCSANITIZER=yes flag.
Reviewed by: kamil@
2020-02-05 20:06:17 +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
joerg
5bb1ddccc2
Use __dead
2011-08-29 14:51:17 +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
christos
88e26c5a37
sprinkle volatile
2006-10-15 23:57:21 +00:00
christos
d12e6436f9
Don't forget to FIOCLEX the internal copies of stdout,stderr,stddiag when
...
we invoke a subshell. Otherwise the executed command gets invoked with
17,18,19 open.
2004-09-28 16:07:01 +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
itojun
032ed69f9a
strlcpy
2003-07-12 13:23:55 +00:00
kleink
b3df6303a9
Rename `sigset' locals to avoid symbol shadowing warning.
2003-01-16 09:38:37 +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
tron
64aaf6d18b
Avoid segmenation fault if an external command is invoked in parse only
...
mode. Problem noted by Josh Lynch PR bin/8732.
1999-11-02 19:35:44 +00:00
christos
fc32dd30b5
add braces for gcc-2.8.1
1999-03-19 12:58:33 +00:00
thorpej
341bd18b4a
Add some braces to make egcs happy.
1998-08-19 01:31:46 +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
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
jtc
0ab192c94c
Update lseek() constants:
...
L_SET -> SEEK_SET
L_INCR -> SEEK_CUR
L_XTND -> SEEK_END
1995-09-27 00:38:38 +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
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
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