Andrey Turkin : wineboot: Fix installation of SFP protected files.
Alexandre Julliard
julliard at winehq.org
Thu Jan 10 06:42:13 CST 2008
Module: wine
Branch: master
Commit: d43f025b8c0fe5bb1e7bd0352f8eb7227a819ae6
URL: http://source.winehq.org/git/wine.git/?a=commit;h=d43f025b8c0fe5bb1e7bd0352f8eb7227a819ae6
Author: Andrey Turkin <andrey.turkin at gmail.com>
Date: Thu Jan 10 15:19:38 2008 +0300
wineboot: Fix installation of SFP protected files.
---
programs/wineboot/wineboot.c | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/programs/wineboot/wineboot.c b/programs/wineboot/wineboot.c
index da0eb79..843bfaa 100644
--- a/programs/wineboot/wineboot.c
+++ b/programs/wineboot/wineboot.c
@@ -495,6 +495,7 @@ static int ProcessWindowsFileProtection(void)
}
find_handle = FindFirstFileW(dllcache,&finddata);
+ dllcache[ strlenW(dllcache) - 2] = 0; /* strip off wildcard */
find_rc = find_handle != INVALID_HANDLE_VALUE;
while (find_rc)
{
More information about the wine-cvs
mailing list