Index: rlz/lib/recursive_cross_process_lock_posix.cc |
diff --git a/rlz/lib/recursive_cross_process_lock_posix.cc b/rlz/lib/recursive_cross_process_lock_posix.cc |
index aa15897078fc681abe86f22f7b7968533dccd7e8..c44cacfd7c652e66af1f5d4536300555d62fa7d4 100644 |
--- a/rlz/lib/recursive_cross_process_lock_posix.cc |
+++ b/rlz/lib/recursive_cross_process_lock_posix.cc |
@@ -59,7 +59,7 @@ bool RecursiveCrossProcessLock::TryGetCrossProcessLock( |
if (flock_result == -1) { |
perror("flock"); |
- ignore_result(HANDLE_EINTR(close(file_lock_))); |
+ close(file_lock_); |
file_lock_ = -1; |
return false; |
} |
@@ -72,7 +72,7 @@ bool RecursiveCrossProcessLock::TryGetCrossProcessLock( |
void RecursiveCrossProcessLock::ReleaseLock() { |
if (file_lock_ != -1) { |
ignore_result(HANDLE_EINTR(flock(file_lock_, LOCK_UN))); |
- ignore_result(HANDLE_EINTR(close(file_lock_))); |
+ close(file_lock_); |
file_lock_ = -1; |
} |