diff options
author | João Abecasis <joao@abecasis.name> | 2009-10-07 12:48:50 (GMT) |
---|---|---|
committer | João Abecasis <joao@abecasis.name> | 2009-10-21 11:45:46 (GMT) |
commit | 0689a85ca20a36808b388efc452892606d47b34d (patch) | |
tree | 23069045048c03655d7478a02d82d80368f1910b /examples/qtestlib/tutorial4 | |
parent | 2a293f91a6b550cd72851d08616b4a8199faabdd (diff) | |
download | Qt-0689a85ca20a36808b388efc452892606d47b34d.zip Qt-0689a85ca20a36808b388efc452892606d47b34d.tar.gz Qt-0689a85ca20a36808b388efc452892606d47b34d.tar.bz2 |
Fix 32/64-bit issues with QFile::map/unmap() on *nix systems
We would previously silently ignore overflows in 32-bit systems and not
properly support 64-bit offsets in systems that support it because of
integer overflow.
There was also a problem that could prevent unmap from succeeding,
because we were passing the wrong length argument.
Task-number: QT-1594
Reviewed-by: Thiago Macieira
Diffstat (limited to 'examples/qtestlib/tutorial4')
0 files changed, 0 insertions, 0 deletions