From owner-freebsd-ports@FreeBSD.ORG Sat May 17 07:13:56 2003 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 2C08437B408 for ; Sat, 17 May 2003 07:13:56 -0700 (PDT) Received: from mta01-svc.ntlworld.com (mta01-svc.ntlworld.com [62.253.162.41]) by mx1.FreeBSD.org (Postfix) with ESMTP id 99BA043F93 for ; Sat, 17 May 2003 07:13:53 -0700 (PDT) (envelope-from jon@witchspace.com) Received: from witchspace.com ([80.3.251.242]) by mta01-svc.ntlworld.com (InterMail vM.4.01.03.37 201-229-121-137-20020806) with SMTP id <20030517141352.XMFP2283.mta01-svc.ntlworld.com@witchspace.com> for ; Sat, 17 May 2003 15:13:52 +0100 Received: (qmail 86870 invoked from network); 17 May 2003 14:13:51 -0000 Received: from unknown (HELO witchspace.com) (192.168.0.1) by dookie.witchspace.com with SMTP; 17 May 2003 14:13:51 -0000 Message-ID: <3EC6439F.5020700@witchspace.com> Date: Sat, 17 May 2003 15:13:51 +0100 From: Jonathan Belson User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.3.1) Gecko/20030509 X-Accept-Language: en-us, en MIME-Version: 1.0 To: Erik Trulsson References: <3EC53C6C.1040904@witchspace.com> <20030517121908.GA67369@rot13.obsecurity.org> <3EC62CC2.6090209@witchspace.com> <20030517130549.GA44928@falcon.midgard.homeip.net> <3EC63B78.6010203@witchspace.com> <20030517135217.GA88537@falcon.midgard.homeip.net> In-Reply-To: <20030517135217.GA88537@falcon.midgard.homeip.net> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit cc: ports@FreeBSD.org cc: Kris Kennaway Subject: Re: FreeBSD Port: pornview-0.2.0.p.1 X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 17 May 2003 14:13:56 -0000 Erik Trulsson wrote: >>From (a draft version of) the C99 standard: Aha, I didn't realise you were talking about ISO C - I still think in ANSI most of the time (being old enough to have studied K&R at university). > Besides, the only way I can think of to have stdin/stdout/stderr > available as expressions but not #define them is to have them as just > plain variables, and if that was the only option available I am sure > the standards committee would have written that. So even with the wording > you give they *could* be macros, but might not necessarily have been. Presumably they usually were in ANSI C, but not in ISO C (as required). > Not explicitly no, but if the pornview code was OK there wouldn't have > been many other options left. Apart from my lovely #undef solution :-) I'll contact the author and explain the situation, someone else can look at/commit the patch you posted. --Jon http://www.witchspace.com