summaryrefslogtreecommitdiff
path: root/bin/csh/sem.c
AgeCommit message (Expand)Author
2024-08-20Now that we have dup2(), csh can use it instead of close()+dup().Philip Guenther
2024-07-28block SIGHUP in the same places where SIGCHLD is blocked to protectTheo de Raadt
2019-06-28When system calls indicate an error they return -1, not some arbitraryTheo de Raadt
2016-03-19Turn off the close-on-exec bit with fcntl() instead of ioctl().Kenneth R Westerback
2015-12-26Replace handrolled xfree() function by directly using free(3)mestre
2015-10-26miscellaneous cruft:Christian Weisgerber
2015-02-08delete lots of unnecessary ptr_t casts, and drop a little NULL in as wellTed Unangst
2015-01-16Replace <sys/param.h> with <limits.h> and other less dirty headers whereTheo de Raadt
2010-08-12Use symbolic names for the file descriptors rather than numeric values.Kevin Lo
2009-10-28rcsid[] and sccsid[] and copyright[] are essentially unmaintained (andTheo de Raadt
2003-06-11de-register and ansify functionsTheo de Raadt
2003-06-02Remove the advertising clause in the UCB license which BerkeleyTodd C. Miller
2003-04-15remove final call to Strcpy/s_strcpy; some help from teduTheo de Raadt
2003-01-08bring in strlcpy and strlcat-like things for dealing with Char types,Theo de Raadt
2002-02-19We live in an ANSI C world. Remove lots of gratuitous #ifdef __STDC__ cruft.Todd C. Miller
2002-02-16Part one of userland __P removal. Done with a simple regexp with some minor ...Todd C. Miller
2001-12-01KNFTheo de Raadt
2001-06-22mark signal races, and remove junkTheo de Raadt
2001-05-11use strlcpy instead of strncpy+a[len-1]='\0'Michael Shalayeff
1998-08-26do not *NULL -- i think this patch is rightTheo de Raadt
1998-05-18MAXPATHLEN not MAXPATHLEN+1Theo de Raadt
1997-07-25#if __STDC__ --> #ifdef __STDC__Michael Shalayeff
1997-07-23tabifykstailey
1996-06-23update rcsidTheo de Raadt
1995-10-18initial import of NetBSD treeTheo de Raadt