This is the mail archive of the
gdb-cvs@sourceware.org
mailing list for the GDB project.
[binutils-gdb/users/hjl/linux/master] gdb/compile/compile.c: Check return value of 'system' to avoid compiler warning
- From: H.J.Lu <hjl at sourceware dot org>
- To: gdb-cvs at sourceware dot org
- Date: 11 Jan 2015 16:23:08 -0000
- Subject: [binutils-gdb/users/hjl/linux/master] gdb/compile/compile.c: Check return value of 'system' to avoid compiler warning
https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=1710aab8af63e37c846efb7ed66e76dce95330ba
commit 1710aab8af63e37c846efb7ed66e76dce95330ba
Author: Chen Gang <gang.chen@sunrus.com.cn>
Date: Fri Jan 9 10:09:03 2015 +0000
gdb/compile/compile.c: Check return value of 'system' to avoid compiler warning
Add missing ChangeLog entry.
2015-01-09 Chen Gang <gang.chen.5i5j@gmail.com>
Pedro Alves <palves@redhat.com>
* compile/compile.c: Include "gdb_wait.h".
(do_rmdir): Check return value, and free 'zap'.
Diff:
---
gdb/ChangeLog | 6 ++++++
1 file changed, 6 insertions(+)
diff --git a/gdb/ChangeLog b/gdb/ChangeLog
index fea9207..7c390e9 100644
--- a/gdb/ChangeLog
+++ b/gdb/ChangeLog
@@ -1,3 +1,9 @@
+2015-01-09 Chen Gang <gang.chen.5i5j@gmail.com>
+ Pedro Alves <palves@redhat.com>
+
+ * compile/compile.c: Include "gdb_wait.h".
+ (do_rmdir): Check return value, and free 'zap'.
+
2015-01-08 Pedro Alves <palves@redhat.com>
Yao Qi <yao@codesourcery.com>