[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: libguile/socket.c
From: |
Neil Jerram |
Subject: |
Re: libguile/socket.c |
Date: |
Thu, 09 Feb 2006 10:10:32 +0000 |
User-agent: |
Gnus/5.1007 (Gnus v5.10.7) Emacs/21.4 (gnu/linux) |
address@hidden (hyperdivision) writes:
> line 1259 from cvs
> libguile/socket.c
>
> size_t c_address_size needs to be set to 0
> otherwise gcc4 croaks.
I wonder if that's because it's generally concerned about
uninitialized variables, or because it's noticed the apparent bug in
scm_c_make_socket_address, which does nothing with its address_size
parameter and instead has another size_t variable on the stack.
Can you try changing scm_c_make_socket_address to this:
{
struct sockaddr *soka;
soka = scm_fill_sockaddr (scm_to_ushort (family), address, &args, 1,
"scm_c_make_socket_address", &address_size);
return soka;
}
and report whether that solves the problem?
> also, i am having no luck getting cvs to work with x86_64
> alot of errors and i can't get any of them worked out.
> stack overflows, etc.
> if you want more specific info i can send the build messages.
Yes please.
Neil