Received: (from majordom@localhost) by hyperreal.com (8.8.5/8.8.5) id IAA20113; Thu, 1 May 1997 08:16:54 -0700 (PDT) Received: from sierra.zyzzyva.com (ppp01-58.zyzzyva.com [208.214.58.10]) by hyperreal.com (8.8.5/8.8.5) with ESMTP id IAA20077 for ; Thu, 1 May 1997 08:16:49 -0700 (PDT) Received: from sierra (localhost [127.0.0.1]) by sierra.zyzzyva.com (8.8.5/8.8.2) with ESMTP id KAA06857 for ; Thu, 1 May 1997 10:17:56 -0500 (CDT) Message-Id: <199705011517.KAA06857@sierra.zyzzyva.com> X-Mailer: exmh version 2.0gamma 1/27/96 To: new-httpd@apache.org Subject: Re: [PATCH] fix for QNX In-reply-to: ben's message of Thu, 01 May 1997 14:05:53 +0100. <9705011405.aa21244@gonzo.ben.algroup.co.uk> X-uri: http://www.zyzzyva.com/ Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Thu, 01 May 1997 10:17:55 -0500 From: Randy Terbush Sender: new-httpd-owner@apache.org Precedence: bulk Reply-To: new-httpd@apache.org +1 > Fix the problem with signal being redefined on QNX. > > Commentary: I debated whether to make this a QNX only thing, but in the end it > seemed pointless to me. > > Cheers, > > Ben. > > Index: conf.h > =================================================================== > RCS file: /export/home/cvs/apache/src/conf.h,v > retrieving revision 1.95 > diff -c -r1.95 conf.h > *** conf.h 1997/04/27 07:52:17 1.95 > --- conf.h 1997/05/01 12:33:39 > *************** > *** 641,646 **** > --- 641,652 ---- > #define SIG_ERR ((Sigfunc *)-1) > #endif > > + /* > + * For some strange reason, QNX defines signal to signal. Eliminate it. > + */ > + #ifdef signal > + #undef signal > + #endif > #define signal(s,f) ap_signal(s,f) > Sigfunc *signal(int signo, Sigfunc *func); > #endif > > -- > ** Buy "Apache: The Definitive Guide" from http://www.links.org/apache ** > Ben Laurie Phone: +44 (181) 994 6435 Email: ben@algroup.co.uk > Freelance Consultant and Fax: +44 (181) 994 6472 > Technical Director URL: http://www.algroup.co.uk/Apache-SSL > A.L. Digital Ltd, Apache Group member (http://www.apache.org) > London, England. Apache-SSL author