* [Qemu-devel] [PATCH] do_accept() fix.
@ 2006-12-10 23:36 David Woodhouse
0 siblings, 0 replies; only message in thread
From: David Woodhouse @ 2006-12-10 23:36 UTC (permalink / raw)
To: qemu-devel
With this on top of the NPTL support I posted yesterday, I finally have
nspluginwrapper running the i386 flash plugin inside firefox on my PPC
laptop -- to a certain extent.
Index: linux-user/syscall.c
===================================================================
RCS file: /cvsroot/qemu/qemu/linux-user/syscall.c,v
retrieving revision 1.78
diff -u -p -r1.78 syscall.c
--- linux-user/syscall.c 8 Dec 2006 01:32:58 -0000 1.78
+++ linux-user/syscall.c 10 Dec 2006 23:32:48 -0000
@@ -841,7 +842,7 @@ static long do_accept(int fd, target_ulo
target_ulong target_addrlen)
{
socklen_t addrlen = tget32(target_addrlen);
- void *addr = alloca(target_addrlen);
+ void *addr = alloca(addrlen);
long ret;
ret = get_errno(accept(fd, addr, &addrlen));
--
dwmw2
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2006-12-10 23:36 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-12-10 23:36 [Qemu-devel] [PATCH] do_accept() fix David Woodhouse
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 NNTP newsgroup(s).