From 4d467a08650273f3e20dbc4dc78592a2237362a9 Mon Sep 17 00:00:00 2001 From: matz Date: Mon, 12 Dec 2005 00:36:54 +0000 Subject: * ext/digest/digest.c (rb_digest_base_s_digest): add volatile to protect temporary context object. [ruby-dev:27979] * ext/iconv/iconv.c (Init_iconv): rb_gc_register_address() should be called before actual variable initialization. [ruby-dev:27986] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@9673 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- enum.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'enum.c') diff --git a/enum.c b/enum.c index 2229f49da5..578ea6b4b9 100644 --- a/enum.c +++ b/enum.c @@ -449,7 +449,7 @@ sort_by_cmp(const void *ap, const void *bp, void *data) * values in enum through the given block. * * %w{ apple pear fig }.sort_by {|word| word.length} - #=> ["fig", "pear", "apple"] + #=> ["fig", "pear", "apple"] * * The current implementation of sort_by generates an * array of tuples containing the original collection element and the -- cgit v1.2.3