summaryrefslogtreecommitdiff
path: root/bin/csh/lex.c
AgeCommit message (Expand)Author
2018-10-24Fix some minor issues found by coverity.Martijn van Duren
2018-09-19Fix last commit, I made one of the changes to the wrong line.Todd C. Miller
2018-09-19Compare against NULL, not '\0' for pointers. Quiets a warning onTodd C. Miller
2018-09-18backout last week of csh diffs. They are disasterously broken, on i386Theo de Raadt
2018-09-17Replace any() with strchr(3).Martijn van Duren
2017-08-30Zap redundant assignment; ok jca@anton
2017-01-23Call isatty() before tcgetattr() in the lex. This is a little redundant,Theo de Raadt
2016-04-16Change last non-/gnu/ fcntl(x, F_GETFL, 0) strays to fcntl(x, F_GETFL).Kenneth R Westerback
2016-03-20Use fcntl(fd, F_SETFL, flags) to clear O_NONBLOCK instead ofTodd C. Miller
2015-12-26Replace handrolled xfree() function by directly using free(3)mestre
2015-10-26miscellaneous cruft:Christian Weisgerber
2015-06-17stray char jumped inTheo de Raadt
2015-06-17delete completely bogus (floating? was there an old variable declTheo de Raadt
2015-06-17remove -DFILEC; code does not compile for the -UFILEC case, and anyways,Theo de Raadt
2015-02-08delete tons more castsTed Unangst
2015-02-08delete lots of unnecessary ptr_t casts, and drop a little NULL in as wellTed Unangst
2009-10-28rcsid[] and sccsid[] and copyright[] are essentially unmaintained (andTheo de Raadt
2005-02-25spacingTheo 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-04-07Strlcpy improvements. ok deraadt@Ted Unangst
2003-01-08bring in strlcpy and strlcat-like things for dealing with Char types,Theo de Raadt
2002-06-09knfTodd T. Fries
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
1997-07-25#if __STDC__ --> #ifdef __STDC__Michael Shalayeff
1996-06-23update rcsidTheo de Raadt
1995-10-18initial import of NetBSD treeTheo de Raadt