loader: fix loadorder

Dimitrie O. Paun dpaun at rogers.com
Tue Feb 11 22:50:14 CST 2003


One of my patches: 
    http://cvs.winehq.com/patch.py?id=5525
broke the loading of program supplied DLLs that have
builtin equivalents.

A detailed account of the bug is available in Bugzilla:
    http://bugs.winehq.com/show_bug.cgi?id=1257

ChangeLog
  Revert default loadorder to native DLLs firsts, to use
  the programs supplied ones if available.
  (Bug discovered and investigated by Tony Lambregts)


Index: loader/loadorder.c
===================================================================
RCS file: /var/cvs/wine/loader/loadorder.c,v
retrieving revision 1.60
diff -u -r1.60 loadorder.c
--- loader/loadorder.c  23 Oct 2002 20:20:59 -0000      1.60
+++ loader/loadorder.c  12 Feb 2003 04:44:07 -0000
@@ -100,7 +100,7 @@
 /* default if nothing else specified */
 static const enum loadorder_type default_loadorder[LOADORDER_NTYPES] =
 {
-    LOADORDER_BI, LOADORDER_DLL, 0, 0
+    LOADORDER_DLL, LOADORDER_BI, 0, 0
 };

 static struct loadorder_list cmdline_list;


-- 
Dimi.




More information about the wine-patches mailing list