drop rb_str_set_len compatibility replacement
commit7ae9aca1e6c820ba5b4346bf1e6950c46d13eb78
authorEric Wong <e@80x24.org>
Fri, 3 Mar 2017 20:53:05 +0000 (3 20:53 +0000)
committerEric Wong <e@80x24.org>
Fri, 3 Mar 2017 21:27:39 +0000 (3 21:27 +0000)
tree3229ae851029c9b6295b78671bdfe2f72a78eb48
parentf8db62f50136641ac8b4f2849e9e965a88ece2e8
drop rb_str_set_len compatibility replacement

While it is innocuous after compiling, it can be a confusing
source of errors for users with broken installations of Ruby
itself:

https://bogomips.org/unicorn-public/5ace6a20-e094-293d-93df-b557480e12d5@anyces.com/
https://bogomips.org/unicorn-public/02994a55-9c07-a3c5-f06b-a4c15551a67e@anyces.com/

rb_str_set_len has been provided since Ruby 1.8.7+, and we'll
be requiring Ruby 1.9.3+ in the future (and even Ruby 2.2 is EOL
nowadays)
ext/kcar/ext_help.h
ext/kcar/extconf.rb