TDirectorySync.CheckOneWay/SyncOneWay (ExpandSyncDir, since [bugs:#102]) and TTreeVerify (ExpandBase in its constructor, since [bugs:#100]) expand the directory names they get with dzExpandFileName, i.e. GetFullPathName. That function does not know the NT prefix \??\, which the file APIs pass through like \\?\. Measured: GetFullPathName('\??\c:\src') returns C:\??\c:\src, while \\?\c:\src stays as it is. Read from the code: SyncOneWay('\??\c:\src', ...) then works on the nonsense path C:\??\c:\src (? is not valid in a file name), finds nothing or fails, and reports that path in the events.
IsRefusedByDelDirTree (used by DelDirTree) already handles \??\ before it expands a name. Possible fix: leave a name with the \??\ prefix (or any prefixed name) unexpanded in dzExpandFileName or in its callers, or refuse it with an exception.
Found in a code review of r2565.
Fixed in revision [r2569].
Related
Commit: [r2569]