Module Name: src
Committed By: hannken
Date: Tue Mar 21 08:31:30 UTC 2023
Modified Files:
src/bin/sh: error.h
Log Message:
Use "sigjmp_buf loc" after switch to sigsetjmp()/siglongjmp().
Fixes errors and aborts on sparc at least.
To generate a diff of this commit:
cvs rdiff -u -r1.24 -r1.25 src/bin/sh/error.h
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/bin/sh/error.h
diff -u src/bin/sh/error.h:1.24 src/bin/sh/error.h:1.25
--- src/bin/sh/error.h:1.24 Sun Mar 19 17:47:48 2023
+++ src/bin/sh/error.h Tue Mar 21 08:31:30 2023
@@ -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
@@ -58,7 +58,7 @@
#include <setjmp.h>
struct jmploc {
- jmp_buf loc;
+ sigjmp_buf loc;
};
extern volatile int errors_suppressed;