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

Richard Moore richmoore44 at gmail.com
Mon Mar 26 20:48:21 BST 2007


On 3/26/07, Thiago Macieira <thiago at kde.org> wrote:
> 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().

I don't see why - either f.handle() should work or there's a Qt bug. I
don't see how this is any different from using a window handle or a
graphics context.

Cheers

Rich.




More information about the kde-core-devel mailing list