[Bug 22286] GetShortPathName -> GetLongPathName doesn't give back same file

wine-bugs at winehq.org wine-bugs at winehq.org
Tue Apr 6 09:08:57 CDT 2010


http://bugs.winehq.org/show_bug.cgi?id=22286


John M. Drescher <drescherjm at gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |drescherjm at gmail.com




--- Comment #7 from John M. Drescher <drescherjm at gmail.com>  2010-04-06 09:08:57 ---
> > That's a hash collision, the two names will hash to the same short name. I
> > guess you are just unlucky... If you need reliable short names you have to use
> > a vfat filesystem.
> 
> Is this basically a wontfix?

I think it will not be easy to fix. A hash algorithm will have collisions. The
native windows system gets around this problem by retaining the short file name
in the filesystem. 

I wonder how samba solves this?

-- 
Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email
Do not reply to this email, post in Bugzilla using the
above URL to reply.
------- You are receiving this mail because: -------
You are watching all bug changes.



More information about the wine-bugs mailing list