Fix macOS build.
This commit is contained in:
parent
50e08f12cd
commit
5cacb3f241
|
@ -132,7 +132,9 @@ retry_realpath(const char *file_name)
|
||||||
else
|
else
|
||||||
return NULL;
|
return NULL;
|
||||||
}
|
}
|
||||||
return strdup(r);
|
x = malloc(strlen(r) + 1);
|
||||||
|
strcpy(x, r);
|
||||||
|
return x;
|
||||||
}
|
}
|
||||||
|
|
||||||
static void
|
static void
|
||||||
|
|
Loading…
Reference in New Issue