Remove an assert in StgStreamImpl_Write()

Francois Gouget fgouget at codeweavers.com
Thu Jun 15 11:15:58 CDT 2006


Changelog:

  * dlls/ole32/stg_stream.c

    Aric Stewart <aric at codeweavers.com>
    Remove an assert and instead just fail.
    This allows iTunes to finish installing with the reboot.


-- 
Francois Gouget
fgouget at codeweavers.com

-------------- next part --------------
Index: dlls/ole32/stg_stream.c
===================================================================
RCS file: /home/wine/wine/dlls/ole32/stg_stream.c,v
retrieving revision 1.34
diff -u -p -r1.34 stg_stream.c
--- dlls/ole32/stg_stream.c	23 May 2006 12:48:24 -0000	1.34
+++ dlls/ole32/stg_stream.c	15 Jun 2006 08:35:26 -0000
@@ -436,7 +437,11 @@ static HRESULT WINAPI StgStreamImpl_Writ
 			     pcbWritten);
   }
   else
-    assert(FALSE);
+  {
+	  ERR("UNHANDLED:  smallBlock %p  bigBlock %p\n",This->smallBlockChain,
+			  This->bigBlockChain);
+	  return S_FALSE;
+  }
 
   /*
    * Advance the position pointer for the number of positions written.


More information about the wine-patches mailing list