home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #31 / NN_1992_31.iso / spool / gnu / g / lib / bug / 732 < prev    next >
Encoding:
Text File  |  1992-12-31  |  956 b   |  29 lines

  1. Newsgroups: gnu.g++.lib.bug
  2. Path: sparky!uunet!wupost!zaphod.mps.ohio-state.edu!cis.ohio-state.edu!cygnus.com!bothner
  3. From: bothner@cygnus.com
  4. Subject: Re: libg++-2.3 strange bug
  5. Message-ID: <9212310250.AA13642@cygnus.com>
  6. Sender: gnulists@ai.mit.edu
  7. Organization: GNUs Not Usenet
  8. References: <1992Dec29.170317.20721@dfv.rwth-aachen.de>
  9. Distribution: gnu
  10. Date: Wed, 30 Dec 1992 10:50:32 GMT
  11. Approved: bug-lib-g++@prep.ai.mit.edu
  12. Lines: 15
  13.  
  14. > Just noticed a strange bug when redirecting libg++ 2.3 iostream
  15. > output to a pipe: OUTPUT GETS LOST!
  16.  
  17. The problem is the fseek in stdiobuf::sync() (in stdiostream.C).
  18. I'm not sure what the right fix is.  One possibility is to just
  19. remove the call.  That isn't quite right, but it may be close enough.
  20. Another possibilty is to do the fseek(), but ignore the result.
  21.  
  22. > just trying to figure out how to debug such a thing. ;-)
  23.  
  24. I did it by using a named pipe.
  25.  
  26.     --Per Bothner
  27. Cygnus Support     bothner@cygnus.com
  28.  
  29.