summaryrefslogtreecommitdiffstats
path: root/Source/kwsys/Terminal.c
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2014-07-18 14:15:23 (GMT)
committerBrad King <brad.king@kitware.com>2014-07-18 14:15:23 (GMT)
commit6f3e094e9f0017b63e138e001c86e467c8f9b7c9 (patch)
tree9385a06db53dde1aee706f2c58b204fe5796e1da /Source/kwsys/Terminal.c
parentbbd930ea3c7fbc376d2f112ae7cd373a27cdf5bc (diff)
parentd4d1b7f7d1d6592f12a6692dfb8068aa495bd454 (diff)
downloadCMake-6f3e094e9f0017b63e138e001c86e467c8f9b7c9.zip
CMake-6f3e094e9f0017b63e138e001c86e467c8f9b7c9.tar.gz
CMake-6f3e094e9f0017b63e138e001c86e467c8f9b7c9.tar.bz2
Merge branch 'upstream-kwsys' into update-kwsys
Diffstat (limited to 'Source/kwsys/Terminal.c')
-rw-r--r--Source/kwsys/Terminal.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/Source/kwsys/Terminal.c b/Source/kwsys/Terminal.c
index 6d7ec41..e13003f 100644
--- a/Source/kwsys/Terminal.c
+++ b/Source/kwsys/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;