From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 16886 invoked by alias); 31 Oct 2013 14:36:14 -0000 Mailing-List: contact gcc-patches-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-patches-owner@gcc.gnu.org Received: (qmail 16863 invoked by uid 89); 31 Oct 2013 14:36:11 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-1.0 required=5.0 tests=AWL,BAYES_00,FREEMAIL_FROM,RCVD_IN_DNSWL_NONE,SPF_PASS autolearn=ham version=3.3.2 X-HELO: dub0-omc1-s16.dub0.hotmail.com Received: from dub0-omc1-s16.dub0.hotmail.com (HELO dub0-omc1-s16.dub0.hotmail.com) (157.55.0.215) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Thu, 31 Oct 2013 14:36:10 +0000 Received: from DUB122-W32 ([157.55.0.237]) by dub0-omc1-s16.dub0.hotmail.com with Microsoft SMTPSVC(6.0.3790.4675); Thu, 31 Oct 2013 07:36:07 -0700 X-TMN: [/P/Oxmv54CyZ53HphJghiPOM58n6YZA3] Message-ID: From: Bernd Edlinger To: Dodji Seketeli CC: "gcc-patches@gcc.gnu.org" , Jakub Jelinek Subject: RE: [PATCH] preprocessor/58580 - preprocessor goes OOM with warning for zero literals Date: Thu, 31 Oct 2013 14:48:00 -0000 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-SW-Source: 2013-10/txt/msg02689.txt.bz2 Hi, if you want to read zero-chars, why don't you simply use fgetc, optionally replacing '\0' with ' ' in read_line? Bernd.=20=09=09=20=09=20=20=20=09=09=20=20