summaryrefslogtreecommitdiff
path: root/bin/csh
AgeCommit message (Expand)Author
2018-09-08blkfree() takes no action for NULL pointer so callers can avoid checking.miko
2017-12-18No need to declare variable name as static in dounsetenv(). Also, drop aanton
2017-12-16Passing NULL to free() is fine; from Michael W. Bombardieri.anton
2017-12-12Document change in the default shell prompts.Theo Buehler
2017-12-12Include hostname in shell prompts by defaultTheo Buehler
2017-11-16In revision 1.35 of file.c, tenex() was modified to respect the inputline_sizeanton
2017-11-16Zap a redundant cast.anton
2017-08-30Zap redundant assignment; ok jca@anton
2017-08-30Respect inputline_size argument. No functional change since tenex() only has oneanton
2017-08-30Fix pasting of long (>BUFSIZ) lines in csh with filec enabled. NUL-terminatinganton
2017-07-26Align variables and put logical operators at EOL. No binary change.anton
2017-07-26Postpone printing of prompt if filec is enabled in csh. Any I/O should beanton
2017-07-22Use monotonic clock for the time command in csh and ksh.anton
2017-07-18Restore tty when aborting loop.anton
2017-07-10remove misc. depend and yacc nits that no longer matter.Marc Espie
2017-06-29Switch TIOCSTAT to _IO(). Two decades ago it was mistakenly defined toTheo de Raadt
2017-06-27Tweak previous: align declarations and rename local variable.anton
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