summaryrefslogtreecommitdiffstats
path: root/Terminal.c
diff options
context:
space:
mode:
authorKWSys Robot <kwrobot@kitware.com>2014-07-18 12:32:24 (GMT)
committerBrad King <brad.king@kitware.com>2014-07-18 14:15:20 (GMT)
commitd4d1b7f7d1d6592f12a6692dfb8068aa495bd454 (patch)
tree9f4a7d7bacb149276334e8e7afadafb91c7f5e2f /Terminal.c
parent3d127627f8e28d97ecc44515e274b3780ae3f4b9 (diff)
downloadCMake-d4d1b7f7d1d6592f12a6692dfb8068aa495bd454.zip
CMake-d4d1b7f7d1d6592f12a6692dfb8068aa495bd454.tar.gz
CMake-d4d1b7f7d1d6592f12a6692dfb8068aa495bd454.tar.bz2
KWSys 2014-07-18 (65b36ede)
Extract upstream KWSys using the following shell commands. $ git archive --prefix=upstream-kwsys/ 65b36ede | tar x $ git shortlog --no-merges --abbrev=8 --format='%h %s' c2a329ce..65b36ede Bob E (1): 697b1401 SystemInformation: No SA_RESTART on QNX Clinton Stimpson (1): 65b36ede Encoding: Fix testProcess to work with unicode paths. Steve Dougherty (1): 5f28a52b Terminal: Fix spelling of 'definitely' in comments Change-Id: I224745dc0ca9603ff915b727e798ef293c462d8f
Diffstat (limited to 'Terminal.c')
-rw-r--r--Terminal.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/Terminal.c b/Terminal.c
index 6d7ec41..e13003f 100644
--- a/Terminal.c
+++ b/Terminal.c
@@ -104,11 +104,11 @@ void kwsysTerminal_cfprintf(int color, FILE* stream, const char* format, ...)
}
/*--------------------------------------------------------------------------*/
-/* Detect cases when a stream is definately not interactive. */
+/* Detect cases when a stream is definitely not interactive. */
#if !defined(KWSYS_TERMINAL_ISATTY_WORKS)
static int kwsysTerminalStreamIsNotInteractive(FILE* stream)
{
- /* The given stream is definately not interactive if it is a regular
+ /* The given stream is definitely not interactive if it is a regular
file. */
struct stat stream_stat;
if(fstat(fileno(stream), &stream_stat) == 0)
@@ -212,7 +212,7 @@ static int kwsysTerminalStreamIsVT100(FILE* stream, int default_vt100,
(void)default_tty;
return isatty(fileno(stream))? 1:0;
#else
- /* Check for cases in which the stream is definately not a tty. */
+ /* Check for cases in which the stream is definitely not a tty. */
if(kwsysTerminalStreamIsNotInteractive(stream))
{
return 0;