summaryrefslogtreecommitdiff
path: root/bin/csh
AgeCommit message (Expand)Author
2017-06-27in recently commited TIOCSTI replacement code, do not assumeTheo de Raadt
2017-06-22Make sure to abort loops when pressing ^C in csh.anton
2017-06-21Minor style(9) corrections and whitespace cleanup to csh.anton
2017-06-21Replace usage of TIOCSTI in csh using a more common IO-loop where ICANON isanton
2017-06-20Don't try to close every single file descriptor up to _SC_OPEN_MAX in csh.anton
2017-06-17Move win variable.anton
2017-06-16mark files as BUILDFIRST, or write explicit dependencies, so that mostMarc Espie
2017-06-10missing blank before full stop, found with mandoc -TlintIngo Schwarze
2017-01-23Call isatty() before tcgetattr() in the lex. This is a little redundant,Theo de Raadt
2016-10-07suppose we should fix csh while we're at it.Ted Unangst
2016-08-14Don't reinvent rlim_t; when printing it use %llu and cast toPhilip Guenther
2016-08-14Don't call sysconf() in a loop conditional when the loop won't affect itPhilip Guenther
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
2016-03-19Turn off the close-on-exec bit with fcntl() instead of ioctl().Kenneth R Westerback
2016-03-18Replace ioctl(fd, FIOCLEX) with fcntl(fd, F_SETFD, FD_CLOEXEC)Todd C. Miller
2015-12-26Replace handrolled xfree() function by directly using free(3)mestre
2015-12-22Remove a needless allocation cast. No binary change.mmcc
2015-11-11exit() after perror() for pledge failure. Perhaps this got introducedTheo de Raadt
2015-10-28unifdef _PATH_*Christian Weisgerber
2015-10-26miscellaneous cruft:Christian Weisgerber
2015-10-26remove the profiling and debugging ifdefs; ok zhuk@Christian Weisgerber
2015-10-26document the -p and -l file enquiries and explicitly do not document -sChristian Weisgerber
2015-10-26Remove the #define Strfoo() s_strfoo() redirection and move everythingChristian Weisgerber
2015-10-26Clean up cruft made visible by the NLS unifdefing:Christian Weisgerber
2015-10-26unifdef BUILTIN (unused), NLS (always set), SHORT_STRINGS (always set)Christian Weisgerber
2015-10-22setlocale() before pledge()... until we learn moreTheo de Raadt
2015-10-18With TIOCSTI supported in pledge "tty proc", csh is good enough to runTheo de Raadt
2015-09-29Score a hat trick in code cleanup: #ifdef pdp11, /* confuse lint */,Philip Guenther
2015-09-27lint is dead: delete the trivial uses of /* VARARGS[0-9]+ */Philip Guenther
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-06-03better description of internal copyn() functionTheo de Raadt
2015-04-18Convert many atoi() calls to strtonum(), adding range checks and failureTheo de Raadt
2015-02-28Reduce usage of predefined strings in manpages.Anthony J. Bentley
2015-02-08delete tons more castsTed Unangst
2015-02-08remove ptr_t typedef. void * is good enough for csh.Ted Unangst
2015-02-08delete many more ptr_t castsTed Unangst
2015-02-08delete lots of unnecessary ptr_t casts, and drop a little NULL in as wellTed Unangst
2015-02-08it's safe to call free with nullTed Unangst
2015-01-19remove #ifndef #define blocks trying to handle lack of BUFSIZTheo de Raadt
2015-01-16Replace <sys/param.h> with <limits.h> and other less dirty headers whereTheo de Raadt
2015-01-15remove .Tn; from Jan Stary <hans at stare dot cz>Ingo Schwarze
2014-12-09put back some information what the character classes actually mean;Ingo Schwarze
2014-12-09no more ctype(3);Jason McIntyre
2014-10-17no need for realloc() front ends anymoreTheo de Raadt
2014-10-16Use reallocarray() and remove a few archaic memory allocation practices.Theo de Raadt
2014-10-16Kill the alloc command, which tried to measure behaviour based on sbrk.Theo de Raadt
2014-10-13remove unused variableCharles Longeau