lua-users home
lua-l archive

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]


Daniel Stephens wrote:
but either way, if that's failing it's much more likely the fault of the call to ungetc earlier that doesn't bother to check if c == EOF.
I'll retract that part of what I said, as I checked the documentation and ungetc has a very specific (and useful) outcome in that case.

(lua - still passes the Ctrl-D test with the feof test in getF removed tho)

Daniel.