summaryrefslogtreecommitdiff
path: root/bin/csh
AgeCommit message (Expand)Author
2018-11-10remove mention of sbrk.Daniel Dickman
2018-10-26Fix memory leak in setDolp() where dp is NULL. Based on a diff frommiko
2018-10-24Fix some minor issues found by coverity.Martijn van Duren
2018-09-19If getcwd() fails in dinit(), the stat buffer 'swd' is usedTodd C. Miller
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-18Restore the xmalloc(), xcalloc(), xreallocarray() and xstrdup() changes.Todd C. Miller
2018-09-18backout last week of csh diffs. They are disasterously broken, on i386Theo de Raadt
2018-09-18remove macros for xmalloc(), xcalloc() & xreallocarray() and just name themiko
2018-09-17Replace any() with strchr(3).Martijn van Duren
2018-09-15strsave() is hard-fail strdup() so simplify and rename to xstrdup().miko
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