diff options
author | Thiago Macieira <thiago.macieira@intel.com> | 2013-01-10 23:08:45 -0800 |
---|---|---|
committer | The Qt Project <gerrit-noreply@qt-project.org> | 2013-01-23 16:57:58 +0100 |
commit | 119c581dd1e0b9164e1631f43820abc3dee82e27 (patch) | |
tree | 1b975af8bef5b13ffd3a9624a3bcd168990c8481 /src/plugins | |
parent | 3c9cc32086bfaf9947324f8792ce40a6fc23ef00 (diff) |
Simplify checking of the SHM/SEM Unix key file's existence
We don't need to stat(2) the file to check if it exists before
creating it. We're about to open(2) with O_CREAT|O_EXCL, which will
not recreate it if it existed.
Change-Id: I2d2176054e7776a32a4520832ee104b9c4ccf748
Reviewed-by: Giuseppe D'Angelo <giuseppe.dangelo@kdab.com>
Reviewed-by: Richard J. Moore <rich@kde.org>
Diffstat (limited to 'src/plugins')
0 files changed, 0 insertions, 0 deletions