]> sourceware.org Git - newlib-cygwin.git/commit
cygwin: unlink: workaround NFS non-ability to move file in certain cases
authorCorinna Vinschen <corinna@vinschen.de>
Wed, 18 Oct 2017 14:27:17 +0000 (16:27 +0200)
committerCorinna Vinschen <corinna@vinschen.de>
Wed, 18 Oct 2017 14:27:17 +0000 (16:27 +0200)
commit88cfcda06b1017b7a05cf7c6f7ebafba9fe6f9fa
treeac0e58c7bd20c0a93c7bbaf644314f638659bc08
parent5b7921523da00d81aaa0af829fbd8c5fe36e1e56
cygwin: unlink: workaround NFS non-ability to move file in certain cases

Under some not quite clear conditions, NFS fails to use its
unlink workaround to rename a file to ".nfsXYZ".  The problem has been
reproduced with the GAWK testext.awk testcase.  To workaround this in
Cygwin, we now call try_to_bin on NFS, too.  For some reason NFS doesn't
fail to rename the .cygXYZ file to .nfsXYZ after this Cygwin rename.
Fix comment in unlink_nt accordingly.

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