Mirror of the gdb-patches mailing list
 help / color / mirror / Atom feed
From: Tom Tromey <tromey@redhat.com>
To: Mike Frysinger <vapier@gentoo.org>
Cc: gdb-patches@sourceware.org
Subject: Re: [PATCH] sim: use socklen_t with accept()
Date: Tue, 30 Mar 2010 16:11:00 -0000	[thread overview]
Message-ID: <m3zl1pyelw.fsf@fleche.redhat.com> (raw)
In-Reply-To: <1269891513-2771-1-git-send-email-vapier@gentoo.org> (Mike 	Frysinger's message of "Mon, 29 Mar 2010 15:38:33 -0400")

>>>>> "Mike" == Mike Frysinger <vapier@gentoo.org> writes:

Mike> The accept() function takes a socklen_t, not an int.

I thought there were still platforms where accept took an int*.

gnulib at least implies it:

http://www.gnu.org/software/gnulib/manual/html_node/accept.html

... but doesn't mention which ones.

Given that both gdb and gdbserver check for socklen_t and typedef it if
it does not exist, I think sim ought to as well.

Tom


  reply	other threads:[~2010-03-30 16:11 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-03-29 19:38 Mike Frysinger
2010-03-30 16:11 ` Tom Tromey [this message]
2010-03-30 18:42   ` Andreas Schwab
2010-03-30 22:08     ` [PATCH v2] " Mike Frysinger
2010-03-30 22:22       ` Tom Tromey
2010-03-30 22:39         ` Mike Frysinger
2010-03-30 23:03           ` Tom Tromey
2010-03-30 22:39         ` [PATCH v3] " Mike Frysinger
2010-03-30 23:04           ` Tom Tromey

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

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

  git send-email \
    --in-reply-to=m3zl1pyelw.fsf@fleche.redhat.com \
    --to=tromey@redhat.com \
    --cc=gdb-patches@sourceware.org \
    --cc=vapier@gentoo.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