Skip to content

Commit ea55a3f

Browse files
committed
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8_5@12951 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
1 parent 18ae1ce commit ea55a3f

File tree

3 files changed

+12
-3
lines changed

3 files changed

+12
-3
lines changed

ChangeLog

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,12 @@
1+
Thu Aug 16 04:08:20 2007 Shugo Maeda <shugo@ruby-lang.org>
2+
3+
* lib/net/imap.rb (ResponseParser#next_token): fixed
4+
error message. (backported from HEAD)
5+
6+
* lib/net/imap.rb (ResponseParser#parse_error): fixed
7+
the condition not to refer @token.symbol unexpectedly.
8+
Thanks, Dick Monahan. (backported from HEAD)
9+
110
Thu Aug 16 04:05:20 2007 Yukihiro Matsumoto <matz@ruby-lang.org>
211

312
* marshal.c (w_extended): erroneous check condition when dump

lib/net/imap.rb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3046,7 +3046,7 @@ def next_token
30463046
elsif $7
30473047
return Token.new(T_RPAR, $+)
30483048
else
3049-
parse_error("[Net::IMAP BUG] BEG_REGEXP is invalid")
3049+
parse_error("[Net::IMAP BUG] DATA_REGEXP is invalid")
30503050
end
30513051
else
30523052
@str.index(/\S*/n, @pos)
@@ -3100,7 +3100,7 @@ def parse_error(fmt, *args)
31003100
$stderr.printf("@str: %s\n", @str.dump)
31013101
$stderr.printf("@pos: %d\n", @pos)
31023102
$stderr.printf("@lex_state: %s\n", @lex_state)
3103-
if @token.symbol
3103+
if @token
31043104
$stderr.printf("@token.symbol: %s\n", @token.symbol)
31053105
$stderr.printf("@token.value: %s\n", @token.value.inspect)
31063106
end

version.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
#define RUBY_RELEASE_DATE "2007-08-16"
33
#define RUBY_VERSION_CODE 185
44
#define RUBY_RELEASE_CODE 20070816
5-
#define RUBY_PATCHLEVEL 54
5+
#define RUBY_PATCHLEVEL 55
66

77
#define RUBY_VERSION_MAJOR 1
88
#define RUBY_VERSION_MINOR 8

0 commit comments

Comments
 (0)