OpenJDK / jdk / jdk
changeset 53907:c1885a1d62a3
8219611: Remove superfluous sigfillset code
Reviewed-by: dholmes
author | mikael |
---|---|
date | Fri, 22 Feb 2019 18:54:23 -0800 |
parents | a6fb5e60588f |
children | 45a23c64d0f6 |
files | src/hotspot/os/posix/os_posix.cpp |
diffstat | 1 files changed, 1 insertions(+), 5 deletions(-) [+] |
line wrap: on
line diff
--- a/src/hotspot/os/posix/os_posix.cpp Fri Feb 22 14:39:57 2019 -0800 +++ b/src/hotspot/os/posix/os_posix.cpp Fri Feb 22 18:54:23 2019 -0800 @@ -191,10 +191,6 @@ os::native_path(fullname); - sigset_t set, oldset; - int ret = sigfillset(&set); - assert_with_errno(ret == 0, "sigfillset returned error"); - // set the file creation mask. mode_t file_mode = S_IRUSR | S_IWUSR; @@ -208,7 +204,7 @@ } // delete the name from the filesystem. When 'fd' is closed, the file (and space) will be deleted. - ret = unlink(fullname); + int ret = unlink(fullname); assert_with_errno(ret == 0, "unlink returned error"); os::free(fullname);