Index: trunk/src_plugins/import_edif/edif.c =================================================================== --- trunk/src_plugins/import_edif/edif.c (revision 11544) +++ trunk/src_plugins/import_edif/edif.c (revision 11545) @@ -107,6 +107,7 @@ #include "plugins.h" #include "compat_misc.h" #include "compat_nls.h" +#include "safe_fs.h" /* from mymem.h, not include because of the malloc junk */ pcb_lib_menu_t *pcb_lib_menu_new(pcb_lib_t *, int *idx); @@ -5868,7 +5869,7 @@ * Set up the file state to something useful. */ InFile = filename; - Input = fopen(filename,"r"); + Input = pcb_fopen(filename, "r"); Error = err; LineNumber = 1; /* Index: trunk/src_plugins/import_edif/edif.h =================================================================== --- trunk/src_plugins/import_edif/edif.h (revision 11544) +++ trunk/src_plugins/import_edif/edif.h (revision 11545) @@ -345,7 +345,7 @@ typedef union YYSTYPE YYSTYPE; union YYSTYPE { -#line 201 "edif.y" /* yacc.c:1909 */ +#line 202 "edif.y" /* yacc.c:1909 */ char* s; pair_list* pl; Index: trunk/src_plugins/import_edif/edif.y =================================================================== --- trunk/src_plugins/import_edif/edif.y (revision 11544) +++ trunk/src_plugins/import_edif/edif.y (revision 11545) @@ -34,6 +34,7 @@ #include "plugins.h" #include "compat_misc.h" #include "compat_nls.h" +#include "safe_fs.h" /* from mymem.h, not include because of the malloc junk */ pcb_lib_menu_t *pcb_lib_menu_new(pcb_lib_t *, int *idx); @@ -4080,7 +4081,7 @@ * Set up the file state to something useful. */ InFile = filename; - Input = fopen(filename,"r"); + Input = pcb_fopen(filename, "r"); Error = err; LineNumber = 1; /*