mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
* ext/socket/mkconstants.rb: don't use bytesize because 1.9 dependent.
[ruby-core:21266] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@21439 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
6f09fc2efd
commit
5c94a67eca
2 changed files with 6 additions and 1 deletions
|
@ -1,3 +1,8 @@
|
|||
Mon Jan 12 12:33:56 2009 Tanaka Akira <akr@fsij.org>
|
||||
|
||||
* ext/socket/mkconstants.rb: don't use bytesize because 1.9 dependent.
|
||||
[ruby-core:21266]
|
||||
|
||||
Mon Jan 12 10:39:19 2009 Koichi Sasada <ko1@atdot.net>
|
||||
|
||||
* thread.c: fix comment (terminology: Global VM Lock).
|
||||
|
|
|
@ -177,7 +177,7 @@ ERB.new(<<'EOS', nil, '%').def_method(Object, "gen_int_to_name_hash(hash_var, pa
|
|||
<%=hash_var%> = st_init_numtable();
|
||||
% reverse_each_name_with_prefix_optional(pat, prefix_pat) {|n,s|
|
||||
#ifdef <%=n%>
|
||||
st_insert(<%=hash_var%>, (st_data_t)<%=n%>, (st_data_t)rb_intern2(<%=c_str s%>, <%=s.bytesize%>));
|
||||
st_insert(<%=hash_var%>, (st_data_t)<%=n%>, (st_data_t)rb_intern2(<%=c_str s%>, <%=s.length%>));
|
||||
#endif
|
||||
% }
|
||||
EOS
|
||||
|
|
Loading…
Reference in a new issue