support native integers, pack("L_",...) etc. (via private mail)
[p5sagit/p5-mst-13.2.git] / taint.c
diff --git a/taint.c b/taint.c
index 655cec8..e163eb4 100644 (file)
--- a/taint.c
+++ b/taint.c
@@ -46,7 +46,11 @@ taint_env(void)
        NULL
     };
 
+    if (!PL_envgv)
+       return;
+
 #ifdef VMS
+    {
     int i = 0;
     char name[10 + TYPE_DIGITS(int)] = "DCL$PATH";
 
@@ -68,6 +72,7 @@ taint_env(void)
        }
        i++;
     }
+  }
 #endif /* VMS */
 
     svp = hv_fetch(GvHVn(PL_envgv),"PATH",4,FALSE);