[Fwd: Qt4.3 - important regression with QFile::handle() on win32]

Thiago Macieira thiago at kde.org
Mon Mar 26 18:33:43 BST 2007


Christian Ehrlicher wrote:
>QFile f("foo.txt");
>f.open()
>mmap(..., f.handle(), ...)
>
>
>I've changed our mmap() impl. which seems to work.

The calling code seems buggy. Using mmap(2) should bypass QFile 
completely, aside of QFile::encodeName().

-- 
  Thiago Macieira  -  thiago (AT) macieira.info - thiago (AT) kde.org
    PGP/GPG: 0x6EF45358; fingerprint:
    E067 918B B660 DBD1 105C  966C 33F5 F005 6EF4 5358
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
URL: <http://mail.kde.org/pipermail/kde-core-devel/attachments/20070326/ac3dfba9/attachment.sig>


More information about the kde-core-devel mailing list