Project

General

Profile

Bug #159 ยป stringio_readline.patch

NoKarma (Arthur Schreiber), 06/16/2008 03:22 AM

View differences:

ext/stringio/stringio.c (Arbeitskopie)
992 992
    VALUE *argv;
993 993
    VALUE self;
994 994
{
995
    VALUE line = strio_getline(argc, argv, readable(StringIO(self)));
995
    VALUE line = strio_gets(argc, argv, self);
996 996
    if (NIL_P(line)) rb_eof_error();
997 997
    return line;
998 998
}