joyent/libuv — pull request #323 by philips (2012-02-23 22:27:54+00:00)
Title: win: fs: handle EOF in read

in luvit after upgrade libuv from 243cfc to d3efef readSync started
failing. It seems that the code cleanup stopped handling EOF

Trivially reproduced with this

local fs = require('fs')
print(fs.readFileSync('foo.luvit'))