strings.c: tweak various old char* functions