Index: pcbway.c =================================================================== --- pcbway.c (revision 30939) +++ pcbway.c (revision 30940) @@ -458,7 +458,7 @@ pcbway_dlg2fields(octx, form); - tmpfn = pcb_tempfile_name_new("pcbway_quote.xml"); + tmpfn = rnd_tempfile_name_new("pcbway_quote.xml"); if (tmpfn == NULL) { rnd_message(PCB_MSG_ERROR, "order_pcbway: can't get temp file name\n"); return; @@ -466,7 +466,7 @@ fx = pcb_fopen(&PCB->hidlib, tmpfn, "w"); if (fx == NULL) { - pcb_tempfile_unlink(tmpfn); + rnd_tempfile_unlink(tmpfn); rnd_message(PCB_MSG_ERROR, "order_pcbway: can't open temp file\n"); return; } @@ -522,7 +522,7 @@ pcbway_present_quote(octx, respfn); err:; - pcb_tempfile_unlink(tmpfn); + rnd_tempfile_unlink(tmpfn); }