Project

General

Profile

Bug #156 ยป stringio_sysread.patch

NoKarma (Arthur Schreiber), 06/14/2008 09:15 PM

View differences:

ext/stringio/stringio.c (Arbeitskopie)
VALUE self;
{
VALUE val = strio_read(argc, argv, self);
if (NIL_P(val) || RSTRING(val)->len == 0) {
if (NIL_P(val)) {
rb_eof_error();
}
return val;
    (1-1/1)