[Bug 50756] "Path is invalid." when using "SVN update" with SVN for Windows, which is used by TortoiseSVN

WineHQ Bugzilla wine-bugs at winehq.org
Fri Mar 12 17:22:49 CST 2021


https://bugs.winehq.org/show_bug.cgi?id=50756

--- Comment #19 from Alex Folland <lexlexlex at gmail.com> ---
That leads to this at line 3322 of ntdll/unix/file.c in the definition of
nt_to_unix_file_name:

if (!name_len || !IS_SEPARATOR(name[0])) return STATUS_OBJECT_PATH_SYNTAX_BAD;

So, it looks like because the path doesn't start with a separator (and I'm
guessing this means a slash or backslash), its syntax is considered invalid for
the conversion.  I researched this a tiny amount and found
https://docs.microsoft.com/en-us/openspecs/windows_protocols/ms-even/c1550f98-a1ce-426a-9991-7509e7c3787c
which states that NT object paths must start with "\??\".  This is all just a
guess too, but it sounds like to me that in your example, the NT object path
should be like this before being passed into nt_to_unix_file_name_attr:

"\\??\\C:\\Program
Files\\TortoiseSVN\\scilab2\\.svn\\pristine\\7f\\7f67b1a3bd137585d365a2098253c3519f198f98.svn-base"

I wonder if stupidly prepending "\\??\\" or "\??\" somewhere would give us a
hint.

-- 
Do not reply to this email, post in Bugzilla using the
above URL to reply.
You are receiving this mail because:
You are watching all bug changes.



More information about the wine-bugs mailing list