Loader Optimization

Alexandre Julliard julliard at winehq.org
Tue Jan 10 08:04:08 CST 2006

Robert Shearman <rob at 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.

Alexandre Julliard
julliard at winehq.org

More information about the wine-devel mailing list