[Bug 23865] Microsoft Wine Guide (16-bit) unable to find files whose names end with .

wine-bugs at winehq.org wine-bugs at winehq.org
Thu Jun 21 15:10:01 CDT 2012


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

--- Comment #7 from Mark K <markk at clara.co.uk> 2012-06-21 15:10:01 CDT ---
I don't think it would be hard to fix necessarily.

The logic for Wine's file-opening function could go something like this:
 - Try to open the specified filename. If successful, return as usual.
 - If the file could not be opened because it does not exist, check whether the
name is <= 8 chars with no extension. If so, append a dot to the specified name
and try opening that instead. (Maybe only do that fallback if the drive the
file is on is marked as a CD-ROM?)

That may well be sufficient for MS Wine Guide at least.

There might be other programs which e.g. get a listing of files in a CD-ROM
directory, and expect the names to not end in dots. They could get confused if
Wine passes the with-dots filenames directly. In that case Wine should probably
strip trailing dots when returning filenames to the calling program.

-- 
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