Yay! Opera (6.0TP2) now works.
Various enhancements:
* Make the error message system more thread-aware.
* Fix stupid bug in do_pthread_create causing incorrect initial
%ESP values sometimes.
* Fix various other minor things needed to make opera work.
Performance of threaded apps is pretty terrible. This needs
looking into.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@98 a5019735-40e9-0310-863c-91ae7b9d1cf9
diff --git a/coregrind/vg_libpthread.c b/coregrind/vg_libpthread.c
index f32c553..8ee3ccb 100644
--- a/coregrind/vg_libpthread.c
+++ b/coregrind/vg_libpthread.c
@@ -499,6 +499,13 @@
return __libc_send(s, msg, len, flags);
}
+extern
+int __libc_recv(int s, void *buf, size_t len, int flags);
+int recv(int s, void *buf, size_t len, int flags)
+{
+ return __libc_recv(s, buf, len, flags);
+}
+
/*--------------------------------------------------*/