Hi!
* Andreas Mohr (andi@rhlx01.fht-esslingen.de) wrote:
Yep, that might fix *your* problem, but don't you think that code snippet might have been there for a purpose ?
Are you sure that simply completely removing code doesn't break anything here in other cases ?
Same thing came to my mind too. The only "thing" it breaks is the value of lastpart parameter. However, should somebody tell me what is the REAL purpose of the lastpart parameter, please? I don't see any, because it only returns value if the return path has no ending backslash. If ending backslash will not be present the error will came up again... There is not much room for fixing it elsewhere, because after end of GetFullPathNameA function, which call DOSFS_DoGetFullPathName, the function CreateFileA is called with "wrong" filename value, as I described in my previous e-mail.
Bye, Martin