[8/9] setupapi: Only extract the first MSZIP cabinet file in SetupDecompressOrExtractFile.

Alexandre Julliard julliard at winehq.org
Tue Jun 15 08:25:55 CDT 2010


Andrew Nguyen <anguyen at codeweavers.com> writes:

> @@ -1458,24 +1458,25 @@ static DWORD decompress_file_lz( LPCWSTR source, LPCWSTR target )
>  
>  static UINT CALLBACK decompress_or_copy_callback( PVOID context, UINT notification, UINT_PTR param1, UINT_PTR param2 )
>  {
> +    static int has_extracted;
> +

This is not reentrant.

Also you need to point out which bugs these patches are fixing that
justifies putting them in during code freeze.

-- 
Alexandre Julliard
julliard at winehq.org



More information about the wine-devel mailing list