summaryrefslogtreecommitdiff
path: root/ext/digest
diff options
context:
space:
mode:
authormatz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2003-09-29 02:44:49 +0000
committermatz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2003-09-29 02:44:49 +0000
commit4699b4afbb8e0fd96957de6dd6f23ecbe2a1bdd0 (patch)
tree422a2ee7d53697aad502fbb7b2490856c0b7d16a /ext/digest
parentb2cf59aa1cbfb8109f0f2579427159c47f93e6eb (diff)
* eval.c (rb_thread_atfork): wrong format specifier.
[ruby-dev:21428] * process.c (pst_inspect): better description. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4617 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'ext/digest')
-rw-r--r--ext/digest/digest.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/digest/digest.c b/ext/digest/digest.c
index a170678cf0c..9bc9905d1fd 100644
--- a/ext/digest/digest.c
+++ b/ext/digest/digest.c
@@ -303,7 +303,7 @@ Init_digest()
rb_define_singleton_method(cDigest_Base, "hexdigest", rb_digest_base_s_hexdigest, 1);
rb_define_method(cDigest_Base, "initialize", rb_digest_base_init, -1);
- rb_define_method(cDigest_Base, "copy_object", rb_digest_base_copy, 1);
+ rb_define_method(cDigest_Base, "initialize_copy", rb_digest_base_copy, 1);
rb_define_method(cDigest_Base, "update", rb_digest_base_update, 1);
rb_define_method(cDigest_Base, "<<", rb_digest_base_update, 1);
rb_define_method(cDigest_Base, "digest", rb_digest_base_digest, 0);