*** ruby-1.9.2-p0/ext/openssl/ruby_missing.h 2009-10-02 05:04:37.000000000 -0700 --- ruby-1.9.2-p0-1964/ext/openssl/ruby_missing.h 2010-08-31 15:11:51.606165904 -0700 *************** *** 28,35 **** #ifndef HAVE_RB_STR_SET_LEN /* these methods should probably be backported to 1.8 */ #define rb_str_set_len(str, length) do { \ ! RSTRING(str)->ptr[length] = 0; \ ! RSTRING(str)->len = length; \ } while(0) #endif /* ! HAVE_RB_STR_SET_LEN */ --- 28,35 ---- #ifndef HAVE_RB_STR_SET_LEN /* these methods should probably be backported to 1.8 */ #define rb_str_set_len(str, length) do { \ ! RSTRING(str)->as.heap.ptr[length] = 0; \ ! RSTRING(str)->as.heap.len = length; \ } while(0) #endif /* ! HAVE_RB_STR_SET_LEN */