David Fraser wrote:
Seems to me the problem here is that mingw is passing these paths into Wine at all. The only apparent way to get to DOSFS_GetPathDrive is through DOSFS_GetFullName or DOSFS_GetShortPathName so either mingw is calling one of those functions with Unix path names or its calling some other Win32 API function with Unix path names which then calls one of those functions. But how would that work on Windows? Surely mingw should always convert unix paths to Windows paths *before* giving them to any Win32 function?
These are 100% windows paths. No conversion is needed. Wine is just confused because Mingw is using the / path separator instead of the \ path separator. It may be a surprise to some, but that works A-OK in Windows. - Dan