- diff --git a/dll/nfs41_np.c b/dll/nfs41_np.c
- index 60d6c1d..cb392a0 100644
- --- a/dll/nfs41_np.c
- +++ b/dll/nfs41_np.c
- @@ -525,6 +525,21 @@ NPAddConnection3(
- }
- #endif
- +#if 1
- + /* Fold repeated backslash into a single backslash */
- + {
- + wchar_t *q, *u;
- + q = u = &p[i];
- +
- + while(*q != L'\0') {
- + while((*q == '\\') && (*(q+1) == '\\'))
- + q++;
- + *u++ = *q++;
- + }
- + *u = L'\0';
- + }
- +#endif
- +
- #ifdef NFS41_DRIVER_MOUNT_DOES_NFS4_PREFIX
- if (wcsncmp(&p[i], L"\\nfs4", 5) != 0) {
- DbgP(( L"Connection name '%s' not prefixed with '\\nfs41'\n", &p[i]));
Fix for nfs://host/foo/bar/////baz
Posted by Anonymous on Wed 14th Feb 2024 14:53
raw | new post
Submit a correction or amendment below (click here to make a fresh posting)
After submitting an amendment, you'll be able to view the differences between the old and new posts easily.