cygwin: Do not generate surrogate chars on netapp
Just like Samba, Netapp FSes seem to dislike invalid surrogate usage in filenames. Signed-off-by: Corinna Vinschen <corinna@vinschen.de>
This commit is contained in:
parent
0accc5332a
commit
fa4fcf7373
|
@ -373,7 +373,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_samba () && !pc.fs_is_netapp ())
|
||||
? L".\xdc63\xdc79\xdc67" : L".cyg");
|
||||
pfii = (PFILE_INTERNAL_INFORMATION) infobuf;
|
||||
/* Note: Modern Samba versions apparently don't like buffer sizes of more
|
||||
|
|
Loading…
Reference in New Issue