* commit 'b8e6cb08ebcf7b55fd8d94f3ecf29f73a7886fa8': Don't use TEMP_FAILURE_RETRY on close in frameworks/native.
This commit is contained in:
commit
9ca6d078e4
@ -86,6 +86,6 @@ int main() {
|
||||
} while (bytes_written != 0 && bytes_to_send > 0);
|
||||
}
|
||||
|
||||
TEMP_FAILURE_RETRY(close(s));
|
||||
close(s);
|
||||
return 0;
|
||||
}
|
||||
|
@ -290,7 +290,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 (title) printf("\n");
|
||||
|
Loading…
Reference in New Issue
Block a user