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
According to stat.h, st_ino is of type __darwin_ino64_t , which is an alias of __uint64_t defined in _types.h (for Apple?)
Another example is from opengroup: stat.h says st_ino is of type ino_t and types.h says ino_t is unsigned integer types.
Normally it won't be an issue, but with mergerfs, the calculated inode number can be very big. With current code here, it can raise a conversion error like
System.OverflowException: Value was either too large or too small for an Int64.
at System.Convert.ThrowInt64OverflowException()
at System.Convert.ToInt64(UInt64 value)
at Mono.Unix.UnixFileSystemInfo.get_Inode()
The text was updated successfully, but these errors were encountered:
According to stat.h,
st_ino
is of type__darwin_ino64_t
, which is an alias of__uint64_t
defined in _types.h (for Apple?)Another example is from opengroup: stat.h says
st_ino
is of typeino_t
and types.h saysino_t
isunsigned integer types
.Normally it won't be an issue, but with
mergerfs
, the calculated inode number can be very big. With current code here, it can raise a conversion error likeThe text was updated successfully, but these errors were encountered: