This is the mail archive of the libstdc++@sourceware.cygnus.com mailing list for the libstdc++ project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: [patch] streambuf.tcc fix (i hope :)



hmm... sorry about the bad diff. a diff using -cp is below.

FWIW, the change tests good on fbsd-4.0 as well!

cheers!
  brent

==========================
diff -cpr libstdc++-v3/ChangeLog libstdc++-v3.brent/ChangeLog
*** libstdc++-v3/ChangeLog	Fri Jun  2 21:52:32 2000
--- libstdc++-v3.brent/ChangeLog	Mon Jun  5 09:14:32 2000
***************
*** 1,3 ****
--- 1,6 ----
+ 2000-06-05  Brent Verner <brent@rcfile.org>
+   * bits/streambuf.tcc: repaired _S_copy_streambufs()
+ 
  2000-06-02  Benjamin Kosnik  <bkoz@purist.soma.redhat.com>
  
  	* bits/locale_facets.h: Tweak.
diff -cpr libstdc++-v3/bits/streambuf.tcc libstdc++-v3.brent/bits/streambuf.tcc
*** libstdc++-v3/bits/streambuf.tcc	Fri May 19 05:33:23 2000
--- libstdc++-v3.brent/bits/streambuf.tcc	Mon Jun  5 09:13:58 2000
*************** namespace std {
*** 242,247 ****
--- 242,251 ----
  	      }
  	    else
  	      break;
+ 
+ 	    __bufsize = __sbin->in_avail();
+ 	    // could cheat and use _M_buf_size to save a fn call -=db=-
+ 	    // __bufsize = __sbin->_M_buf_size;
  	  }
        }
        catch(exception& __fail) {

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]