mirror of
https://github.com/MariaDB/server.git
synced 2025-07-29 05:21:33 +03:00
unittest/mytap/tap.c :
Do not (try to) set a signal handler action unless a signal is defined on the platform. unittest/mytap/tap.c: Do not (try to) set a signal handler action unless a signal is defined on the platform. SIGXCPU, SIGXFSZ, SIGSYS, and SIGTRAP were reported as undefined in Netware build of 5.1.12-beta.
This commit is contained in:
@ -140,11 +140,19 @@ static signal_entry install_signal[]= {
|
|||||||
{ SIGABRT, handle_core_signal },
|
{ SIGABRT, handle_core_signal },
|
||||||
{ SIGFPE, handle_core_signal },
|
{ SIGFPE, handle_core_signal },
|
||||||
{ SIGSEGV, handle_core_signal },
|
{ SIGSEGV, handle_core_signal },
|
||||||
{ SIGBUS, handle_core_signal },
|
{ SIGBUS, handle_core_signal }
|
||||||
{ SIGXCPU, handle_core_signal },
|
#ifdef SIGXCPU
|
||||||
{ SIGXFSZ, handle_core_signal },
|
, { SIGXCPU, handle_core_signal }
|
||||||
{ SIGSYS, handle_core_signal },
|
#endif
|
||||||
{ SIGTRAP, handle_core_signal }
|
#ifdef SIGXCPU
|
||||||
|
, { SIGXFSZ, handle_core_signal }
|
||||||
|
#endif
|
||||||
|
#ifdef SIGXCPU
|
||||||
|
, { SIGSYS, handle_core_signal }
|
||||||
|
#endif
|
||||||
|
#ifdef SIGXCPU
|
||||||
|
, { SIGTRAP, handle_core_signal }
|
||||||
|
#endif
|
||||||
};
|
};
|
||||||
|
|
||||||
void
|
void
|
||||||
|
Reference in New Issue
Block a user