Call __sputc() directly in fputc() instead of taking an expensive
detour through putc().
This commit is contained in:
parent
81ab64323a
commit
a6a9f0cde3
@ -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);
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user