Fix a problem in VG_(mash_LD_PRELOAD_and_LD_LIBRARY_PATH)():  when removing the
added paths, it was taking out the colon between the removed entry and the
following, which meant the following was interpreted as having a big chunk of
whitespace at the start, which broke some things.

eg. was:

  "foo:bar"  --> "    bar"

now:

  "foo:bar"  --> "   :bar"

in which case "   " is considered a separate path in it's own right, albeit one
that doesn't mean anything.


git-svn-id: svn://svn.valgrind.org/valgrind/trunk@1779 a5019735-40e9-0310-863c-91ae7b9d1cf9
1 file changed