diff options
author | Jim Meyering <jim@meyering.net> | 2003-10-13 15:27:11 +0000 |
---|---|---|
committer | Jim Meyering <jim@meyering.net> | 2003-10-13 15:27:11 +0000 |
commit | 0e59370bc669ff4e066d9cf4da71ede0ba5d734e (patch) | |
tree | c77fb5e1e57ddcdb9aaaeeabf7db02fe67844f9e /lib | |
parent | ccfc4801cbba464d91da8a0f118c26c161fb533c (diff) | |
download | coreutils-0e59370bc669ff4e066d9cf4da71ede0ba5d734e.tar.xz |
Import latest version from gnulib.
Diffstat (limited to 'lib')
-rw-r--r-- | lib/xstrdup.c | 2 |
1 files changed, 1 insertions, 1 deletions
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); } |