[PATCH] HOMAM III fix

Enrico Horn 520007368975-0001 at t-online.de
Sat Apr 6 10:59:37 CST 2002


Hi

On Friday 05 April 2002 19:06, Andreas Mohr wrote:
> On Fri, Apr 05, 2002 at 06:46:27PM +0200, Martin Lexa wrote:
> > Hello!
> >
> >   Function CreateFileA get this file path (just for example):
> >
> >     C:\\Program Files\\3DO\\Heroes3\\DATAh3bitmap.lod
> >
> >   As you can see the correct path should be:
> >
> >     C:\\Program Files\\3DO\\Heroes3\\DATA\\h3bitmap.lod
> >
> >   This lead to error message "Can't initialize resources.Possible disk
> > problem."
> >
> >   I see the problem in the function DOSFS_DoGetFullPathName(), which in
> > the end removes the ending backslash from the path. The attached patch
> > fixes it.
> >
> > Bye, Martin
> >
>
> Yep, that might fix *your* problem, but don't you think that code snippet
> might have been there for a purpose ?
>
To find out this purpose was the purpose of my mail "DOSFS_DoGetFullPathName"
I sent to this list more than a week ago. Until now no real answer has been 
given.
> Are you sure that simply completely removing code doesn't break anything
> here in other cases ?
I cant think of any situation where this might be needed.
I may be wrong though.
Yet so far I have no explanation for this piece of code and
removing it seems to work fine.

Enrico
farmboy1 at subdimension.com



More information about the wine-devel mailing list