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:
		| @@ -373,7 +373,7 @@ try_to_bin (path_conv &pc, HANDLE &fh, ACCESS_MASK access, ULONG flags) | |||||||
|      names. */ |      names. */ | ||||||
|   RtlAppendUnicodeToString (&recycler, |   RtlAppendUnicodeToString (&recycler, | ||||||
| 			    (pc.fs_flags () & FILE_UNICODE_ON_DISK | 			    (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"); | 			    ? L".\xdc63\xdc79\xdc67" : L".cyg"); | ||||||
|   pfii = (PFILE_INTERNAL_INFORMATION) infobuf; |   pfii = (PFILE_INTERNAL_INFORMATION) infobuf; | ||||||
|   /* Note: Modern Samba versions apparently don't like buffer sizes of more |   /* Note: Modern Samba versions apparently don't like buffer sizes of more | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user