1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

* ext/digest/md5/md5init.c (Init_md5): Now that we have digest.rb,

require "digest" rather than "digest.so".

* ext/digest/rmd160/rmd160init.c (Init_rmd160): Ditto.

* ext/digest/sha1/sha1init.c (Init_sha1): Ditto.

* ext/digest/sha2/sha2init.c (Init_sha2): Ditto.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@11042 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
knu 2006-09-27 14:34:49 +00:00
parent 62ad417517
commit 3c29f3feef
5 changed files with 15 additions and 4 deletions

View file

@ -1,3 +1,14 @@
Wed Sep 27 22:08:16 2006 Akinori MUSHA <knu@iDaemons.org>
* ext/digest/md5/md5init.c (Init_md5): Now that we have digest.rb,
require "digest" rather than "digest.so".
* ext/digest/rmd160/rmd160init.c (Init_rmd160): Ditto.
* ext/digest/sha1/sha1init.c (Init_sha1): Ditto.
* ext/digest/sha2/sha2init.c (Init_sha2): Ditto.
Wed Sep 27 21:21:08 2006 Yukihiro Matsumoto <matz@ruby-lang.org>
* string.c (rb_str_startwith): rename startwith? to start_with?,

View file

@ -23,7 +23,7 @@ Init_md5()
{
VALUE mDigest, cDigest_Base, cDigest_MD5;
rb_require("digest.so");
rb_require("digest");
mDigest = rb_path2class("Digest");
cDigest_Base = rb_path2class("Digest::Base");

View file

@ -24,7 +24,7 @@ Init_rmd160()
VALUE mDigest, cDigest_Base, cDigest_RMD160;
ID id_metadata;
rb_require("digest.so");
rb_require("digest");
mDigest = rb_path2class("Digest");
cDigest_Base = rb_path2class("Digest::Base");

View file

@ -23,7 +23,7 @@ Init_sha1()
{
VALUE mDigest, cDigest_Base, cDigest_SHA1;
rb_require("digest.so");
rb_require("digest");
mDigest = rb_path2class("Digest");
cDigest_Base = rb_path2class("Digest::Base");

View file

@ -30,7 +30,7 @@ Init_sha2()
FOREACH_BITLEN(DECLARE_ALGO_CLASS)
rb_require("digest.so");
rb_require("digest");
id_metadata = rb_intern("metadata");