msi: fixed MsiGetFileHashW for empty files (try 3)
Robert van Herk
mijnspamboxje at hotmail.com
Thu Apr 5 06:13:53 CDT 2012
In Wine, MsiGetFileHashW fails on empty files. However, in Windows it
just generates a 0 hash. A patch + test is provided.
Try 3 incorporates Alexandre's comments: the test-case for an empty file
is now included in the existing test_MsiGetFileHash function.
---
dlls/msi/msi.c | 34 ++++++++++++++++++++++------------
dlls/msi/tests/msi.c | 6 ++++++
2 files changed, 28 insertions(+), 12 deletions(-)
Kind regards,
Robert van Herk
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.winehq.org/pipermail/wine-patches/attachments/20120405/08dc011f/attachment-0001.html>
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: 0001-msi-fixed-MsiGetFileHashW-for-empty-files-try-3.txt
URL: <http://www.winehq.org/pipermail/wine-patches/attachments/20120405/08dc011f/attachment-0001.txt>
More information about the wine-patches
mailing list