delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1997/03/10/10:45:51

Date: Mon, 10 Mar 1997 17:29:49 +0200 (IST)
From: Eli Zaretskii <eliz AT is DOT elta DOT co DOT il>
To: Thomas Demmer <demmer AT LSTM DOT Ruhr-UNI-Bochum DOT De>
cc: djgpp AT delorie DOT com
Subject: Re: djgpp bug?
In-Reply-To: <3323F542.41C6@LSTM.Ruhr-UNI-Bochum.De>
Message-ID: <Pine.SUN.3.91.970310172826.29057H-100000@is>
MIME-Version: 1.0

On Mon, 10 Mar 1997, Thomas Demmer wrote:

> For a _real_ fool proof way of getting input lines of unknown
> length, check the FAQ-sources. Somewhere in there Eli has put
> a routine that reads into a buffer, checks if is terminated
> with \n, and reallocates and reads on, if not.

It's in v2/faq210s.zip, file faq/enum.c.

> And, also, why don't you just use bison & flex. That's exactly
> what they are made for.

I can only second that.

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019