[2/2] cabinet.dll -> FDICopy: Bug fixed

Vitaly Perov vitperov at etersoft.ru
Tue Apr 1 11:49:39 CDT 2008


This is a bug fix for the FDICopy() function of cabinet.dll.
When you pass an empty cabinet file (It's correct cab-file, but it has no 
files and folders inside) as a parameter, Wine detects that the file is 
invalid.
In this case Windows return TRUE, but WINE return FALSE. So the installation 
of certain software finishes with an error in WINE.

Changelog:
    - Added a bug fix for cabinet.dll FDICopy function. Now it works correctly 
with an empty cab-files.

-- 
Best wishes,
Vitaly Perov
Russia, Saint-Petersburg. www.etersoft.ru
GNU! ALT Linux Team! WINE! WIKI! LaTeX! LyX!
-------------- next part --------------
A non-text attachment was scrubbed...
Name: dlls_cabinet_empty-cab.patch
Type: text/x-diff
Size: 2759 bytes
Desc: not available
Url : http://www.winehq.org/pipermail/wine-patches/attachments/20080401/98e83fef/attachment.patch 


More information about the wine-patches mailing list