Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Mathieu Westphal
KWSys
Commits
5f28a52b
Commit
5f28a52b
authored
Jul 09, 2014
by
Steve Dougherty
Committed by
Brad King
Jul 10, 2014
Browse files
Terminal: Fix spelling of 'definitely' in comments
Change-Id: I6dd8143e0098fab018c0005f8b37db06734fd2c9
parent
c2a329ce
Changes
1
Hide whitespace changes
Inline
Side-by-side
Terminal.c
View file @
5f28a52b
...
...
@@ -104,11 +104,11 @@ void kwsysTerminal_cfprintf(int color, FILE* stream, const char* format, ...)
}
/*--------------------------------------------------------------------------*/
/* Detect cases when a stream is defin
a
tely not interactive. */
/* Detect cases when a stream is defin
i
tely not interactive. */
#if !defined(KWSYS_TERMINAL_ISATTY_WORKS)
static
int
kwsysTerminalStreamIsNotInteractive
(
FILE
*
stream
)
{
/* The given stream is defin
a
tely not interactive if it is a regular
/* The given stream is defin
i
tely 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 defin
a
tely not a tty. */
/* Check for cases in which the stream is defin
i
tely not a tty. */
if
(
kwsysTerminalStreamIsNotInteractive
(
stream
))
{
return
0
;
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment