Call __sputc() directly in fputc() instead of taking an expensive

detour through putc().
This commit is contained in:
Tim J. Robbins 2004-03-10 10:49:45 +00:00
parent 81ab64323a
commit a6a9f0cde3

View File

@ -54,7 +54,7 @@ fputc(c, fp)
int retval;
FLOCKFILE(fp);
ORIENT(fp, -1);
retval = putc(c, fp);
retval = __sputc(c, fp);
FUNLOCKFILE(fp);
return (retval);
}