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:
Ron Durbin 2013-06-14 07:46:22 -07:00
parent 72a51a0c44
commit be6e745755
10 changed files with 36 additions and 56 deletions

View file

@ -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) {