diff options
author | Andy Shaw <andy.shaw@qt.io> | 2016-10-18 19:12:55 +0200 |
---|---|---|
committer | Jani Heikkinen <jani.heikkinen@qt.io> | 2016-10-20 12:08:42 +0000 |
commit | 50b9d8a931e859c027726a74ea0616e7b292e782 (patch) | |
tree | ba1a4fd94091557b52a48a703817235fefb48773 /tests | |
parent | 6feec9da93032d11a768802ac2187d9d4153b1ec (diff) |
Windows: Fix regression in QFSFileEnginePrivate::nativeWrite()
Change 0696566b1e19c8178e00c0d14f185935e17d9e8b caused the block
size to be incorrect for data > 32MB.
Since bytesToWrite changes within the do...while loop, then the block size
can potentially change too each time. So it needs to be recalculated each
time rather than just once.
Task-number: QTBUG-56616
Change-Id: I9880d0985f2d0242c30e67230be7271eb806db95
Reviewed-by: Oliver Wolff <oliver.wolff@qt.io>
Reviewed-by: Friedemann Kleint <Friedemann.Kleint@qt.io>
(cherry picked from commit 683c9bc4a8e656b2251871b9d8c9952e58681a52)
Diffstat (limited to 'tests')
0 files changed, 0 insertions, 0 deletions