Protect against EINTR in Unix non-atomic I/O calls
read(), write() and close() may return EINTR, indicating the system call
should be restarted. The qt_safe_xxx versions of those functions do it.
Change-Id: Ifef3b98131a7e24a5defea3e3af9345a505ad733
Reviewed-by: Laszlo Papp <lpapp@kde.org>
| commit | a8597cbae47076e33b638c2e593f852c8c0a02d5 |
| parent | 691212d9e492b12590d5b7f4e2b24921911d4b17 |
| author | Thiago Macieira <thiago.macieira@intel.com> |
| committer | The Qt Project <gerrit-noreply@qt-project.org> |
| commit time | Wed, 12 Feb 2014 06:11:19 +0100 |