diff options
author | bluhm <bluhm@openbsd.org> | 2020-09-16 08:35:17 +0000 |
---|---|---|
committer | bluhm <bluhm@openbsd.org> | 2020-09-16 08:35:17 +0000 |
commit | 20d289b5b98feec663b37dcc4dc5660605573276 (patch) | |
tree | cb8a543a7e9b30d2fa4d284c5c2c0546ca991e6a /gnu | |
parent | As discovered by kettenis, recent mesa wants sysctl hw.physmem64, and (diff) | |
download | wireguard-openbsd-20d289b5b98feec663b37dcc4dc5660605573276.tar.xz wireguard-openbsd-20d289b5b98feec663b37dcc4dc5660605573276.zip |
Avoid generating a core dump during make build. The Perl configure
test program "try" already has a signal handler for SIGSEGV, but
OpenBSD generates a SIGBUS. Also set a handler for the latter to
exit cleanly.
from deraadt@; OK afresh1@
Diffstat (limited to 'gnu')
-rw-r--r-- | gnu/usr.bin/perl/Configure | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/gnu/usr.bin/perl/Configure b/gnu/usr.bin/perl/Configure index 8b706bb4410..0ea2897d863 100644 --- a/gnu/usr.bin/perl/Configure +++ b/gnu/usr.bin/perl/Configure @@ -21440,6 +21440,7 @@ int main(int ac, char **av) { signal(SIGSEGV, exit); + signal(SIGBUS, exit); myprintf("%s%cs all right, then\n", "that", '\''); exit(0); |