libiberty: dupargv: rewrite to use xstrdup
authorMike Frysinger <vapier@gentoo.org>
Tue, 5 Jan 2016 19:55:21 +0000 (19:55 +0000)
committerMike Frysinger <vapier@gcc.gnu.org>
Tue, 5 Jan 2016 19:55:21 +0000 (19:55 +0000)
commitae120683c6a300fecd8b82ef2451faec3932688e
treeeff165c07f714a1fe61c3b1f1e177ee494c3fb84
parentebd4a2097b72494b3ff64e5ecfe32a7f520714db
libiberty: dupargv: rewrite to use xstrdup

This func is basically open coding the xstrdup function, so gut it
and use that directly.

From-SVN: r232086
libiberty/ChangeLog
libiberty/argv.c