[net.lang.c++] Bug in stream library function "putback"

keith@cecil.UUCP (keith gorlen) (07/22/86)

The stream function "putback" doesn't work if the character being put
back happened to be the last in the buffer.  In this case the byte just
before the buffer will be clobbered.
-- 
---
	Keith Gorlen
	Building 12A, Room 2017
	Computer Systems Laboratory
	Division of Computer Research and Technology
	National Institutes of Health
	Bethesda, MD 20892
	phone:	(301) 496-5363
	uucp:	{decvax!}seismo!elsie!cecil!keith