On 11/03/18 07:22, Mark White wrote:
- /* forward slash backslash replace */
- for (fwdslash = volumenameW; *fwdslash; fwdslash++) if (*fwdslash == '/') *fwdslash = '\';
Hello Mark, and thank you for contributing to Wine!
As stated on that bug report, I think a better solution is to use GetFullPathName() instead. Testing shows that GetVolumePathName() should also handle relative paths (and currently doesn't), and GetFullPathName() would take care of both problems.
ἔρρωσο, Zeb