mirror of
https://github.com/espressif/binutils-gdb.git
synced 2025-08-06 14:49:38 +08:00
* ui-file.c (tee_file_isatty): Return whether `tee->one' is a tty,
instead of always false.
This commit is contained in:
@ -648,5 +648,6 @@ tee_file_isatty (struct ui_file *file)
|
||||
if (tee->magic != &tee_file_magic)
|
||||
internal_error (__FILE__, __LINE__,
|
||||
_("tee_file_isatty: bad magic number"));
|
||||
return (0);
|
||||
|
||||
return ui_file_isatty (tee->one);
|
||||
}
|
||||
|
Reference in New Issue
Block a user