fix missing zero-termination in strreplace

add zero-termination guarantees

do not use c++ object initialization

use EXPECT_STREQ instead of strcmp

(0) -300 -100 -30 -10 -4 +4 +10 +30 +100 +300 tip

mercurial