Index: trunk/src_plugins/import_hpgl/hpgl.c =================================================================== --- trunk/src_plugins/import_hpgl/hpgl.c (revision 11604) +++ trunk/src_plugins/import_hpgl/hpgl.c (revision 11605) @@ -37,6 +37,7 @@ #include "error.h" #include "pcb-printf.h" #include "compat_misc.h" +#include "safe_fs.h" #include "action_helper.h" #include "hid_actions.h" @@ -92,7 +93,7 @@ ctx.conf.arc = load_arc; ctx.conf.poly = load_poly; - f = fopen(fname, "r"); + f = pcb_fopen(fname, "r"); if (f == NULL) { pcb_message(PCB_MSG_ERROR, "Error opening HP-GL %s for read\n", fname); return 1;