Index: write.c =================================================================== --- write.c (revision 31005) +++ write.c (revision 31006) @@ -1520,7 +1520,7 @@ Thus this feature should be disabled */ if ((fnpat != NULL) && (*fnpat != '\0')) { char *orig_fn, *end; - char *pcb_fn = pcb_strdup_subst(fnpat, pcb_build_fn_cb, &PCB->hidlib, PCB_SUBST_ALL); + char *pcb_fn = pcb_strdup_subst(fnpat, rnd_build_fn_cb, &PCB->hidlib, PCB_SUBST_ALL); orig_fn = PCB->hidlib.filename; PCB->hidlib.filename = NULL;