summaryrefslogtreecommitdiffstats
path: root/base/shared_memory_posix.cc
diff options
context:
space:
mode:
Diffstat (limited to 'base/shared_memory_posix.cc')
-rw-r--r--base/shared_memory_posix.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/base/shared_memory_posix.cc b/base/shared_memory_posix.cc
index 538aed4..873432a 100644
--- a/base/shared_memory_posix.cc
+++ b/base/shared_memory_posix.cc
@@ -142,7 +142,7 @@ bool SharedMemory::CreateNamed(const std::string& name,
return false;
const uint32 current_size = stat.st_size;
if (current_size != size) {
- if (ftruncate(fileno(fp), size) != 0)
+ if (HANDLE_EINTR(ftruncate(fileno(fp), size)) != 0)
return false;
if (fseeko(fp, size, SEEK_SET) != 0)
return false;