Can't start X twice

Konstantinos Koukopoulos kouk at noc.uoa.gr
Mon Nov 7 15:29:21 UTC 2005


On Monday 07 November 2005 16:48, Petr Salinger wrote:
> I think that linux.cf is used for kfreebsd.
>
> The problem can be probably fixed also by properly calculating namelen,
> by something like
>
> #include <stddef.h>     /* standard place for definition offsetof */
> #ifndef offsetof
> #define offsetof(TYPE, MEMBER) ((size_t) &((TYPE *)0)->MEMBER)
> #endif
> ...
> ...
>
>    namelen = strlen(sockname.sun_path) + offsetof(struct sockaddr_un,
> sun_path));

Right.
Btw, does gnu/kfreebsd have bsd44sockets or not? Should it be added to 
the .cf?



More information about the Glibc-bsd-devel mailing list