Index: export_openems.c =================================================================== --- export_openems.c (revision 31016) +++ export_openems.c (revision 31017) @@ -649,7 +649,7 @@ if (!filename) filename = "pcb.m"; - f = pcb_fopen_askovr(&PCB->hidlib, filename, "wb", &openems_ovr); + f = rnd_fopen_askovr(&PCB->hidlib, filename, "wb", &openems_ovr); if (!f) { perror(filename); return; @@ -663,7 +663,7 @@ if (strcmp(end, ".m") != 0) end = runfn + len; strcpy(end, ".sim.m"); - fsim = pcb_fopen_askovr(&PCB->hidlib, runfn, "wb", &openems_ovr); + fsim = rnd_fopen_askovr(&PCB->hidlib, runfn, "wb", &openems_ovr); if (fsim == NULL) { perror(runfn); return; Index: mesh.c =================================================================== --- mesh.c (revision 31016) +++ mesh.c (revision 31017) @@ -980,7 +980,7 @@ default_file = rnd_strdup(fname); } - f = pcb_fopen_askovr(&PCB->hidlib, fname, "w", NULL); + f = rnd_fopen_askovr(&PCB->hidlib, fname, "w", NULL); if (f == NULL) { rnd_message(RND_MSG_ERROR, "Can not open '%s' for write\n", fname); return; @@ -1010,7 +1010,7 @@ default_file = rnd_strdup(fname); } - f = pcb_fopen(&PCB->hidlib, fname, "r"); + f = rnd_fopen(&PCB->hidlib, fname, "r"); if (f == NULL) { rnd_message(RND_MSG_ERROR, "Can not open '%s' for read\n", fname); return;