[haiku-bugs] Re: [Haiku] #3145: fseek does not discard ungetc buffer

  • From: "hamish" <trac@xxxxxxxxxxxx>
  • Date: Thu, 30 Dec 2010 00:37:44 -0000

#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.

Other related posts: