joyent/node — pull request #6907 by yorkie (2014-01-18 12:51:33+00:00)
Title: readline: fix `line` event, if input emit 'end'

If an input stream would emit `end` event, like `fs.createReadStream`, then readline need to get the last line correctly even though that line isnt ended with `\n`.