projects
/
binutils-gdb.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
ChangeLog:
[binutils-gdb.git]
/
libiberty
/
xstrdup.c
diff --git
a/libiberty/xstrdup.c
b/libiberty/xstrdup.c
index c04623d98ecfb2be9ea9398b829d08d5b34e1da7..9ac2ea038f344e3b74b548b29cb49a4013262cc7 100644
(file)
--- a/
libiberty/xstrdup.c
+++ b/
libiberty/xstrdup.c
@@
-31,6
+31,6
@@
char *
xstrdup (const char *s)
{
register size_t len = strlen (s) + 1;
- register char *ret =
xmalloc (
len);
+ register char *ret =
XNEWVEC (char,
len);
return (char *) memcpy (ret, s, len);
}