Subject: Re: yacc and PR 4260
To: Krister Walfridsson <cato@df.lth.se>
From: Bang Jun-Young <junyoung@netbsd.org>
List: tech-toolchain
Date: 12/23/2002 14:56:06
On Sat, Dec 21, 2002 at 09:57:26PM +0100, Krister Walfridsson wrote:
> PR 4260 notes that the yacc output has problems on platforms that do not
> have ANSI C realloc(3), and thus crash on realloc(NULL, x). I don't
> personally care about those systems, and would like to close the PR with
> a message saying that these systems are too old to be supported. OTOH, we
> do the #if __STDC__ song and dance regarding prototypes etc., so we are
> trying to work on at least some non-ANSI systems...
> 
> So what is the "correct" thing to do?

IMO, it would be to simply close the PR. If we accepted such request,
some people soon might request to back out removing __P() in userland
programs (and other ANSI changes as well), because they don't compile
in pre-ANSI systems. 

Jun-Young

-- 
Bang Jun-Young <junyoung@netbsd.org>