strdup()
@@ -1245,13 +1245,11 @@ do_recursive_mkdir(const char *dir)
size_t n;
struct stat st;
n = strlen(dir);
if (n == 0)
if (*dir == '\0')
return -1;
if ((dircpy = malloc(n + 1)) == NULL)
strcpy(dircpy, dir);
if ((dircpy = strdup(dir)) == NULL)
ch = dircpy + 1;
do {
The note is not visible to the blocked user.