Re: Re: CMSG_SPACE on NetBSD

2010-03-02 Thread Nicholas Marriott
Hi Have you got a fix for this in imsg.c? I find it hard to understand why NetBSD have done something so patently stupid but I suppose since they have we will have to handle it, at least in the portable tmux. On Tue, Feb 23, 2010 at 01:33:32PM +0300, Alexander Nasonov wrote: > Hi Nicholas, > I

Re: Re: CMSG_SPACE on NetBSD

2010-02-23 Thread Alexander Nasonov
Hi Nicholas, I don't think that variable size array inside a union is allowed by C99. I don't have a copy of the standard but N1256 says: (in 6.7.2.1 Structure and union specifiers) "A member of a structure or union may have any object type other than a variably modified type." "variably modifi