i assumed the intention was: in practice it's sometimes a nuisance to have to keep a flag in the application to say whether eof has been reached or not, when it could be done by allowing an unget at eof.
--- Begin Message ---* [EMAIL PROTECTED] ([EMAIL PROTECTED]) wrote: > I think after bgetc returns Beof, bungetc should change the state, but > not decrement bp->icount.I don't think so. Bungetc ungets the last character read, not Beof.
--- End Message ---
