cvs commit: hugs98/src input.c

Ross Paterson ross@soi.city.ac.uk
Fri, 19 Jul 2002 11:10:04 +0100


On Thu, Jul 18, 2002 at 04:51:41PM -0700, Sigbjorn Finne wrote:
> sof         2002/07/18 16:51:40 PDT
> 
>   Modified files:
>     src                  input.c 
>   Log:
>   - don't attempt using readline if stdin isn't a TTY; contributed
>     by Ross Paterson.
>   - fileInput(): use snprintf() to construct PP command.

The second arg to the snprintf() is wrong.  But anyway I can't see
any problem with what was there before, or even just

	sprintf(cmd, "%s %s", preprocessor, nm);