Hi, I found a bug, where wine is crashing if no default cups printer is set (eg all cups servers with printers attached are offline) 2002-08-03 Alexander Gottwald <alexander.gottwald@s1999.tu-chemnitz.de> * dlls/winspool/info.c: Check for NULL pointer bye ago -- Alexander.Gottwald@informatik.tu-chemnitz.de http://www.gotti.org ICQ: 126018723
--- wine-20020804/dlls/winspool/info.c Sat Jun 1 01:40:57 2002 +++ ../BUILD/wine-20020804/dlls/winspool/info.c Fri Aug 23 20:27:21 2002 @@ -137,7 +137,7 @@ hadprinter = TRUE; - if (!strcmp(def,printers[i])) + if ((def == NULL) || !strcmp(def,printers[i])) WINSPOOL_SetDefaultPrinter(printers[i],printers[i],FALSE); memset(&pinfo2a,0,sizeof(pinfo2a)); pinfo2a.pPrinterName = printers[i];