Issue #1100 has been updated by Kazuhiro NISHIYAMA.


PRIdPTRDIFF may define with the length modifier 't' in include/ruby/ruby.h,
but missing/vsnprintf.c does not support the length modifier 't'.

% cat bug1100.c
#include <ruby/ruby.h>

void
Init_bug1100(void)
{
    char str[10] = "";
    char *p = str + 4;
    rb_raise(rb_eStandardError, "bug#1100 %"PRIdPTRDIFF"", p - str);
}
% ruby-trunk -r mkmf -e 'create_makefile("bug1100")'
creating Makefile
% ruby-trunk -r bug1100 -e 0
ruby-trunk:0:in `require': bug#1100 td (StandardError)
%

This example should be "bug#1100 4" instead of "bug#1100 td".
----------------------------------------
http://redmine.ruby-lang.org/issues/show/1100

----------------------------------------
http://redmine.ruby-lang.org