bug fix
This commit is contained in:
parent
0452b7c326
commit
ae504890c7
1 changed files with 1 additions and 1 deletions
|
@ -6,6 +6,6 @@ isatty(f)
|
|||
where gtty is an ioctl(..., TCGETA, ...)
|
||||
*/
|
||||
|
||||
if (gtty(f, &ttyb) < 0) return 0;
|
||||
if (gtty(f, &buf) < 0) return 0;
|
||||
return 1;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue