openssh-SNAP-20020412 and AIX ...

Damien Miller djm at mindrot.org
Wed Apr 17 15:40:21 EST 2002


On Tue, 16 Apr 2002, Sandor W. Sklar wrote:

> I have done so, as such:
> 
> *** monitor_fdpass.c.orig       Sun Apr  7 09:39:13 2002
> --- monitor_fdpass.c    Tue Apr 16 20:47:11 2002
> ***************
> *** 31,36 ****
> --- 31,41 ----
>    #include "log.h"
>    #include "monitor_fdpass.h"
> 
> + #define _X_CMSG_ALIGN(p)        (((unsigned int)(p) + \
> +       (sizeof(int) - 1)) &~ (sizeof(int) - 1))
> + #define _X_CMSG_SPACE(len) (_X_CMSG_ALIGN(sizeof(struct cmsghdr)) + \
> +       _X_CMSG_ALIGN(len))
> +

my bad - that last define should be:

#define CMSG_SPACE(len) (_X_CMSG_ALIGN(sizeof(struct cmsghdr)) + \
       _X_CMSG_ALIGN(len))
       
-d




More information about the openssh-unix-dev mailing list