Implemented the SHOW command and massaged the SET command to fit
[pspp-builds.git] / src / filename.c
index c9f0b62ecc9247455631e1b45014ee3132c9ddd2..a56918f334c4686443c0028843233798ae66d0ab 100644 (file)
@@ -695,7 +695,7 @@ fn_open (const char *fn, const char *mode)
 #ifdef unix
   if (fn[0] == '|')
     {
-      if (set_safer)
+      if (safer_mode())
        return safety_violation (fn);
 
       return popen (&fn[1], mode);
@@ -705,7 +705,7 @@ fn_open (const char *fn, const char *mode)
       char *s;
       FILE *f;
 
-      if (set_safer)
+      if (safer_mode())
        return safety_violation (fn);
       
       s = local_alloc (strlen (fn));