From 0e59370bc669ff4e066d9cf4da71ede0ba5d734e Mon Sep 17 00:00:00 2001 From: Jim Meyering Date: Mon, 13 Oct 2003 15:27:11 +0000 Subject: [PATCH] Import latest version from gnulib. --- lib/xstrdup.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/xstrdup.c b/lib/xstrdup.c index 1182c592ac..58f18beb6f 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); } -- 2.47.2