Displaying 2 results from an estimated 2 matches for "__cmsg_align".
Did you mean:
_x_cmsg_align
2002 May 17
0
openssh-3.2.2p1 on Linux 2.0
...-----------------------------------------------------------------------
diff -ru openssh-3.2.2p1.orig/defines.h openssh-3.2.2p1/defines.h
--- openssh-3.2.2p1.orig/defines.h Fri Apr 26 02:56:07 2002
+++ openssh-3.2.2p1/defines.h Fri May 17 17:21:13 2002
@@ -410,6 +410,15 @@
#define CMSG_SPACE(len) (__CMSG_ALIGN(sizeof(struct cmsghdr)) + __CMSG_ALIGN(len))
#endif
+/* Linux 2.0 does not have CMSG_DATA, CMSG_FIRSTHDR */
+#ifndef CMSG_DATA
+#define CMSG_DATA(cmsg) ((void *)((char *)(cmsg) + __CMSG_ALIGN(sizeof(struct cmsghdr))))
+#endif
+#ifndef CMSG_FIRSTHDR
+#define CMSG_FIRSTHDR(msg) (((msg)->msg_con...
2002 Apr 06
0
[Bug 206] New: -SNAP-20020405: build failures on AIX 3.2.5 with XLC 1.2.1.16
...ss.c", line 42.36: 1506-043 (S) Sizeof operator cannot be used with
functions, void, bit-fields, incomplete types, or arrays of unknown size.
monitor_fdpass.c line 42:
char tmp[CMSG_SPACE(sizeof(int))];
CMSG_SPACE is being picked up from defines.h, line 464:
#define CMSG_SPACE(len) (__CMSG_ALIGN(sizeof(struct cmsghdr)) +
__CMSG_ALIGN(len))
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.