summaryrefslogtreecommitdiff
path: root/defs
diff options
context:
space:
mode:
author卜部昌平 <shyouhei@ruby-lang.org>2019-08-23 12:14:06 +0900
committer卜部昌平 <shyouhei@ruby-lang.org>2019-08-26 13:01:58 +0900
commit5e86b005c0f2ef30df2f9906c7e2f3abefe286a2 (patch)
treec3294605f5ba0246b69a10753a1d48b5a1fa93f2 /defs
parent48131a46730b76bdb252d24507980ea90c0166ad (diff)
uid_t and gid_t are narrower than VALUE.
Often uid / gid are 16 bit or 32 bit integers, while VALUE are 32 to 64 bits. They tend to differ in size. Because rb_ensure expects its callbacks to take VALUE arguments, narrowing must be done by hand, otherwise data corruption can happen depending on machine ABI.
Diffstat (limited to 'defs')
0 files changed, 0 insertions, 0 deletions