ruby-changes:28214
From: nobu <ko1@a...>
Date: Sat, 13 Apr 2013 00:23:30 +0900 (JST)
Subject: [ruby-changes:28214] nobu:r40266 (trunk): * ext/etc/etc.c: fix struct name.
nobu 2013-04-13 00:23:22 +0900 (Sat, 13 Apr 2013) New Revision: 40266 http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=rev&revision=40266 Log: * ext/etc/etc.c: fix struct name. Modified files: trunk/ext/etc/etc.c Index: ext/etc/etc.c =================================================================== --- ext/etc/etc.c (revision 40265) +++ ext/etc/etc.c (revision 40266) @@ -777,7 +777,7 @@ Init_etc(void) https://github.com/ruby/ruby/blob/trunk/ext/etc/etc.c#L777 * members of the group. */ rb_define_const(mEtc, "Group", sGroup); - rb_set_class_path(sPasswd, mEtc, "Group"); + rb_set_class_path(sGroup, mEtc, "Group"); rb_define_const(rb_cStruct, "Group", sGroup); /* deprecated name */ rb_extend_object(sGroup, rb_mEnumerable); rb_define_singleton_method(sGroup, "each", etc_each_group, 0); -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/