https://sourceware.org/git/gitweb.cgi?p=newlib-cygwin.git;h=5224eb7517498318595fd7f9a67d9a1b50b66d25
commit 5224eb7517498318595fd7f9a67d9a1b50b66d25 Author: Corinna Vinschen <[email protected]> Date: Wed Oct 18 16:13:48 2017 +0200 cygwin: unlink: drop redundant check for netapp FS The try_to_bin function isn't called for netapp FSes anyway, so testing for this FS type in the function is moot. Signed-off-by: Corinna Vinschen <[email protected]> Diff: --- winsup/cygwin/syscalls.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/winsup/cygwin/syscalls.cc b/winsup/cygwin/syscalls.cc index 63563ea..8ff50c8 100644 --- a/winsup/cygwin/syscalls.cc +++ b/winsup/cygwin/syscalls.cc @@ -374,7 +374,7 @@ try_to_bin (path_conv &pc, HANDLE &fh, ACCESS_MASK access, ULONG flags) names. */ RtlAppendUnicodeToString (&recycler, (pc.fs_flags () & FILE_UNICODE_ON_DISK - && !pc.fs_is_samba () && !pc.fs_is_netapp ()) + && !pc.fs_is_samba ()) ? L".\xdc63\xdc79\xdc67" : L".cyg"); pfii = (PFILE_INTERNAL_INFORMATION) infobuf; /* Note: Modern Samba versions apparently don't like buffer sizes of more
