You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on May 4, 2018. It is now read-only.
A problem is that the file id is a 64-bit integer. struct stat on windows does not accommodate a 64-bit integer in the st_ino field, so we'd have to define our own struct uv_stat.
Javascript cannot represent 64-bit integers reliably, so for node additional creativity is needed.
So, it's a bit hacky... but... is the st_dev set to zero as well? Maybe the high 32 bits can be used for the st_dev, and the low 32 can be the inode? Of course, this will break programs that use the dev number to actually determine the device, but I wonder how many of those there are, actually. In reality, you can't rely on just st.st_ino anyway, you have to also consider the st_dev, since the same inode on two different devices is not the same file.
nodejs/node-v0.x-archive#2670
http://msdn.microsoft.com/en-us/library/windows/desktop/aa364226%28v=vs.85%29.aspx
The text was updated successfully, but these errors were encountered: