On Windows, you can't unlink open directories, so this change closes them before calling the rmtree. It shouldn't affect Linux I believe, but I'm not sure why the simpler form of with_open_dir wasnt also used there (debugging?).
Something went wrong. Try again.
Something went wrong. Try again.
compiler: close temporary directories before removing them #80
Merged
anil.recoil.org
targeting main from anil.recoil.org/ocaml-forester:tmpdir
Merged opened by
anil.recoil.org targeting main from anil.recoil.org/ocaml-forester:tmpdir
Commits 1
compiler: close temporary directories before removing them