Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(2713)

Unified Diff: base/file_util.h

Issue 100253002: Don't HANDLE_EINTR(close). Either IGNORE_EINTR(close) or just close. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: base/file_util.h
diff --git a/base/file_util.h b/base/file_util.h
index ac9f67d40df9c4a78fa8ab7195d993d517c61988..2e6889080fbff21517d6c9f4711ee6d7fbb14073 100644
--- a/base/file_util.h
+++ b/base/file_util.h
@@ -398,7 +398,7 @@ class ScopedFDClose {
public:
inline void operator()(int* x) const {
if (x && *x >= 0) {
- if (HANDLE_EINTR(close(*x)) < 0)
+ if (IGNORE_EINTR(close(*x)) < 0)
DPLOG(ERROR) << "close";
}
}

Powered by Google App Engine
This is Rietveld 408576698