cvs commit: hugs98/src input.c

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. Revision Changes Path 1.44 +20 -7 hugs98/src/input.c

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);
participants (2)
-
Ross Paterson
-
Sigbjorn Finne