Robert Nagy wrote: > Hey, > > Can you guys try this diff? oh, fun, upstream fixed it a different way. i don't have a full ports tree on this laptop, but the new code looks like it could work.
// set filename in options class string str = filename.str(); char* cs = new char[str.length()+1]; std::strcpy(cs, str.c_str()); o->cfg_filenames[o->nr_cfg_files] = cs; // set filename in options class string str = filename.str(); char* cs = new char[str.length()+1]; std::strcpy(cs, str.c_str()); o->cfg_filenames[o->nr_cfg_files] = cs;