Don't use TEMP_FAILURE_RETRY on close in frameworks/native.
Bug: http://b/20501816 Change-Id: Id13a62f02243c6c4831e2f47944dc34fa822f5b6
This commit is contained in:
parent
9188b4bb5d
commit
997abb668b
@ -86,6 +86,6 @@ int main() {
|
|||||||
} while (bytes_written != 0 && bytes_to_send > 0);
|
} while (bytes_written != 0 && bytes_to_send > 0);
|
||||||
}
|
}
|
||||||
|
|
||||||
TEMP_FAILURE_RETRY(close(s));
|
close(s);
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
@ -306,7 +306,7 @@ static int _dump_file_from_fd(const char *title, const char *path, int fd) {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
TEMP_FAILURE_RETRY(close(fd));
|
close(fd);
|
||||||
|
|
||||||
if (!newline) printf("\n");
|
if (!newline) printf("\n");
|
||||||
if (title) printf("\n");
|
if (title) printf("\n");
|
||||||
|
Loading…
Reference in New Issue
Block a user