Bug #1472 ยป ruby_1_8_7_io_syscall.patch
io.c 2008-06-30 13:27:02.000000000 +1200 | ||
---|---|---|
if (!NIL_P(v)) {
|
||
StringValue(v);
|
||
rb_str_modify(v);
|
||
arg[i] = (unsigned long)StringValueCStr(v);
|
||
arg[i] = (unsigned long)StringValuePtr(v);
|
||
}
|
||
else {
|
||
arg[i] = (unsigned long)NUM2LONG(*argv);
|