[Bug 26423] Wine should use MS-DOS (8.3) file names when interacting with Dosbox

wine-bugs at winehq.org wine-bugs at winehq.org
Wed Aug 17 11:09:00 CDT 2011


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

--- Comment #4 from André H. <nerv at dawncrow.de> 2011-08-17 11:09:00 CDT ---
First, thx for taking the time to analyse this.

(In reply to comment #3)
> Since the partition type is FAT, real short names were created by the
> system based on the order of creation and stored on disk. The file
> longfilename2 was created first, so it gets ~1 while longfilename1 gets ~2.
> 
> "wine cmd /c dir /x" returns:
> 
>  8/17/2011  11:56 AM             1  LONGFI~2     longfilename1
>  8/17/2011  11:56 AM             2  LONGFI~1     longfilename2
> 
> So Wine preserves the real short names. Dosbox, on the other hand, ignores the
> real short names and invents its own names. A "dir" call in Dosbox returns the
> following:
> 
> LONGFI~1                      2 17-08-2011 11:56
> LONGFI~2                      1 17-08-2011 11:56
> 
> As you can see by comparing file sizes, Wine and Dosbox swap the names of these
> files.

no, both time the 1-Byte has ~2 and the 2-Byte has ~1
It's a bit confusing, maybe it get's more clear with filesizes > 2 ;)

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