aboutsummaryrefslogtreecommitdiff
path: root/src/time/timer_delete.c
diff options
context:
space:
mode:
authorRich Felker <dalias@aerifal.cx>2011-04-08 09:24:19 -0400
committerRich Felker <dalias@aerifal.cx>2011-04-08 09:24:19 -0400
commit7168790763cdeb794df52be6e3b39fbb021c5a64 (patch)
treefa302a8cb7f16d6201db3499082cc6b70012769a /src/time/timer_delete.c
parentfix ipv6 address printing: 2001 appeared as 201, etc. (diff)
downloadgrovel-7168790763cdeb794df52be6e3b39fbb021c5a64.tar.gz
grovel-7168790763cdeb794df52be6e3b39fbb021c5a64.tar.xz
workaround broken msghdr struct on 64bit linux
POSIX clearly specifies the type of msg_iovlen and msg_controllen, and Linux ignores it and makes them both size_t instead. to work around this we add padding (instead of just using the wrong types like glibc does), but we also need to patch-up the struct before passing it to the kernel in case the caller did not zero-fill it. if i could trust the kernel to just ignore the upper 32 bits, this would not be necessary, but i don't think it will ignore them...
Diffstat (limited to 'src/time/timer_delete.c')
0 files changed, 0 insertions, 0 deletions