Skip to content

Commit

Permalink
Use "sigjmp_buf loc" after switch to sigsetjmp()/siglongjmp().
Browse files Browse the repository at this point in the history
Fixes errors and aborts on sparc at least.
  • Loading branch information
hannken authored and hannken committed Mar 21, 2023
1 parent a2c17ab commit 0e061ac
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions bin/sh/error.h
@@ -1,4 +1,4 @@
/* $NetBSD: error.h,v 1.24 2023/03/19 17:47:48 kre Exp $ */
/* $NetBSD: error.h,v 1.25 2023/03/21 08:31:30 hannken Exp $ */

/*-
* Copyright (c) 1991, 1993
Expand Down Expand Up @@ -58,7 +58,7 @@
#include <setjmp.h>

struct jmploc {
jmp_buf loc;
sigjmp_buf loc;
};

extern volatile int errors_suppressed;
Expand Down

0 comments on commit 0e061ac

Please sign in to comment.