msi: fixed MsiGetFileHashW for empty files (try 2)

Robert van Herk mijnspamboxje at
Fri Mar 30 03:47:05 CDT 2012

In Wine, MsiGetFileHashW fails on empty files. However, in Windows it
just generates a 0 hash. A patch + test is provided.

Try 2's whitespacing is consistent with the rest of the files.
    modified:   dlls/msi/msi.c
    modified:   dlls/msi/tests/msi.c

Kind regards,
Robert van Herk
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <>
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: 0001-msi-fixed-MsiGetFileHashW-for-empty-files-try-2.txt
URL: <>

More information about the wine-patches mailing list