Index: read.c =================================================================== --- read.c (revision 31016) +++ read.c (revision 31017) @@ -1408,7 +1408,7 @@ memset(&ctx, 0, sizeof(ctx)); - flay = pcb_fopen(&pcb->hidlib, fn, "r"); + flay = rnd_fopen(&pcb->hidlib, fn, "r"); if (flay == NULL) { rnd_message(RND_MSG_ERROR, "can't open layout hkp '%s' for read\n", fn); goto err; Index: read_net.c =================================================================== --- read_net.c (revision 31016) +++ read_net.c (revision 31017) @@ -58,7 +58,7 @@ node_t *n, *ncl, *nsch, *ns, *nln, *ndefault = NULL, *ncrs = NULL; hkp_tree_t nc_tree; /* no need to keep the tree in ctx, no data is needed after the function returns */ - fnc = pcb_fopen(&ctx->pcb->hidlib, fn, "r"); + fnc = rnd_fopen(&ctx->pcb->hidlib, fn, "r"); if (fnc == NULL) { rnd_message(RND_MSG_ERROR, "can't open netclass hkp '%s' for read\n", fn); return -1; @@ -142,7 +142,7 @@ node_t *p, *nnet, *pinsect; hkp_tree_t net_tree; /* no need to keep the tree in ctx, no data is needed after the function returns */ - fnet = pcb_fopen(&ctx->pcb->hidlib, fn, "r"); + fnet = rnd_fopen(&ctx->pcb->hidlib, fn, "r"); if (fnet == NULL) { rnd_message(RND_MSG_ERROR, "can't open netprops hkp '%s' for read\n", fn); return -1; Index: read_pstk.c =================================================================== --- read_pstk.c (revision 31016) +++ read_pstk.c (revision 31017) @@ -395,7 +395,7 @@ FILE *fpstk; node_t *n; - fpstk = pcb_fopen(&ctx->pcb->hidlib, fn, "r"); + fpstk = rnd_fopen(&ctx->pcb->hidlib, fn, "r"); if (fpstk == NULL) { rnd_message(RND_MSG_ERROR, "can't open padstack hkp '%s' for read\n", fn); return -1;