Index: xy.c =================================================================== --- xy.c (revision 27072) +++ xy.c (revision 27073) @@ -664,7 +664,7 @@ FILE *fp; subst_ctx_t ctx; - fp = pcb_fopen(&PCB->hidlib, xy_filename, "w"); + fp = pcb_fopen_askovr(&PCB->hidlib, xy_filename, "w", NULL); if (!fp) { pcb_message(PCB_MSG_ERROR, "Cannot open file %s for writing\n", xy_filename); return 1;