enclose macro arguments in parenthesis

fix over-optimization of strstr

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 -6 +6 +10 +30 +100 +300 tip

mercurial