Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/bin/sh Use "sigjmp_buf loc" after switch to sigsetjmp()/sigl...



details:   https://anonhg.NetBSD.org/src/rev/4e2aacdae221
branches:  trunk
changeset: 373924:4e2aacdae221
user:      hannken <hannken%NetBSD.org@localhost>
date:      Tue Mar 21 08:31:30 2023 +0000

description:
Use "sigjmp_buf loc" after switch to sigsetjmp()/siglongjmp().

Fixes errors and aborts on sparc at least.

diffstat:

 bin/sh/error.h |  4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diffs (18 lines):

diff -r f5579bbc8be3 -r 4e2aacdae221 bin/sh/error.h
--- a/bin/sh/error.h    Mon Mar 20 11:19:29 2023 +0000
+++ b/bin/sh/error.h    Tue Mar 21 08:31:30 2023 +0000
@@ -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;



Home | Main Index | Thread Index | Old Index