Don't redeclare strsep if the system already has it.
[gnulib.git] / 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';
        }
     }