http://bugs.winehq.org/show_bug.cgi?id=33020
Bug #: 33020 Summary: GetLongPathName does not properly resolve the relative string '.' Product: Wine Version: 1.5.24 Platform: x86 OS/Version: Linux Status: NEW Severity: normal Priority: P2 Component: kernel32 AssignedTo: wine-bugs@winehq.org ReportedBy: ehoover@mines.edu Classification: Unclassified
Calling GetLongPathName on a string containing the self-referencing string '.' returns a bogus path, for example: GetLongPathName('shortpath.') returns shortpath\shortpath instead of shortpath.
This poses a problem for Silverlight, which uses this feature (for some odd reason) to find the path for debugging DLLs.