I "fixed" it (though only to shut up an irritating gcc linker message). Frankly,
if I were the user in your scenario I'd rather see an immediate "phut" then watch
tons of error messages fill the screen as the parser strives valiantly to make
sense of the garbage I inadvertently pasted in.
On Mon, 30 Oct 2000, Jack Campin wrote:
> > gets() is only used in one place (in the original abc2ps code, at that).
> > Where it is used is in the interactive function and it is used to get user
> > input to select tunes. The buffer is 500+ characters, and it's *highly*
> > unlikely that the user is going to enter more characters than that. If
> > they should, the only thing that will happen is that the program will
> > crash.
>
> 1. User enters the search string by copy-and-paste.
>
> 2. User has copied more than they think they have.
>
> 3. Phut.
>
> This ought to be fixed.
>
> =================== <http://www.purr.demon.co.uk/jack/> ===================
>
>
> To subscribe/unsubscribe, point your browser to:
>http://www.tullochgorm.com/lists.html
--
John Atchley
----------------------------------
So many guitars, so little time...
To subscribe/unsubscribe, point your browser to: http://www.tullochgorm.com/lists.html