From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 12015 invoked by alias); 5 Dec 2001 21:16:28 -0000 Mailing-List: contact gcc-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Archive: List-Post: List-Help: Sender: gcc-owner@gcc.gnu.org Received: (qmail 11671 invoked from network); 5 Dec 2001 21:15:52 -0000 Received: from unknown (HELO bothner.com) (216.102.199.253) by sources.redhat.com with SMTP; 5 Dec 2001 21:15:52 -0000 Received: from bothner.com (eureka.bothner.com [192.168.1.9]) by bothner.com (8.11.6/8.11.6) with ESMTP id fB5LExg11964 for ; Wed, 5 Dec 2001 13:14:59 -0800 Message-ID: <3C0E8E95.20202@bothner.com> Date: Wed, 05 Dec 2001 13:16:00 -0000 From: Per Bothner User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:0.9.6) Gecko/20011120 X-Accept-Language: en-us MIME-Version: 1.0 To: gcc@gcc.gnu.org Subject: misleading statement in bugs.html#known Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-SW-Source: 2001-12/txt/msg00240.txt.bz2 The bugs.html files says 'FILE *yyin = stdin' "will not compile with GNU libc (GNU/Linux libc6), because stdin is not a constant. This was done deliberately, in order for there to be no limit on the number of open FILE objects." The latter has nothing to do with it. It is easy to make stdin be a constant while still having no limit on the number of open FILE objects. For example: extern FILE __stdin; @define stdin (&__stdin) The point is that glibc allows you to *assign* to stdin, so it is no longer constant. This is a questionable feature.. -- --Per Bothner per@bothner.com http://www.bothner.com/per/