mmio: Do not zero current file position whenever mmioSetBuffer is called

Christoph Frick frick at sc-networks.de
Wed Jun 4 07:41:35 CDT 2008


On Tue, Jun 03, 2008 at 07:57:00PM -0700, Matthew D'Asaro wrote:

> Instead I set wm->info.lBufOffset to wm->info.lDiskOffset because the
> buffer is flushed at the beginning of a call to mmioSetBuffer so
> wm->info.lDiskOffset is synchronized with wm->info.lBufOffset and so
> wm->info.lDiskOffset contains the correct current file position. The
> test for mmio still passes with this patch.

wouldn't that indicate, that the current patch does not cover that case?
can you add a test for it?

-- 
cu
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 163 bytes
Desc: not available
Url : http://www.winehq.org/pipermail/wine-devel/attachments/20080604/2a46c197/attachment.pgp 


More information about the wine-devel mailing list