--- 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);