wineps fix

Aric Stewart aric at codeweavers.com
Thu Oct 13 10:25:58 CDT 2005


Unloading cups twice  on some systems, such as debian unstable, causes a 
crash.
-------------- next part --------------
Index: dlls/wineps/init.c
===================================================================
RCS file: /home/wine/wine/dlls/wineps/init.c,v
retrieving revision 1.66
diff -u -r1.66 init.c
--- dlls/wineps/init.c	26 Aug 2005 08:53:31 -0000	1.66
+++ dlls/wineps/init.c	13 Oct 2005 15:24:08 -0000
@@ -155,7 +155,11 @@
 	    HeapDestroy( PSDRV_Heap );
 #ifdef HAVE_CUPS_CUPS_H
 	    if (cupshandle && (cupshandle != (void*)-1)) {
-		wine_dlclose(cupshandle, NULL, 0);
+		/* Unloading here is causing a crash in the IE instal process. When it
+         * is unloading wineps twice.
+         *
+         * wine_dlclose(cupshandle, NULL, 0);
+         */
 		cupshandle = NULL;
 	    }
 #endif


More information about the wine-patches mailing list