Index: trunk/scconfig/Rev.h =================================================================== --- trunk/scconfig/Rev.h (revision 11528) +++ trunk/scconfig/Rev.h (revision 11529) @@ -1 +1 @@ -static const int myrev = 11436; +static const int myrev = 11529; Index: trunk/scconfig/Rev.tab =================================================================== --- trunk/scconfig/Rev.tab (revision 11528) +++ trunk/scconfig/Rev.tab (revision 11529) @@ -1,3 +1,4 @@ +11529 configure gsch2pcb-rnd uses safe_fs 11436 configure dialogs plugin for moving dialog boxes out from core 11396 configure hid_lesstif linking bug 11265 configure deprecate dbus Index: trunk/util/gsch2pcb-rnd/Makefile.in =================================================================== --- trunk/util/gsch2pcb-rnd/Makefile.in (revision 11528) +++ trunk/util/gsch2pcb-rnd/Makefile.in (revision 11529) @@ -46,7 +46,7 @@ print [@ FP_OBJS = @/local/pcb/OBJS@ ../../src/plug_footprint.o -CONF_OBJS = ../../src/vtlibrary.o ../../src/compat_fs.o ../../src/paths.o ../../src/conf.o ../../src/conf_core.o ../../src/hid_cfg.o ../../src/misc_util.o ../../src/unit.o ../../src/conf_internal.o ../../src/list_conf.o ../../src/conf_hid.o ../../src/pcb-printf.o ../../src/compat_misc.o +CONF_OBJS = ../../src/vtlibrary.o ../../src/compat_fs.o ../../src/paths.o ../../src/conf.o ../../src/conf_core.o ../../src/hid_cfg.o ../../src/misc_util.o ../../src/unit.o ../../src/conf_internal.o ../../src/list_conf.o ../../src/conf_hid.o ../../src/pcb-printf.o ../../src/compat_misc.o ../../src/safe_fs.o FP_LDFLAGS = @/local/pcb/LDFLAGS@ FP_CFLAGS = @/local/pcb/CFLAGS@ OBJS = \ Index: trunk/util/gsch2pcb-rnd/gsch2pcb.c =================================================================== --- trunk/util/gsch2pcb-rnd/gsch2pcb.c (revision 11528) +++ trunk/util/gsch2pcb-rnd/gsch2pcb.c (revision 11529) @@ -43,6 +43,7 @@ #include "../src/compat_misc.h" #include "../src/compat_fs.h" #include "../src/misc_util.h" +#include "../src/safe_fs.h" #include "method.h" #include "help.h" #include "gsch2pcb_rnd_conf.h" @@ -205,7 +206,7 @@ char *s, buf[1024], config[32], arg[768]; int n; - f = fopen(path, "r"); + f = pcb_fopen(path, "r"); if (!f) return;