xclone->userspec
authorPaul Eggert <eggert@cs.ucla.edu>
Tue, 5 Oct 2004 06:47:18 +0000 (06:47 +0000)
committerPaul Eggert <eggert@cs.ucla.edu>
Tue, 5 Oct 2004 06:47:18 +0000 (06:47 +0000)
lib/userspec.c

index ba66fac..037961d 100644 (file)
@@ -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';
        }
     }