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:
25e334b
)
2011-05-14 Hui Zhu <teawater@gmail.com>
author
Hui Zhu
<teawater@gmail.com>
Sat, 14 May 2011 03:37:18 +0000
(
03:37
+0000)
committer
Hui Zhu
<teawater@gmail.com>
Sat, 14 May 2011 03:37:18 +0000
(
03:37
+0000)
* ui-file.c (stdio_file_write_async_safe): Add empty check for build.
gdb/ChangeLog
patch
|
blob
|
history
gdb/ui-file.c
patch
|
blob
|
history
diff --git
a/gdb/ChangeLog
b/gdb/ChangeLog
index 70d4f6c83ff752223d6b5db168ebf118194c8955..a2abac7fe10574017d659c097cb017f096dc1e80 100644
(file)
--- a/
gdb/ChangeLog
+++ b/
gdb/ChangeLog
@@
-1,3
+1,7
@@
+2011-05-14 Hui Zhu <teawater@gmail.com>
+
+ * ui-file.c (stdio_file_write_async_safe): Add empty check for build.
+
2011-05-13 Doug Evans <dje@google.com>
Support $pdir and $sdir in libthread-db-search-path.
diff --git
a/gdb/ui-file.c
b/gdb/ui-file.c
index 20b072e59174182f32be68141a6c43793f15f2e6..6bb2342e746cbd46432215edd06a983956bb1f12 100644
(file)
--- a/
gdb/ui-file.c
+++ b/
gdb/ui-file.c
@@
-580,7
+580,8
@@
stdio_file_write_async_safe (struct ui_file *file,
return;
}
- write (stdio->fd, buf, length_buf);
+ if (write (stdio->fd, buf, length_buf))
+ ;
}
static void