From 0e59370bc669ff4e066d9cf4da71ede0ba5d734e Mon Sep 17 00:00:00 2001 From: Jim Meyering Date: Mon, 13 Oct 2003 15:27:11 +0000 Subject: Import latest version from gnulib. --- lib/xstrdup.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib') diff --git a/lib/xstrdup.c b/lib/xstrdup.c index 1182c592a..58f18beb6 100644 --- 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); } -- cgit v1.2.3-70-g09d2