This is the mail archive of the libc-hacker@sourceware.cygnus.com mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: hounddog.cc


Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> writes:

> However removing this change fixes the bug.

I know that removing the patch fixes _this_ bug.  But the ungetc
handling in libio was very broken.  The patch you've removed fixed
this, but introduced a bug.  I've fixed this on Friday with this:


1998-10-23  Ulrich Drepper  <drepper@cygnus.com>

	* libio/genops.c (_IO_seekmark): When switching to backup buffer
	make sure all characters from the read buffer are read after
	switching back to it.


This adds back the old behaviour of buffer switching for the C++
buffer markers (which should be removed completely anyway).

-- 
---------------.      drepper at gnu.org  ,-.   1325 Chesapeake Terrace
Ulrich Drepper  \    ,-------------------'   \  Sunnyvale, CA 94089 USA
Cygnus Solutions `--' drepper at cygnus.com   `------------------------


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]