Testing file offset bits?
Thiago Macieira
thiago at kde.org
Wed Feb 27 19:26:15 UTC 2013
On quarta-feira, 27 de fevereiro de 2013 15.59.53, David Faure wrote:
> This is only necessary when using ::open() directly though (or the other
> stuff from kde_file.h). I'm porting the code away from kde_file.h (to QFile
> / QFileInfo) whereever necessary, which makes this unneeded.
>
> Maybe only in kio_file, in the end, for performance reasons.
Please note: do not use open(2) directly in multithreaded applications,
especially if those applications also spawn child processes (QProcess or
otherwise).
Unless you use the POSIX.1-2008 O_CLOEXEC flag, you may be leaking file
descriptors.
--
Thiago Macieira - thiago (AT) macieira.info - thiago (AT) kde.org
Software Architect - Intel Open Source Technology Center
PGP/GPG: 0x6EF45358; fingerprint:
E067 918B B660 DBD1 105C 966C 33F5 F005 6EF4 5358
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 190 bytes
Desc: This is a digitally signed message part.
URL: <http://mail.kde.org/pipermail/kde-buildsystem/attachments/20130227/9855564b/attachment.sig>
More information about the Kde-buildsystem
mailing list