unbreak handling of symlinks on Windows
A mistake in the rktio conversion causes a crash if certain functions, such as `directory-exists?`, are used before certain other functions, such as `resolve-path`. Thanks to Alex Harsanyi for the report.
This commit is contained in:
parent
e997bb96ea
commit
046503de88
|
@ -444,6 +444,7 @@ static int UNC_stat(rktio_t *rktio, const char *dirname, int *flags, int *isdir,
|
|||
}
|
||||
|
||||
do {
|
||||
init_procs();
|
||||
if (dest) free(dest);
|
||||
dest_len = len + 1;
|
||||
dest = malloc(dest_len);
|
||||
|
|
Loading…
Reference in New Issue
Block a user