> I dont understand the change in behaviour due to valgrind. Is this a 
> known issue or a bug?
This is a bug in the strspn replacement, used a.o. by memcheck,
helgrind, ...

I fixed it in commit c1eace647ca4f670ef9bec0d0fe72cdd25a96394
Now, your small test case works similarly with or without valgrind.
You might get and compile the last git version, and double check it
all works ok for you now.

(I still have to add a test case for this, to be done in a follow-up)

Thanks for the analysis/bug reproduction/small test case : this all
helps a lot.

Philippe


------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Valgrind-users mailing list
Valgrind-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/valgrind-users

Reply via email to