[ Charset ISO-8859-1 unsupported, converting... ]
I needed this glibc patch to get the sysv ipc msgctl functions to work
correctly. This looks a bit hackish to me, so I wanted to run it past
everybody here before filing it with glibc.
Perhaps is ignorance on my part, but I thought the compiler would
handle the endianness with regards to the structure members. Did
you have problems with big and little endian such that you had to
do all of the ugly #ifdef'ing?
yes. Take a look at the kernel structure it is mapping to.