From owner-freebsd-hackers Mon Apr 13 05:46:56 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id FAA16588 for freebsd-hackers-outgoing; Mon, 13 Apr 1998 05:46:56 -0700 (PDT) (envelope-from owner-freebsd-hackers@FreeBSD.ORG) Received: from indigo.ie (nsmart@ts01-28.waterford.indigo.ie [194.125.139.91]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id MAA16493 for ; Mon, 13 Apr 1998 12:46:47 GMT (envelope-from rotel@indigo.ie) Received: (from nsmart@localhost) by indigo.ie (8.8.8/8.8.7) id NAA01565 for freebsd-hackers@freebsd.org; Mon, 13 Apr 1998 13:47:15 +0100 (IST) (envelope-from rotel@indigo.ie) From: Niall Smart Message-Id: <199804131247.NAA01565@indigo.ie> Date: Mon, 13 Apr 1998 13:47:14 +0000 Reply-To: rotel@indigo.ie X-Mailer: Mail User's Shell (7.2.6 beta(3) 11/17/96) To: freebsd-hackers@FreeBSD.ORG Subject: Re: PR kern/1144 Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Hi, The abovementioned PR is for sig{add, del}set and sigismember. Apparently POSIX requires that these functions check that the specified signal number exists, which they currently do not do. These functions are currently defined as macro's, I don't see any nice, fast, MT-safe way that only evaluates the signal number argument once that adds the checking that POSIX requires while keeping them as macros. So should I submit patches to fix this problem by deleting the macro definitions and adding the required checking to /usr/src/lib/libc/gen/sigsetops.c or are we going to ignore POSIX? Niall -- Niall Smart. Microsoft Suck. See www.freebsd.org for details. echo "#define if(x) if(!(x))" >> /usr/include/stdio.h To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message