summaryrefslogtreecommitdiffstats
path: root/gnu
diff options
context:
space:
mode:
authorbluhm <bluhm@openbsd.org>2020-09-16 08:35:17 +0000
committerbluhm <bluhm@openbsd.org>2020-09-16 08:35:17 +0000
commit20d289b5b98feec663b37dcc4dc5660605573276 (patch)
treecb8a543a7e9b30d2fa4d284c5c2c0546ca991e6a /gnu
parentAs discovered by kettenis, recent mesa wants sysctl hw.physmem64, and (diff)
downloadwireguard-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/Configure1
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);