https://bugs.kde.org/show_bug.cgi?id=384732

--- Comment #11 from Daniel <d...@innovaphone.com> ---
(In reply to Philippe Waroquiers from comment #10)
> What you might do is to write a replacement procedure for
> posix_spawn/posis_spawnp, using the technique/code of glibc 2.24.

Good suggestion! I'm not familiar with the valgrind code, but I tried adding a
replacement function to vg_preloaded.c
It compiled but as I ran my binary, the replacement function was not used.

I then added the glibc 2.24 code to my own program and replaced my posix_spawnp
call with my own glibc implementation and this works.
I just run this implementation if valgrind is running, otherwise the standard
posix_spawnp function.

So I can live with the issue now, but of course a real fix in valgrind would be
perferable.

Thanks for all your work on this great tool!

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to