drop rb_str_set_len compatibility replacement
commit0383705344aa45970f0f799078a9b138202a8c6f
authorEric Wong <e@80x24.org>
Wed, 9 Nov 2016 20:49:19 +0000 (9 20:49 +0000)
committerEric Wong <e@80x24.org>
Wed, 9 Nov 2016 20:56:02 +0000 (9 20:56 +0000)
tree2526039483b8b023cb87228d4c5e40adac697f42
parenta72d2e7fbd13a6bfe64b79ae361c17ea568d4867
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+, so we have
not needed it since we dropped all 1.8.x support in unicorn 5.x.
ext/unicorn_http/ext_help.h
ext/unicorn_http/extconf.rb