From a4cdfb7376972a17e40bd3c63176f2e133843287 Mon Sep 17 00:00:00 2001 From: Chris Hanson Date: Fri, 12 Jul 1991 23:17:57 +0000 Subject: [PATCH] Add code to handle siginfo structure that is zero. --- v7/src/microcode/uxtrap.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/v7/src/microcode/uxtrap.h b/v7/src/microcode/uxtrap.h index 0b4d2428f..fa4fde069 100644 --- a/v7/src/microcode/uxtrap.h +++ b/v7/src/microcode/uxtrap.h @@ -1,6 +1,6 @@ /* -*-C-*- -$Header: /Users/cph/tmp/foo/mit-scheme/mit-scheme/v7/src/microcode/uxtrap.h,v 1.9 1991/07/11 03:55:53 cph Exp $ +$Header: /Users/cph/tmp/foo/mit-scheme/mit-scheme/v7/src/microcode/uxtrap.h,v 1.10 1991/07/12 23:17:57 cph Exp $ Copyright (c) 1990-91 Massachusetts Institute of Technology @@ -308,6 +308,7 @@ struct full_sigcontext #include #define SIGINFO_T siginfo_t * +#define SIGINFO_VALID_P(info) ((info) != 0) #define SIGINFO_CODE(info) ((info) -> si_code) #define SIGCONTEXT ucontext @@ -362,6 +363,7 @@ struct full_sigcontext #ifndef SIGINFO_T #define SIGINFO_T int +#define SIGINFO_VALID_P(info) (1) #define SIGINFO_CODE(info) (info) #endif -- 2.25.1