On Sun, Jan 16, 2011 at 01:26:09 +0500, Alexandr Shadchin wrote: > If readBufLen == BUFSIZE and feof() != 0, then go outside the boundaries > of buffer. > > Signed-off-by: Alexandr Shadchin <[email protected]> > --- > xkbscan.c | 2 -- > 1 files changed, 0 insertions(+), 2 deletions(-) > I think we should revert 9887842e33174a6e98675b912e419c711dd20c0f instead. And maybe use getc_unlocked instead of getc to get rid of some overhead. But open-coding getc and ungetc, while it makes ltrace go faster, doesn't seem all that great.
Cheers, Julien _______________________________________________ [email protected]: X.Org development Archives: http://lists.x.org/archives/xorg-devel Info: http://lists.x.org/mailman/listinfo/xorg-devel
