do_accept() fix.
PATCH 1/1 do_accept() fix.
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
syscall.c +1 -1
@@ -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));
Signature · 1 line
dwmw2