[uClibc-cvs] CVS uClibc/libc/sysdeps/linux/common/bits

CVS User andersen andersen at codepoet.org
Tue Nov 2 15:15:11 UTC 2004


Update of /var/cvs/uClibc/libc/sysdeps/linux/common/bits
In directory nail:/tmp/cvs-serv30815/libc/sysdeps/linux/common/bits

Modified Files:
	ipc.h 
Log Message:
struct ipc_perm, as used by shmctl() when soing shared memory stuff,
was incorrect in uClibc, and was 2 bytes too short.  This caused uClibc
shared memory stuff to not behave correctly since struct ipc_perm was
included as the first member of, i.e. struct msqid_ds, so the content
of that struct were all shifted by two bytes.  ugh.  Apparently, few
people have used shared memory, msgctl(), etc with uClibc thus far,
 -Erik


--- /var/cvs/uClibc/libc/sysdeps/linux/common/bits/ipc.h	2002/09/04 20:15:39	1.3
+++ /var/cvs/uClibc/libc/sysdeps/linux/common/bits/ipc.h	2004/11/02 15:15:10	1.4
@@ -51,6 +51,6 @@
     __kernel_uid_t	cuid;
     __kernel_gid_t	cgid;
     __kernel_mode_t	mode; 
-    unsigned short	__seq;
+    unsigned long	seq;
 };
 



More information about the uClibc-cvs mailing list