mirror of
https://github.com/openjdk/jdk.git
synced 2025-08-28 07:14:30 +02:00
8200409: jdk11 nightly solaris sparc build failure
Reviewed-by: alanb, tbell
This commit is contained in:
parent
2a4a941922
commit
5c124571d0
3 changed files with 43 additions and 6 deletions
|
@ -177,13 +177,11 @@ static sa_handler_t set_signal(int sig, sa_handler_t disp, bool is_sigset) {
|
|||
}
|
||||
}
|
||||
|
||||
JNIEXPORT sa_handler_t JNICALL
|
||||
signal(int sig, sa_handler_t disp) {
|
||||
sa_handler_t signal(int sig, sa_handler_t disp) {
|
||||
return set_signal(sig, disp, false);
|
||||
}
|
||||
|
||||
JNIEXPORT sa_handler_t JNICALL
|
||||
sigset(int sig, sa_handler_t disp) {
|
||||
sa_handler_t sigset(int sig, sa_handler_t disp) {
|
||||
return set_signal(sig, disp, true);
|
||||
}
|
||||
|
||||
|
@ -199,8 +197,7 @@ static int call_os_sigaction(int sig, const struct sigaction *act,
|
|||
return (*os_sigaction)(sig, act, oact);
|
||||
}
|
||||
|
||||
JNIEXPORT int JNICALL
|
||||
sigaction(int sig, const struct sigaction *act, struct sigaction *oact) {
|
||||
int sigaction(int sig, const struct sigaction *act, struct sigaction *oact) {
|
||||
int res;
|
||||
struct sigaction oldAct;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue