dupstr() should take a const char *. In particular, this allows