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.
http://bugs.winehq.org/show_bug.cgi?id=33020
--- Comment #1 from Erich Hoover ehoover@mines.edu 2013-02-19 10:17:08 CST --- Created attachment 43640 --> http://bugs.winehq.org/attachment.cgi?id=43640 kernel32: Fix a relative path bug with GetLongPathName.
Fix GetLongPathName not resolving the self-referencial '.' string.
http://bugs.winehq.org/show_bug.cgi?id=33020
Erich Hoover erich.e.hoover@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Fixed by SHA1| |eba2f4322169715b3672651a542 | |7b718b6eafa8f Status|NEW |RESOLVED Resolution|--- |FIXED
--- Comment #2 from Erich Hoover erich.e.hoover@gmail.com --- This bug was fixed a while ago by commit eba2f4322169715b3672651a5427b718b6eafa8f.
https://bugs.winehq.org/show_bug.cgi?id=33020
Alexandre Julliard julliard@winehq.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #3 from Alexandre Julliard julliard@winehq.org --- Closing bugs fixed in 1.7.11.