Mike McCormack : msi: Print a message if we fail to delete a file.
Alexandre Julliard
julliard at wine.codeweavers.com
Tue Nov 14 05:14:24 CST 2006
Module: wine
Branch: master
Commit: 6914c4749e62ae129efc6fd83c77664a1a197dd2
URL: http://source.winehq.org/git/wine.git/?a=commit;h=6914c4749e62ae129efc6fd83c77664a1a197dd2
Author: Mike McCormack <mike at codeweavers.com>
Date: Tue Nov 14 12:41:40 2006 +0900
msi: Print a message if we fail to delete a file.
---
dlls/msi/helpers.c | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
diff --git a/dlls/msi/helpers.c b/dlls/msi/helpers.c
index 490e181..819c310 100644
--- a/dlls/msi/helpers.c
+++ b/dlls/msi/helpers.c
@@ -405,7 +405,8 @@ static void remove_tracked_tempfiles(MSI
list_remove( &temp->entry );
TRACE("deleting temp file %s\n", debugstr_w( temp->Path ));
- DeleteFileW( temp->Path );
+ if (!DeleteFileW( temp->Path ))
+ ERR("failed to delete %s\n", debugstr_w( temp->Path ));
msi_free( temp->File );
msi_free( temp->Path );
msi_free( temp );
More information about the wine-cvs
mailing list