Don't mask libc's vfork / __vfork:
$ nm /lib/libc-2.2.4.so | grep vfork
000b4220 T __vfork
000b4220 W vfork
There's no __libc_vfork, so there's nothing we can do here.
Just don't supply our own version.
Not at all sure if this is correct.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@303 a5019735-40e9-0310-863c-91ae7b9d1cf9
diff --git a/coregrind/vg_libpthread_unimp.c b/coregrind/vg_libpthread_unimp.c
index 66c586e..01c299e 100644
--- a/coregrind/vg_libpthread_unimp.c
+++ b/coregrind/vg_libpthread_unimp.c
@@ -72,7 +72,7 @@
//void __res_state ( void ) { unimp("__res_state"); }
//void __send ( void ) { unimp("__send"); }
//void __sigaction ( void ) { unimp("__sigaction"); }
-void __vfork ( void ) { unimp("__vfork"); }
+//--//void __vfork ( void ) { unimp("__vfork"); }
//void __wait ( void ) { unimp("__wait"); }
//void __write ( void ) { unimp("__write"); }
//void _pthread_cleanup_pop ( void ) { unimp("_pthread_cleanup_pop"); }
@@ -208,7 +208,7 @@
__attribute__((weak)) void recvmsg ( void ) { vgPlain_unimp("recvmsg"); }
//__attribute__((weak)) void sendmsg ( void ) { vgPlain_unimp("sendmsg"); }
__attribute__((weak)) void tcdrain ( void ) { vgPlain_unimp("tcdrain"); }
-__attribute__((weak)) void vfork ( void ) { vgPlain_unimp("vfork"); }
+//--//__attribute__((weak)) void vfork ( void ) { vgPlain_unimp("vfork"); }
__attribute__((weak)) void pthread_attr_getguardsize ( void )
{ vgPlain_unimp("pthread_attr_getguardsize"); }