aboutsummaryrefslogtreecommitdiff
path: root/libiberty/ChangeLog
diff options
context:
space:
mode:
authorH.J. Lu <hjl.tools@gmail.com>2012-08-29 01:02:41 +0000
committerH.J. Lu <hjl.tools@gmail.com>2012-08-29 01:02:41 +0000
commitb9b64803f63e7ae3489d9fa0ade86bc83c61e44a (patch)
tree584daf5b12432f4f2e2d52cd0cc6481ae309943a /libiberty/ChangeLog
parentbf8247ff45fff9e0b9502c05457f42a32ec5bd8b (diff)
downloadgdb-b9b64803f63e7ae3489d9fa0ade86bc83c61e44a.zip
gdb-b9b64803f63e7ae3489d9fa0ade86bc83c61e44a.tar.gz
gdb-b9b64803f63e7ae3489d9fa0ade86bc83c61e44a.tar.bz2
Replace malloc with xmalloc
* argv.c (dupargv): Replace malloc with xmalloc. Don't check xmalloc return. (buildargv): Likewise. Also replace strdup with xstrdup. (expandargv): Don't check dupargv return.
Diffstat (limited to 'libiberty/ChangeLog')
-rw-r--r--libiberty/ChangeLog7
1 files changed, 7 insertions, 0 deletions
diff --git a/libiberty/ChangeLog b/libiberty/ChangeLog
index f06dcb5..9afed43 100644
--- a/libiberty/ChangeLog
+++ b/libiberty/ChangeLog
@@ -1,5 +1,12 @@
2011-08-28 H.J. Lu <hongjiu.lu@intel.com>
+ * argv.c (dupargv): Replace malloc with xmalloc. Don't check
+ xmalloc return.
+ (buildargv): Likewise. Also replace strdup with xstrdup.
+ (expandargv): Don't check dupargv return.
+
+2011-08-28 H.J. Lu <hongjiu.lu@intel.com>
+
PR binutils/14526
* argv.c (buildargv): Replace alloca with xmalloc/free.