summaryrefslogtreecommitdiffstats
path: root/bin/csh
AgeCommit message (Expand)AuthorFilesLines
2021-03-08Add some references, most of these were removed when we stopped buildingjsg1-2/+7
2020-10-06I observed "csh i < file-containing-^T" to hit tenex(), which proceeds toderaadt1-8/+15
2020-08-30Fix multiple variable definitions to avoid errors with -fno-common.mortimer6-87/+173
2020-07-08Clarify that csh's -f flag is not just about .cshrc.millert1-6/+4
2019-11-29typo fix.nayden1-2/+2
2019-07-29Remove several .Xrs to section 2 and 3 that help little.schwarze1-11/+6
2019-07-26Replace cross-references to sigvec(3) with sigaction(2).millert1-3/+3
2019-07-03snprintf/vsnprintf return < 0 on error, rather than -1.deraadt1-2/+2
2019-06-28When system calls indicate an error they return -1, not some arbitraryderaadt7-29/+29
2019-06-28mkstemp() returns -1 on failurederaadt1-2/+2
2019-06-02In manpages, don't escape apostrophes as \'; it's rarely what you want.bentley1-23/+29
2018-11-10remove mention of sbrk.daniel1-5/+3
2018-10-26Fix memory leak in setDolp() where dp is NULL. Based on a diff frommiko1-7/+3
2018-10-24Fix some minor issues found by coverity.martijn6-17/+15
2018-09-19If getcwd() fails in dinit(), the stat buffer 'swd' is usedmillert1-30/+30
2018-09-19Fix last commit, I made one of the changes to the wrong line.millert1-3/+3
2018-09-19Compare against NULL, not '\0' for pointers. Quiets a warning onmillert1-3/+3
2018-09-18Restore the xmalloc(), xcalloc(), xreallocarray() and xstrdup() changes.millert6-35/+30
2018-09-18backout last week of csh diffs. They are disasterously broken, on i386deraadt13-60/+74
2018-09-18remove macros for xmalloc(), xcalloc() & xreallocarray() and just name themiko3-13/+9
2018-09-17Replace any() with strchr(3).martijn9-49/+40
2018-09-15strsave() is hard-fail strdup() so simplify and rename to xstrdup().miko4-15/+14
2018-09-08blkfree() takes no action for NULL pointer so callers can avoid checking.miko6-29/+24
2017-12-18No need to declare variable name as static in dounsetenv(). Also, drop aanton1-5/+2
2017-12-16Passing NULL to free() is fine; from Michael W. Bombardieri.anton4-18/+11
2017-12-12Document change in the default shell prompts.tb1-3/+3
2017-12-12Include hostname in shell prompts by defaulttb2-6/+15
2017-11-16In revision 1.35 of file.c, tenex() was modified to respect the inputline_sizeanton1-2/+2
2017-11-16Zap a redundant cast.anton1-3/+2
2017-08-30Zap redundant assignment; ok jca@anton1-2/+1
2017-08-30Respect inputline_size argument. No functional change since tenex() only has oneanton1-1/+3
2017-08-30Fix pasting of long (>BUFSIZ) lines in csh with filec enabled. NUL-terminatinganton4-9/+22
2017-07-26Align variables and put logical operators at EOL. No binary change.anton1-12/+12
2017-07-26Postpone printing of prompt if filec is enabled in csh. Any I/O should beanton3-5/+7
2017-07-22Use monotonic clock for the time command in csh and ksh.anton5-21/+21
2017-07-18Restore tty when aborting loop.anton1-2/+4
2017-07-10remove misc. depend and yacc nits that no longer matter.espie1-2/+1
2017-06-29Switch TIOCSTAT to _IO(). Two decades ago it was mistakenly defined toderaadt1-4/+2
2017-06-27Tweak previous: align declarations and rename local variable.anton1-6/+6
2017-06-27in recently commited TIOCSTI replacement code, do not assumederaadt1-7/+9
2017-06-22Make sure to abort loops when pressing ^C in csh.anton1-1/+6
2017-06-21Minor style(9) corrections and whitespace cleanup to csh.anton1-10/+9
2017-06-21Replace usage of TIOCSTI in csh using a more common IO-loop where ICANON isanton1-170/+339
2017-06-20Don't try to close every single file descriptor up to _SC_OPEN_MAX in csh.anton1-4/+34
2017-06-17Move win variable.anton1-3/+2
2017-06-16mark files as BUILDFIRST, or write explicit dependencies, so that mostespie1-1/+2
2017-06-10missing blank before full stop, found with mandoc -Tlintschwarze1-11/+11
2017-01-23Call isatty() before tcgetattr() in the lex. This is a little redundant,deraadt1-2/+2
2016-10-07suppose we should fix csh while we're at it.tedu1-2/+3
2016-08-14Don't reinvent rlim_t; when printing it use %llu and cast toguenther1-16/+14