Status: New
Owner: ----

New issue 743 by malakhovskiy: readline don't read last line from file
http://code.google.com/p/v8/issues/detail?id=743

last line from output redirected to script don't read
script.js
--------
var line;

while( true )
{
        line = readline();
        if( line == null )
                break;
        print( line  );
}
-------
if no new line char after "}"
@>type script.js | d8 script.js
outputs
-----
while( true )
{
        line = readline();
        if( line == null )
                break;
        print( line  );

-----
patch included


Attachments:
        patch.diff  474 bytes

--
v8-dev mailing list
[email protected]
http://groups.google.com/group/v8-dev

Reply via email to