mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
* ext/digest/lib/digest.rb (Digest::self.const_missing): avoid
infinite recursive const_missing call. [ruby-talk:262193] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@12850 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
73c59df711
commit
ac99a70c89
3 changed files with 12 additions and 5 deletions
|
@ -1,3 +1,8 @@
|
|||
Sat Jul 28 09:35:41 2007 Yukihiro Matsumoto <matz@ruby-lang.org>
|
||||
|
||||
* ext/digest/lib/digest.rb (Digest::self.const_missing): avoid
|
||||
infinite recursive const_missing call. [ruby-talk:262193]
|
||||
|
||||
Thu Jul 26 13:57:45 2007 Nobuyoshi Nakada <nobu@ruby-lang.org>
|
||||
|
||||
* dln.c (load_1, dln_find_1): constified.
|
||||
|
|
|
@ -12,9 +12,11 @@ module Digest
|
|||
begin
|
||||
require lib
|
||||
rescue LoadError => e
|
||||
raise LoadError, "library not found for class Digest::#{name} -- #{lib}"
|
||||
raise LoadError, "library not found for class Digest::#{name} -- #{lib}", caller(1)
|
||||
end
|
||||
unless Digest.const_defined?(name)
|
||||
raise NameError, "uninitialized constant Digest::#{name}", caller(1)
|
||||
end
|
||||
|
||||
Digest.const_get(name)
|
||||
end
|
||||
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
#define RUBY_VERSION "1.8.6"
|
||||
#define RUBY_RELEASE_DATE "2007-07-26"
|
||||
#define RUBY_RELEASE_DATE "2007-07-28"
|
||||
#define RUBY_VERSION_CODE 186
|
||||
#define RUBY_RELEASE_CODE 20070726
|
||||
#define RUBY_RELEASE_CODE 20070728
|
||||
#define RUBY_PATCHLEVEL 5000
|
||||
|
||||
#define RUBY_VERSION_MAJOR 1
|
||||
|
@ -9,7 +9,7 @@
|
|||
#define RUBY_VERSION_TEENY 6
|
||||
#define RUBY_RELEASE_YEAR 2007
|
||||
#define RUBY_RELEASE_MONTH 7
|
||||
#define RUBY_RELEASE_DAY 26
|
||||
#define RUBY_RELEASE_DAY 28
|
||||
|
||||
#ifdef RUBY_EXTERN
|
||||
RUBY_EXTERN const char ruby_version[];
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue