[Bug 7961] Bug in findfirst/findnext

wine-bugs at winehq.org wine-bugs at winehq.org
Wed May 1 08:50:28 CDT 2013


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

Fabian Ebner <f.ebner94 at gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |f.ebner94 at gmail.com

--- Comment #16 from Fabian Ebner <f.ebner94 at gmail.com> 2013-05-01 08:50:28 CDT ---
(In reply to comment #9)
> It's NTDLL (eg. match_filename()) we have to fix.
> 
> Thank you Jason, I'll start making tests.
> 

No, match_filename gets passed the wrong mask L"*" instead of L".*", the real
problem is in ntdll/path.c function collapse_path:
...
   /* remove trailing spaces and dots (yes, Windows really does that, don't
ask) */
    while (p > path + mark && (p[-1] == ' ' || p[-1] == '.')) p--;
...

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