b33cf9fb60f4c93359075a2abcc2a707345ec2a5
In part of the tooltalk rpc code (mp_message.c), it was assumed that on the majority of platforms, sizeof(uid_t)=sizeof(gid_t)=sizeof(long). On Linux-x64, uid_t is an unsigned int, which makes the code fail: all tooltalk messages fail to send with an RPC_CANTENCODEARGS at the rpc-level, and TT_INTERNAL_ERR for the actual program. We instead change the code to explicitly examine sizeof(uid_t) to see whether it is int or long sized. This allows tooltalk-dependent functinoality like logout and multiple calls to dtfile to work.
Description
No description provided
Languages
C
80.1%
omnetpp-msg
8.9%
C++
3.8%
Shell
2%
Roff
1.6%
Other
3.2%