From owner-cvs-usrbin Mon Sep 29 13:12:41 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id NAA05425 for cvs-usrbin-outgoing; Mon, 29 Sep 1997 13:12:41 -0700 (PDT) Received: from rover.village.org (rover.village.org [204.144.255.49]) by hub.freebsd.org (8.8.7/8.8.7) with SMTP id NAA05405; Mon, 29 Sep 1997 13:12:19 -0700 (PDT) Received: from harmony [10.0.0.6] by rover.village.org with esmtp (Exim 1.71 #1) id 0xFmAy-0006FH-00; Mon, 29 Sep 1997 14:12:16 -0600 Received: from harmony.village.org (localhost [127.0.0.1]) by harmony.village.org (8.8.7/8.8.3) with ESMTP id OAA13253; Mon, 29 Sep 1997 14:12:49 -0600 (MDT) Message-Id: <199709292012.OAA13253@harmony.village.org> To: Bruce Evans Subject: Re: cvs commit: src/usr.bin/make main.c var.c Cc: cvs-all@freebsd.org, cvs-committers@freebsd.org, cvs-usrbin@freebsd.org In-reply-to: Your message of "Mon, 29 Sep 1997 22:42:45 +1000." <199709291242.WAA01186@godzilla.zeta.org.au> References: <199709291242.WAA01186@godzilla.zeta.org.au> Date: Mon, 29 Sep 1997 14:12:49 -0600 From: Warner Losh Sender: owner-cvs-usrbin@freebsd.org X-Loop: FreeBSD.org Precedence: bulk In message <199709291242.WAA01186@godzilla.zeta.org.au> Bruce Evans writes: : The #include of is protected by `#if __STDC__' and Digital : Unix apparently doesn't support Standard C by default. : : Including unconditionally increases the breakage of support : for nonstandard C. It has already been broken in rev.1.10 of main.c : by removing the apparently-redundant nested extern declaration of : getenv(). var.c has always been broken (getenv is not declared and : doesn't return int). I'll have to look into this more closely. I think that DUX's cc defines __STDC__ to be 0 unless you are exactly ansi. Stupid, imho, but I think that's what's up. I'll have to check into the details of this more closely when I have better connectivity to the alpha. Warner