unofficial mirror of bug-guile@gnu.org 
 help / color / mirror / Atom feed
From: Neil Jerram <neil@ossau.uklinux.net>
Cc: bug-guile@gnu.org
Subject: Re: libguile/socket.c
Date: Thu, 09 Feb 2006 10:10:32 +0000	[thread overview]
Message-ID: <87slqsonaf.fsf@ossau.uklinux.net> (raw)
In-Reply-To: <20060206084314.B6F9B727B@firefly.is-a-geek.org> (hyperdivision@firefly.is-a-geek.org's message of "Mon, 06 Feb 2006 02:43:14 -0600")

hyperdivision@firefly.is-a-geek.org (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



_______________________________________________
Bug-guile mailing list
Bug-guile@gnu.org
http://lists.gnu.org/mailman/listinfo/bug-guile


  reply	other threads:[~2006-02-09 10:10 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-02-06  8:43 libguile/socket.c hyperdivision
2006-02-09 10:10 ` Neil Jerram [this message]
2006-02-09 12:01   ` libguile/socket.c Ludovic Courtès
2006-02-09 13:43     ` libguile/socket.c Neil Jerram
2006-02-09 21:46       ` libguile/socket.c Marius Vollmer
2006-02-10  6:58         ` libguile/socket.c Neil Jerram
2006-02-10  8:21           ` libguile/socket.c Marius Vollmer
2006-02-10  8:37         ` libguile/socket.c Ludovic Courtès

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/guile/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87slqsonaf.fsf@ossau.uklinux.net \
    --to=neil@ossau.uklinux.net \
    --cc=bug-guile@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).