From 970dbfde6f041de3660f5822bd486663742aeef3 Mon Sep 17 00:00:00 2001 From: knu Date: Thu, 6 Sep 2001 05:29:27 +0000 Subject: [PATCH] * ext/digest/digest.c (rb_digest_base_s_hexdigest): remove a debug print. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@1736 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- ChangeLog | 5 +++++ ext/digest/digest.c | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index 1aeeb8e78477a3..f8e76a17a06f26 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +Thu Sep 6 14:25:15 2001 Akinori MUSHA + + * ext/digest/digest.c (rb_digest_base_s_hexdigest): remove a debug + print. + Sun Aug 26 20:26:40 2001 Koji Arai * ext/readline/readline.c: restore terminal mode diff --git a/ext/digest/digest.c b/ext/digest/digest.c index 5355776119b67a..3d47685aacdb1e 100644 --- a/ext/digest/digest.c +++ b/ext/digest/digest.c @@ -151,7 +151,7 @@ rb_digest_base_s_hexdigest(class, str) hexdigest = xmalloc(len + 1); /* +1 is for '\0' */ algo->end_func(pctx, hexdigest); - puts(hexdigest); + obj = rb_str_new(hexdigest, len); free(hexdigest);