message queue changes in 2.1.131-ac5 (re: libc5) (fwd)

Paul Rusty Russell (peeter_joot@VNET.IBM.COM)
Wed, 9 Dec 1998 00:28:57 -0500 (EST)


Hi Alan,

In the patch that I posted (and now 131-ac5) are the following lines in msg.h:
------------------
#if 0
#if !defined __KERNEL__ && (!defined(__GLIBC__) || __GLIBC__ < 2)
/* glibc < 2 doesn't have sys/msg.h -- do we support the use of 2.1 kernel
* headers on older systems?
*/
#define msg_perm u.msg_perm
#define msg_stime u.msg_stime
#define msg_rtime u.msg_rtime
#define msg_ctime u.msg_ctime
#define msg_cbytes c.msg_cbytes
#define msg_qbytes q.msg_qbytes
#endif
#endif
------------------

I had put this in originally as a place holder now that libc5 used msg.h
directly (unlike glibc) which has its own definitions in sys/msq_buf.h.
I wasn't sure if the use of 2.1 kernel headers was supported on libc5 systems,
and had left the above #if 0 until I found out.

If this is supported then the #if 0/#endif pair should be deleted --
otherwise we can toast the whole block.

Peeter

--
Peeter Joot                                          peeterj@ca.ibm.com
IBM DB2 Operating System Services                    416-448-3359 (tie line 778)

- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.rutgers.edu Please read the FAQ at http://www.tux.org/lkml/