From: Jim Meyering Date: Mon, 13 Oct 2003 15:27:11 +0000 (+0000) Subject: Import latest version from gnulib. X-Git-Tag: v5.1.0~429 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=0e59370bc669ff4e066d9cf4da71ede0ba5d734e;p=thirdparty%2Fcoreutils.git Import latest version from gnulib. --- 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); }