projects
/
binutils-gdb.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
12ea4b6
)
* ui-file.c (tee_file_isatty): Return whether `tee->one' is a tty,
author
Pedro Alves
<palves@redhat.com>
Sat, 17 Apr 2010 23:56:27 +0000
(23:56 +0000)
committer
Pedro Alves
<palves@redhat.com>
Sat, 17 Apr 2010 23:56:27 +0000
(23:56 +0000)
instead of always false.
gdb/ChangeLog
patch
|
blob
|
history
gdb/ui-file.c
patch
|
blob
|
history
diff --git
a/gdb/ChangeLog
b/gdb/ChangeLog
index 9aa915c655a2467fec91f28543903c5a1e3d093d..4d22fcf3ac04574031b40d0d3633e69bb10f41b6 100644
(file)
--- a/
gdb/ChangeLog
+++ b/
gdb/ChangeLog
@@
-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>
PR corefiles/11511
diff --git
a/gdb/ui-file.c
b/gdb/ui-file.c
index 1760b4c05288cf3b60329f4f34e23ab771fd9403..493ae43930280ccd1e2a741e294e36bf44da1c99 100644
(file)
--- a/
gdb/ui-file.c
+++ b/
gdb/ui-file.c
@@
-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);
}