Home | History | Annotate | Download | only in csh
History log of /src/bin/csh/sem.c
RevisionDateAuthorComments
 1.32  05-Feb-2020  fox 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@
 1.31  05-Jan-2019  christos Welcome to the 21th century csh: retire "ptr_t" now that we have "void *"
 1.30  05-Jan-2019  maya 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
 1.29  29-Aug-2011  joerg branches: 1.29.42; 1.29.44;
Use __dead
 1.28  16-Jul-2007  christos no need to have cshbool; just make them int
 1.27  16-Jul-2007  christos PR/36650: Michael van Elst: Get rid of bool, because csh uses bool as a small
int.
 1.26  16-Jul-2007  dogcow Rename bool -> cshbool; despite the name, bool actually holds values other
than 0 or 1. Fixes PR/36650.
 1.25  15-Oct-2006  christos sprinkle volatile
 1.24  28-Sep-2004  christos 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.
 1.23  07-Aug-2003  agc Move UCB-licensed code from 4-clause to 3-clause licence.

Patches provided by Joel Baker in PR 22249, verified by myself.
 1.22  12-Jul-2003  itojun strlcpy
 1.21  16-Jan-2003  kleink Rename `sigset' locals to avoid symbol shadowing warning.
 1.20  25-May-2002  wiz __STDC__ is always defined on NetBSD.
 1.19  14-Sep-2001  wiz ANSIfication and KNF improvements by Petri Koistinen in bin/13689,
with some fixes by me.
 1.18  02-Nov-1999  tron Avoid segmenation fault if an external command is invoked in parse only
mode. Problem noted by Josh Lynch PR bin/8732.
 1.17  19-Mar-1999  christos branches: 1.17.4;
add braces for gcc-2.8.1
 1.16  19-Aug-1998  thorpej Add some braces to make egcs happy.
 1.15  28-Jul-1998  mycroft Be more retentive about use of NOTREACHED and noreturn.
 1.14  28-Jul-1998  mycroft Delint.
 1.13  28-Jul-1998  mycroft Delint (partially).
 1.12  28-Jul-1998  mycroft Delint (partially).
 1.11  04-Jul-1997  christos Rename err.h to errnum.h to avoid collision with err.h
Fix compiler warnings.
 1.10  13-Jan-1997  tls kill register
 1.9  27-Sep-1995  jtc Update lseek() constants:
L_SET -> SEEK_SET
L_INCR -> SEEK_CUR
L_XTND -> SEEK_END
 1.8  21-Mar-1995  mycroft Use POSIX signals.
 1.7  21-Mar-1995  cgd convert to new RCS id conventions.
 1.6  23-Sep-1994  mycroft Eliminate uses of some obsolete functions.
 1.5  21-Sep-1994  mycroft Merge 4.4-Lite version.
 1.4  01-Aug-1993  mycroft Add RCS identifiers.
 1.3  23-Mar-1993  cgd changed "Id" to "Header" for rcsids
 1.2  22-Mar-1993  cgd added rcs ids to all files
 1.1  21-Mar-1993  cgd branches: 1.1.1;
Initial revision
 1.1.1.2  20-Sep-1994  mycroft Import original 4.4-Lite version.
 1.1.1.1  21-Mar-1993  cgd initial import of 386bsd-0.1 sources
 1.17.4.1  27-Dec-1999  wrstuden Pull up to last week's -current.
 1.29.44.4  21-Apr-2020  martin Ooops, restore accidently removed files from merge mishap
 1.29.44.3  21-Apr-2020  martin Sync with HEAD
 1.29.44.2  08-Apr-2020  martin Merge changes from current as of 20200406
 1.29.44.1  10-Jun-2019  christos Sync with HEAD
 1.29.42.1  18-Jan-2019  pgoyette Synch with HEAD

RSS XML Feed