#3145: fseek does not discard ungetc buffer --------------------------------+----------------------------- Reporter: bhaible | Owner: zooey Type: bug | Status: in-progress Priority: normal | Milestone: R1 Component: System/libroot.so | Version: R1/pre-alpha1 Resolution: | Keywords: Blocked By: | Has a Patch: 1 Platform: All | Blocking: --------------------------------+----------------------------- Comment (by hamish): Before putting back the characters it switches to the backup buffer, which moves _IO_read_base back into that area. Take a look at _IO_default_pbackfail. -- Ticket URL: <http://dev.haiku-os.org/ticket/3145#comment:8> Haiku <http://dev.haiku-os.org> Haiku - the operating system.