Index: read.c =================================================================== --- read.c (revision 31016) +++ read.c (revision 31017) @@ -2348,7 +2348,7 @@ cfg_dest = settings_dest; - realfn = pcb_fopen_check(NULL, Filename, "r"); + realfn = rnd_fopen_check(NULL, Filename, "r"); if (realfn != NULL) doc = lht_dom_load(realfn, &errmsg); free(realfn); @@ -2396,7 +2396,7 @@ cfg_dest = RND_CFR_invalid; - realfn = pcb_fopen_check(NULL, filename, "r"); + realfn = rnd_fopen_check(NULL, filename, "r"); if (realfn != NULL) doc = lht_dom_load(realfn, &errmsg); free(realfn); @@ -2492,7 +2492,7 @@ char *errmsg = NULL, *realfn; lht_doc_t *doc = NULL; - realfn = pcb_fopen_check(&PCB->hidlib, Filename, "r"); + realfn = rnd_fopen_check(&PCB->hidlib, Filename, "r"); if (realfn != NULL) doc = lht_dom_load(realfn, &errmsg); free(realfn); Index: write.c =================================================================== --- write.c (revision 31016) +++ write.c (revision 31017) @@ -1552,7 +1552,7 @@ lhtpers_ev_t events; if (old_filename != NULL) - inf = pcb_fopen(&PCB->hidlib, old_filename, "r"); + inf = rnd_fopen(&PCB->hidlib, old_filename, "r"); memset(&events, 0, sizeof(events)); events.text = check_text; @@ -1569,7 +1569,7 @@ if (res != 0) { FILE *fe; char *fe_name = rnd_concat(old_filename, ".mem.lht", NULL); - fe = pcb_fopen(&PCB->hidlib, fe_name, "w"); + fe = rnd_fopen(&PCB->hidlib, fe_name, "w"); if (fe != NULL) { clean_invalid(brd->root); /* remove invalid nodes placed for persistency */ res = lht_dom_export(brd->root, fe, ""); @@ -1624,7 +1624,7 @@ lht_doc_t *doc; - f = pcb_fopen_askovr(&PCB->hidlib, Filename, "w", NULL); + f = rnd_fopen_askovr(&PCB->hidlib, Filename, "w", NULL); if (f == NULL) { rnd_message(RND_MSG_ERROR, "Failed to open font file %s for write\n", Filename); return -1;