diff options
author | 卜部昌平 <shyouhei@ruby-lang.org> | 2019-08-23 12:14:06 +0900 |
---|---|---|
committer | 卜部昌平 <shyouhei@ruby-lang.org> | 2019-08-26 13:01:58 +0900 |
commit | 5e86b005c0f2ef30df2f9906c7e2f3abefe286a2 (patch) | |
tree | c3294605f5ba0246b69a10753a1d48b5a1fa93f2 /defs | |
parent | 48131a46730b76bdb252d24507980ea90c0166ad (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