🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: net.lang.c++
Article #264

Bug in stream library function "putback"

#264
From: keith gorlen
Date: Tue, 22 Jul 1986 15:30
13 lines
887 bytes
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
Technical Details
Message-ID: <72@cecil.UUCP>
Path: arc1-ca.pugleaf.net!utzoo!watmath!clyde!caip!im4u!ut-sally!seismo!elsie!cecil!keith

Show Full Headers
Complete Article Headers
Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP
Path: arc1-ca.pugleaf.net!utzoo!watmath!clyde!caip!im4u!ut-sally!seismo!elsie!cecil!keith
From: keith@cecil.UUCP (keith gorlen)
Newsgroups: net.lang.c++
Subject: Bug in stream library function "putback"
Message-ID: <72@cecil.UUCP>
Date: Tue, 22-Jul-86 11:30:53 EDT
Article-I.D.: cecil.72
Posted: Tue Jul 22 11:30:53 1986
Date-Received: Wed, 23-Jul-86 04:58:49 EDT
Organization: NIH-CSL, Bethesda, MD
Lines: 13