Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
K
KWSys
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Deploy
Releases
Container Registry
Model registry
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Simon Wilson
KWSys
Commits
5f28a52b
Commit
5f28a52b
authored
10 years ago
by
Steve Dougherty
Committed by
Brad King
10 years ago
Browse files
Options
Downloads
Patches
Plain Diff
Terminal: Fix spelling of 'definitely' in comments
Change-Id: I6dd8143e0098fab018c0005f8b37db06734fd2c9
parent
c2a329ce
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
Terminal.c
+3
-3
3 additions, 3 deletions
Terminal.c
with
3 additions
and
3 deletions
Terminal.c
+
3
−
3
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
;
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment