http://bugs.winehq.org/show_bug.cgi?id=6301
pancha@mail.nnov.ru changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |pancha@mail.nnov.ru
------- Additional Comments From pancha@mail.nnov.ru 2006-06-11 08:54 ------- This sample is actually incorrect because it depends on particular method of long-to-short filename conversion (and it would fail even on Windows if you would have created, say, c:\longdirectorywithdifferentname) GetShortPathName should return short (8.3) pathname what is an alias to long file name and vice-versa with GetLongPathName. AFAIK wine's implementation do this.
So, this bug should be treated as "Wine's method of long-to-short conversion differs from Windows'". Actual code for this buried somewhere in wineserver.