Revision
1242
Author
eloy.de.enige@gmail.com
Date
2009-03-28 17:26:20 -0700 (Sat, 28 Mar 2009)

Log Message

Revert "A temporary hack to fix gets() behavior at end of line until I figure out exactly what is wrong with #eof?"

This reverts commit 34d08b6fc3c12e136431fb50d1414ab2e6816a2c.

Modified Paths

Diff

Modified: MacRuby/branches/experimental/io.c (1241 => 1242)


--- MacRuby/branches/experimental/io.c	2009-03-28 23:57:01 UTC (rev 1241)
+++ MacRuby/branches/experimental/io.c	2009-03-29 00:26:20 UTC (rev 1242)
@@ -1265,7 +1265,7 @@
 			}
 		}
 	}
-	if ((rb_io_eof(io, 0) == Qtrue) && (RSTRING_LEN(bstr) == 0)) return Qnil;
+	
     return bstr; 
 }