Hi Rasmus, > So instead of the four different asprintf, I think you can just do > > percent[0] = 0; > res = asprintf(&new_name, "%s%s%s", config.map_filename, > output_filename, percent[1] ? percent + 1 : ".map"); > > no? Good point - I have applied the patch with this change made. Cheers Nick