[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-core-devel
Subject: Re: KDE does not start on FreeBSD
From: Bradley T Hughes <bhughes () trolltech ! com>
Date: 2002-01-09 15:26:24
[Download RAW message or body]
On Wednesday 09 January 2002 15:38, Oswald Buddenhagen wrote:
> > Thus, it should read:
> > sockname.sun_len = strlen(sockname.sun_path) + offsetof(sun_path,
> > sockaddr_un);
> > (or something to that effect)
>
> according to the fbsd header it should be
> strlen(sockname.sun_path) + 1 + offsetof(sun_path, sockaddr_un)
why the +1? if you do that, then the len is says the structure is 1 byte
bigger than it actually is.
> greetings
--
--
Bradley T. Hughes - bhughes at trolltech.com
Trolltech AS - Waldemar Thranes gt. 98 N-0175 Oslo, Norway
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic