summaryrefslogtreecommitdiffstats
path: root/ext
diff options
context:
space:
mode:
authormatz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2001-05-16 09:05:54 +0000
committermatz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2001-05-16 09:05:54 +0000
commitdb52e5b5ecd6a47d2be539030686ca92d2b2c417 (patch)
treefba985cc67803c80f7761462f79cf988cbf6507b /ext
parent200f5e76a2410b848f1ab8c145e96aded6ef4455 (diff)
downloadruby-db52e5b5ecd6a47d2be539030686ca92d2b2c417.tar.gz
ruby-db52e5b5ecd6a47d2be539030686ca92d2b2c417.tar.xz
ruby-db52e5b5ecd6a47d2be539030686ca92d2b2c417.zip
* array.c (rb_ary_and): should not push frozen key string.
* array.c (rb_ary_or): ditto. * eval.c (rb_thread_schedule): should save context before raising deadlock, saved context for current thread might be obsolete. * time.c (make_time_t): non DST timezone shift supported (hopefully). * time.c (make_time_t): strict range detection for negative time_t. * signal.c: SIGINFO added. * eval.c (rb_ensure): should not SEGV when prot_tag is NULL. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@1399 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'ext')
-rw-r--r--ext/md5/md5init.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/ext/md5/md5init.c b/ext/md5/md5init.c
index 64bba9dab..d6a4a5553 100644
--- a/ext/md5/md5init.c
+++ b/ext/md5/md5init.c
@@ -103,6 +103,7 @@ Init_md5()
rb_define_singleton_method(cMD5, "md5", md5i_new, -1);
rb_define_method(cMD5, "update", md5i_update, 1);
+ rb_define_method(cMD5, "<<", md5i_update, 1);
rb_define_method(cMD5, "digest", md5i_digest, 0);
rb_define_method(cMD5, "hexdigest", md5i_hexdigest, 0);
rb_define_method(cMD5, "clone", md5i_clone, 0);