diff --git a/ChangeLog b/ChangeLog index 1b5c3fc38d..82c0becf11 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +Mon Sep 5 07:01:12 2005 GOTOU Yuuzou + + * ext/openssl/openssl/lib/openssl/buffering.rb (Buffering#do_write): + should clear data from the buffer which already been output. + Sun Sep 4 15:01:35 2005 Minero Aoki * parse.y (f_arg): Ripper should not do semantic check. diff --git a/ext/openssl/lib/openssl/buffering.rb b/ext/openssl/lib/openssl/buffering.rb index 27bf62bda7..8800aa53cc 100644 --- a/ext/openssl/lib/openssl/buffering.rb +++ b/ext/openssl/lib/openssl/buffering.rb @@ -182,7 +182,7 @@ module Buffering remain -= nwrote nwritten += nwrote end - @wbuffer = "" + @wbuffer[0,nwritten] = "" end end