Module: wine Branch: master Commit: 6914c4749e62ae129efc6fd83c77664a1a197dd2 URL: http://source.winehq.org/git/wine.git/?a=commit;h=6914c4749e62ae129efc6fd83c...
Author: Mike McCormack mike@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 );