home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1993 #1 / NN_1993_1.iso / spool / gnu / g / lib / bug / 751 < prev    next >
Encoding:
Text File  |  1993-01-07  |  996 b   |  40 lines

  1. Newsgroups: gnu.g++.lib.bug
  2. Path: sparky!uunet!cis.ohio-state.edu!cygnus.com!bothner
  3. From: bothner@cygnus.com
  4. Subject: Re: strstream bug?
  5. Message-ID: <9301060837.AA03428@cygnus.com>
  6. Sender: gnulists@ai.mit.edu
  7. Organization: GNUs Not Usenet
  8. References: <9301051616.AA04745@lin.isy.liu.se>
  9. Distribution: gnu
  10. Date: Tue, 5 Jan 1993 16:37:14 GMT
  11. Approved: bug-lib-g++@prep.ai.mit.edu
  12. Lines: 26
  13.  
  14. Please try the following:
  15.  
  16. ===================================================================
  17. RCS file: /rel/cvsfiles/devo/libg++/iostream/iostream.C,v
  18. retrieving revision 1.32
  19. diff -c -r1.32 iostream.C
  20. *** 1.32    1992/10/17 00:26:36
  21. --- iostream.C    1993/01/06 08:35:46
  22. ***************
  23. *** 161,167 ****
  24.           for (;;) {
  25.           ch = sb->sbumpc();
  26.           if (ch == EOF) {
  27. !             set(ios::eofbit|ios::failbit);
  28.               break;
  29.           }
  30.           else if (isspace(ch)) {
  31. --- 161,167 ----
  32.           for (;;) {
  33.           ch = sb->sbumpc();
  34.           if (ch == EOF) {
  35. !             set(ios::eofbit);
  36.               break;
  37.           }
  38.           else if (isspace(ch)) {
  39.  
  40.