<html>
<head>
<style><!--
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 10pt;
font-family:Tahoma
}
--></style></head>
<body class='hmmessage'><div dir='ltr'>
In Wine, MsiGetFileHashW fails on empty files. However, in Windows it<br><div><div dir="ltr">just generates a 0 hash. A patch + test is provided.<br><br>Try 3 incorporates Alexandre's comments: the test-case for an empty file<br>is now included in the existing test_MsiGetFileHash function.<br>---<br> dlls/msi/msi.c       |   34 ++++++++++++++++++++++------------<br> dlls/msi/tests/msi.c |    6 ++++++<br> 2 files changed, 28 insertions(+), 12 deletions(-)<br><br>Kind regards,<br>Robert van Herk<br>                                        </div></div>                                        </div></body>
</html>