aboutsummaryrefslogtreecommitdiffstats
path: root/TAR.include
diff options
context:
space:
mode:
authorMicael Karlberg <[email protected]>2019-04-08 12:42:21 +0200
committerMicael Karlberg <[email protected]>2019-04-17 16:56:33 +0200
commit7ce47e072c91d160c4cc13bcc412bfc684e64f8b (patch)
tree380a3560d6231fd3836a7f78f4f42767dffc71f8 /TAR.include
parent4f8a3fee7e76e9b3632b573658e5356cf7d91beb (diff)
downloadotp-7ce47e072c91d160c4cc13bcc412bfc684e64f8b.tar.gz
otp-7ce47e072c91d160c4cc13bcc412bfc684e64f8b.tar.bz2
otp-7ce47e072c91d160c4cc13bcc412bfc684e64f8b.zip
[socket] CMsg header decode on darwin
The cmsg header (decode) problems on darwin was because the CMSG_FIRSTHDR macro is "faulty" on old versions (of darwin). I *think* it should return a NULL-pointer if there are no cmsg headers (but it does not). So, instead of punishing all platforms with an explicit test (msg_controllen >= sizeof(struct cmsghdr)) we only do this on darwin.
Diffstat (limited to 'TAR.include')
0 files changed, 0 insertions, 0 deletions