obvious fixup ... getsockopt() takes a socklen_t, not an int
-mike
signature.asc
Description: This is a digitally signed message part.
--- linux-user/syscall.c
+++ linux-user/syscall.c
@@ -642,7 +642,8 @@ static long do_setsockopt(int sockfd, in
static long do_getsockopt(int sockfd, int level, i
Mike Frysinger wrote:
> On Thursday 05 April 2007, Jamie Lokier wrote:
> > Sylvain Petreolle wrote:
> > > Was incorrect before too, since it was sizeof(int) in the first place ?
> >
> > The old type of "val" was "int", so it made no different to the size.
> > When "val" is of type socklen_t, it mat
On Friday 06 April 2007 22:51, Mike Frysinger wrote:
> On Thursday 05 April 2007, Jamie Lokier wrote:
> > Sylvain Petreolle wrote:
> > > Was incorrect before too, since it was sizeof(int) in the first place ?
> >
> > The old type of "val" was "int", so it made no different to the size.
> > When "va
On Thursday 05 April 2007, Jamie Lokier wrote:
> Sylvain Petreolle wrote:
> > Was incorrect before too, since it was sizeof(int) in the first place ?
>
> The old type of "val" was "int", so it made no different to the size.
> When "val" is of type socklen_t, it matters.
val is still of type int wh
Sylvain Petreolle wrote:
> Was incorrect before too, since it was sizeof(int) in the first place ?
The old type of "val" was "int", so it made no different to the size.
When "val" is of type socklen_t, it matters.
-- Jamie
emu-devel] [patch] use socklen_t with getsockopt()
Mike Frysinger wrote:
> obvious fixup ... getsockopt() takes a socklen_t, not an int
> -mike
This is incorrect. Its initial value is sizeof(val).
Thiemo
On Sunday 01 April 2007, Thiemo Seufer wrote:
> Mike Frysinger wrote:
> > obvious fixup ... getsockopt() takes a socklen_t, not an int
>
> This is incorrect. Its initial value is sizeof(val).
attached
-mike
pgpxUDF1iyg7E.pgp
Description: PGP signature
--- linux-user/syscall.c
+++ linux-user/sysc
Mike Frysinger wrote:
> obvious fixup ... getsockopt() takes a socklen_t, not an int
> -mike
This is incorrect. Its initial value is sizeof(val).
Thiemo
obvious fixup ... getsockopt() takes a socklen_t, not an int
-mike
pgpmFlADRziAp.pgp
Description: PGP signature
--- linux-user/syscall.c
+++ linux-user/syscall.c
@@ -642,7 +642,8 @@ static long do_setsockopt(int sockfd, in
static long do_getsockopt(int sockfd, int level, int optname,