Re: Some 2.1.72 odd things.

Aaron M. Ucko (amu@mit.edu)
12 Dec 1997 21:57:25 -0500


Michael Elizabeth Chastain <mec@shout.net> writes:

> fprintf(stderr, prompt);
>
> ... where it should say:
>
> fprintf(stderr, "%s", prompt);

No, fprintf is overkill; it should say
fwrite(prompt, 1, strlen(prompt), stderr);

-- 
Aaron M. Ucko <amu@mit.edu> (finger amu@monk.mit.edu) [Stark raving sane]