Project

General

Profile

Bug #156 ยป stringio_sysread.patch

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

View differences:

ext/stringio/stringio.c (Arbeitskopie)
1230 1230
    VALUE self;
1231 1231
{
1232 1232
    VALUE val = strio_read(argc, argv, self);
1233
    if (NIL_P(val) || RSTRING(val)->len == 0) {
1233
    if (NIL_P(val)) {
1234 1234
	rb_eof_error();
1235 1235
    }
1236 1236
    return val;