🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: gnu.g++.lib.bug
Article #423

Re: strstream bug?

#423
From: bothner
Date: Tue, 05 Jan 1993 16:37
25 lines
1033 bytes
Please try the following:

===================================================================
RCS file: /rel/cvsfiles/devo/libg++/iostream/iostream.C,v
retrieving revision 1.32
diff -c -r1.32 iostream.C
*** 1.32	1992/10/17 00:26:36
--- iostream.C	1993/01/06 08:35:46
***************
*** 161,167 ****
  	    for (;;) {
  		ch = sb->sbumpc();
  		if (ch == EOF) {
! 		    set(ios::eofbit|ios::failbit);
  		    break;
  		}
  		else if (isspace(ch)) {
--- 161,167 ----
  	    for (;;) {
  		ch = sb->sbumpc();
  		if (ch == EOF) {
! 		    set(ios::eofbit);
  		    break;
  		}
  		else if (isspace(ch)) {
Technical Details
Message-ID: <9301060837.AA03428@cygnus.com>
Path: arc1-ca.pugleaf.net!sparky!uunet!cis.ohio-state.edu!cygnus.com!bothner
References: <9301051616.AA04745@lin.isy.liu.se>

Show Full Headers
Complete Article Headers
Newsgroups: gnu.g++.lib.bug
Path: arc1-ca.pugleaf.net!sparky!uunet!cis.ohio-state.edu!cygnus.com!bothner
From: bothner@cygnus.com
Subject: Re: strstream bug?
Message-ID: <9301060837.AA03428@cygnus.com>
Sender: gnulists@ai.mit.edu
Organization: GNUs Not Usenet
References: <9301051616.AA04745@lin.isy.liu.se>
Distribution: gnu
Date: Tue, 5 Jan 1993 16:37:14 GMT
Approved: bug-lib-g++@prep.ai.mit.edu
Lines: 26