summaryrefslogtreecommitdiff
path: root/lib/userspec.c
diff options
context:
space:
mode:
authorPaul Eggert <eggert@cs.ucla.edu>2004-10-05 06:52:09 +0000
committerPaul Eggert <eggert@cs.ucla.edu>2004-10-05 06:52:09 +0000
commit00873ce07645b83daaf37ad959af7d40d068ef84 (patch)
tree92d5f6dfa5980109162cf7cb7567a2f1be5a60f3 /lib/userspec.c
parent01f57610c470fe6548a00518c82aa85dc3bc24ba (diff)
downloadcoreutils-00873ce07645b83daaf37ad959af7d40d068ef84.tar.xz
Rename xclone to xmemdup. Remove obsolete xalloc macros.
Remove xstrdup.c and move xstrdup implementation to xmalloc.c.
Diffstat (limited to 'lib/userspec.c')
-rw-r--r--lib/userspec.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/userspec.c b/lib/userspec.c
index ba66fac8b..037961d47 100644
--- a/lib/userspec.c
+++ b/lib/userspec.c
@@ -154,7 +154,7 @@ parse_with_separator (char const *spec, char const *separator,
size_t ulen = separator - spec;
if (ulen != 0)
{
- u = xclone (spec, ulen + 1);
+ u = xmemdup (spec, ulen + 1);
u[ulen] = '\0';
}
}