ruby-changes:4409
From: ko1@a...
Date: Fri, 4 Apr 2008 05:58:37 +0900 (JST)
Subject: [ruby-changes:4409] matz - Ruby:r15900 (ruby_1_8): * lib/net/pop.rb (Net::POP3::do_finish): clear @n_mails and
matz 2008-04-04 05:58:13 +0900 (Fri, 04 Apr 2008)
New Revision: 15900
Modified files:
branches/ruby_1_8/ChangeLog
branches/ruby_1_8/lib/net/pop.rb
Log:
* lib/net/pop.rb (Net::POP3::do_finish): clear @n_mails and
@n_bytes as well. [ruby-core:16144]
http://svn.ruby-lang.org/cgi-bin/viewvc.cgi/branches/ruby_1_8/lib/net/pop.rb?r1=15900&r2=15899&diff_format=u
http://svn.ruby-lang.org/cgi-bin/viewvc.cgi/branches/ruby_1_8/ChangeLog?r1=15900&r2=15899&diff_format=u
Index: ruby_1_8/ChangeLog
===================================================================
--- ruby_1_8/ChangeLog (revision 15899)
+++ ruby_1_8/ChangeLog (revision 15900)
@@ -1,3 +1,8 @@
+Fri Apr 4 05:57:11 2008 Yukihiro Matsumoto <matz@r...>
+
+ * lib/net/pop.rb (Net::POP3::do_finish): clear @n_mails and
+ @n_bytes as well. [ruby-core:16144]
+
Fri Apr 4 02:17:06 2008 Yukihiro Matsumoto <matz@r...>
* range.c (range_step): should not round step into integer if
Index: ruby_1_8/lib/net/pop.rb
===================================================================
--- ruby_1_8/lib/net/pop.rb (revision 15899)
+++ ruby_1_8/lib/net/pop.rb (revision 15900)
@@ -462,6 +462,8 @@
def do_finish
@mails = nil
+ @n_mails = nil
+ @n_bytes = nil
@command.quit if @command
ensure
@started = false
--
ML: ruby-changes@q...
Info: http://www.atdot.net/~ko1/quickml/