No dirfd() support on Windows
This commit is contained in:

committed by
Love Hornquist Astrand

parent
588d1e081f
commit
21775167c4
@@ -113,7 +113,9 @@ dir_iter_start(hx509_context context,
|
|||||||
free(d);
|
free(d);
|
||||||
return errno;
|
return errno;
|
||||||
}
|
}
|
||||||
|
#ifdef HAVE_DIRFD
|
||||||
rk_cloexec(dirfd(d->dir));
|
rk_cloexec(dirfd(d->dir));
|
||||||
|
#endif
|
||||||
d->certs = NULL;
|
d->certs = NULL;
|
||||||
d->iter = NULL;
|
d->iter = NULL;
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user