- const char *basedir(pool.sprintf("%s/.cycript", passwd->pw_dir));
- const char *histfile(pool.sprintf("%s/history", basedir));
+ const char *basedir(pool.strcat(passwd->pw_dir, "/.cycript", NULL));
+ const char *histfile(pool.strcat(basedir, "/history", NULL));