mirror of
https://github.com/openjdk/jdk.git
synced 2025-09-24 13:04:33 +02:00
7178026: os::close can restart ::close but that is not a restartable syscall
Removed restart macros from all os:close calls on Solaris, Linux, MacOS X platforms. Reviewed-by: dcubed, dholmes
This commit is contained in:
parent
72a51a0c44
commit
be6e745755
10 changed files with 36 additions and 56 deletions
|
@ -122,9 +122,7 @@ static int file_open(const char* path, int flag) {
|
|||
}
|
||||
|
||||
static int file_close(int fd) {
|
||||
int ret;
|
||||
RESTARTABLE(close(fd), ret);
|
||||
return ret;
|
||||
return close(fd);
|
||||
}
|
||||
|
||||
static int file_read(int fd, char* buf, int len) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue