Hans Leidekker : msi: Warn if a transform file cannot be opened.

Alexandre Julliard julliard at winehq.org
Fri Jul 23 10:05:44 CDT 2010


Module: wine
Branch: master
Commit: bdda3b950c145eafffc3a53c5467fc842048c041
URL:    http://source.winehq.org/git/wine.git/?a=commit;h=bdda3b950c145eafffc3a53c5467fc842048c041

Author: Hans Leidekker <hans at codeweavers.com>
Date:   Fri Jul 23 09:43:11 2010 +0200

msi: Warn if a transform file cannot be opened.

---

 dlls/msi/msiquery.c |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)

diff --git a/dlls/msi/msiquery.c b/dlls/msi/msiquery.c
index f2723af..df81a74 100644
--- a/dlls/msi/msiquery.c
+++ b/dlls/msi/msiquery.c
@@ -733,7 +733,10 @@ UINT MSI_DatabaseApplyTransformW( MSIDATABASE *db,
     r = StgOpenStorage( szTransformFile, NULL,
            STGM_DIRECT|STGM_READ|STGM_SHARE_DENY_WRITE, NULL, 0, &stg);
     if ( FAILED(r) )
+    {
+        WARN("failed to open transform 0x%08x\n", r);
         return ret;
+    }
 
     r = IStorage_Stat( stg, &stat, STATFLAG_NONAME );
     if ( FAILED( r ) )




More information about the wine-cvs mailing list