This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
RE: [PATCH] preprocessor/58580 - preprocessor goes OOM with warning for zero literals
- From: Bernd Edlinger <bernd dot edlinger at hotmail dot de>
- To: Dodji Seketeli <dodji at redhat dot com>
- Cc: "gcc-patches at gcc dot gnu dot org" <gcc-patches at gcc dot gnu dot org>, Jakub Jelinek <jakub at redhat dot com>
- Date: Thu, 31 Oct 2013 15:36:07 +0100
- Subject: RE: [PATCH] preprocessor/58580 - preprocessor goes OOM with warning for zero literals
- Authentication-results: sourceware.org; auth=none
Hi,
if you want to read zero-chars, why don't you simply use fgetc,
optionally replacing '\0' with ' ' in read_line?
Bernd.