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