[Live-devel] sin_len on *BSD not initialized
Boris Nikolaus
boris at cs.tu-berlin.de
Sun Dec 4 13:19:42 PST 2005
Hi,
I just tried running vobStreamer on FreeBSD and encountered that
the sin_len field of sockaddr_in is not initialized by the
libraries, making the programs fail on FreeBSD.
To make the code runnable on *BSD, I suggest that a
"HAVE_SOCKADDR_LEN" flag should be defined in the config*.h files
for appropriate systems and that
#ifdef HAVE_SOCKADDR_LEN
address.sin_len = sizeof(address);
#endif
is added to the corresponding code places (which can be found by
looking for sin_family).
Is there anyone who can make the patches to the code?
Thanks in advance,
Boris
More information about the live-devel
mailing list