Updates.
committer: mfx <mfx> 1050612607 +0000
This commit is contained in:
+1
-1
@@ -316,7 +316,7 @@ static int init(screen_t *this, int fd)
|
||||
this->data->sb_base = 0;
|
||||
this->data->sb_sp = 0;
|
||||
#endif
|
||||
if (fd < 0 || !isatty(fd))
|
||||
if (fd < 0 || !acc_isatty(fd))
|
||||
return -1;
|
||||
if (fstat(fd,&st) != 0)
|
||||
return -1;
|
||||
|
||||
Reference in New Issue
Block a user