projects
/
gnulib.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Propagating gettext into gnulib a bit better.
[gnulib.git]
/
lib
/
xstrdup.c
diff --git
a/lib/xstrdup.c
b/lib/xstrdup.c
index
1182c59
..
58f18be
100644
(file)
--- a/
lib/xstrdup.c
+++ b/
lib/xstrdup.c
@@
-29,5
+29,5
@@
char *
xstrdup (const char *string)
{
- return
strcpy (xmalloc (strlen (string) + 1), string
);
+ return
xclone (string, strlen (string) + 1
);
}