Alexandre Julliard wrote:
Robert Shearman rob@codeweavers.com writes:
ChangeLog: Optimize for the case where a DLL with no path is requested and it is already loaded. This change is correct since RtlDosSearchPath_U did not change the path being looked at - if libname contains no path then file_part will be the same as libname.
Yes, but the current code checks for the full name first and your patch doesn't, so it will change the behavior if we have two modules with the same base name. This will need some test cases.
What sort of tests do you want? I don't think I'll be able to come up with anything that can be put into the Wine test framework.