--nextPart2116933.RZXfQJiUaP Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline Michael Leupold wrote: >I seem to have to check the return value and use waitForBytesWritten() > unless I'm using unbuffered output as QIODevice::write() might (will?) > return the number of bytes I tried to write even if the disk is full. > That's at least what a simple test suggests. Use an unbuffered QFile and check the return value of write(). =2D-=20 Thiago Macieira - thiago (AT) macieira.info - thiago (AT) kde.org PGP/GPG: 0x6EF45358; fingerprint: E067 918B B660 DBD1 105C 966C 33F5 F005 6EF4 5358 --nextPart2116933.RZXfQJiUaP Content-Type: application/pgp-signature; name=signature.asc Content-Description: This is a digitally signed message part. -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.9 (GNU/Linux) iD8DBQBJcvECM/XwBW70U1gRAhoKAJwKU4+P4+bVOdIDPncFcDeOzxBuqQCaAqyj lT/xHMCpYmjz1kIfPQlEJAI= =Ejm/ -----END PGP SIGNATURE----- --nextPart2116933.RZXfQJiUaP--