shlwapi: Test and fix the behaviour of the CopyTo method for file sizes not multiple of the internal buffer size, on SHCreateStreamOnFileEx-returned IStreams. (try 4)

David Quintana (gigaherz) gigaherz at gmail.com
Tue Oct 29 13:22:01 CDT 2013


Remove unnecessary complexity from the test: The issue can be
reproduced by simply creating a 1-byte file, and trying to copy 2
bytes into the new stream.

---
 dlls/shlwapi/istream.c       | 14 +++----
 dlls/shlwapi/tests/istream.c | 91 ++++++++++++++++++++++++++++++++++++++++++++
 2 files changed, 98 insertions(+), 7 deletions(-)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-shlwapi-Test-and-fix-the-behaviour-of-the-CopyTo-met.patch
Type: text/x-diff
Size: 4706 bytes
Desc: not available
URL: <http://www.winehq.org/pipermail/wine-patches/attachments/20131029/379d6faa/attachment.patch>


More information about the wine-patches mailing list