fs.Stats.size V8::Integer => V8::Number.
While VM::Integer::Value() offers an int64_t, V8::Integer::New() only accepts an int32_t, truncating fs.Stat's size in BuildStatsObject(). I consider this a bug in V8, and we should move back to V8::Integer when it gets a ctr that allows a int64_t. Until then, this work-around should hold.
parent
3ac6deef
Please register or sign in to comment