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:
@ -1,3 +1,8 @@
|
|||||||
|
2010-04-17 Pedro Alves <pedro@codesourcery.com>
|
||||||
|
|
||||||
|
* ui-file.c (tee_file_isatty): Return whether `tee->one' is a tty,
|
||||||
|
instead of always false.
|
||||||
|
|
||||||
2010-04-17 H.J. Lu <hongjiu.lu@intel.com>
|
2010-04-17 H.J. Lu <hongjiu.lu@intel.com>
|
||||||
|
|
||||||
PR corefiles/11511
|
PR corefiles/11511
|
||||||
|
@ -648,5 +648,6 @@ tee_file_isatty (struct ui_file *file)
|
|||||||
if (tee->magic != &tee_file_magic)
|
if (tee->magic != &tee_file_magic)
|
||||||
internal_error (__FILE__, __LINE__,
|
internal_error (__FILE__, __LINE__,
|
||||||
_("tee_file_isatty: bad magic number"));
|
_("tee_file_isatty: bad magic number"));
|
||||||
return (0);
|
|
||||||
|
return ui_file_isatty (tee->one);
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user