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

Christian Ehrlicher Ch.Ehrlicher at gmx.de
Mon Mar 26 18:44:10 BST 2007


Thiago Macieira schrieb:
> 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().
> 
It's inside kconfigini.cpp / KConfigINIBackEnd::parseSingleConfigFile() 
- don't know if it makes sense to use mmap there at all. But I did not 
write the code / made tests if it's worth using mmap there.

Christian

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 250 bytes
Desc: OpenPGP digital signature
URL: <http://mail.kde.org/pipermail/kde-core-devel/attachments/20070326/ae5f97e9/attachment.sig>


More information about the kde-core-devel mailing list