]> sourceware.org Git - newlib-cygwin.git/commit
Cygwin: unlink: allow fallback from POSIX to default method
authorCorinna Vinschen <corinna@vinschen.de>
Wed, 6 Feb 2019 20:17:35 +0000 (21:17 +0100)
committerCorinna Vinschen <corinna@vinschen.de>
Wed, 6 Feb 2019 20:17:35 +0000 (21:17 +0100)
commit9fa22dba558f5e3efd0bb719049491edcd7b5e0b
treeae0c348a5b827090b45627d1ad7d4fd6ab2b609a
parent5628399c8470d3bbf6ca05b3d0f7f0366f1c16f8
Cygwin: unlink: allow fallback from POSIX to default method

Trying to delete in-use executables and DLLs using
FILE_DISPOSITION_POSIX_SEMANTICS returns STATUS_CANNOT_DELETE.
Fall back to the former method if that error occurs to allow
unlinking these files.

Signed-off-by: Corinna Vinschen <corinna@vinschen.de>
winsup/cygwin/syscalls.cc
This page took 0.030648 seconds and 5 git commands to generate.