taint.c fix for VMS
Hans Mulder [Tue, 5 Jan 1999 16:47:31 +0000 (08:47 -0800)]
To: perl5-porters@perl.org, vmsperl@perl.org
Message-Id: <3.0.6.32.19990105164731.00b5b2d0@ous.edu>

(the ext/IO/lib/IO/Socket.pm was not really changed here;
 it was a leftover from #2569)

p4raw-id: //depot/cfgperl@2570

taint.c

diff --git a/taint.c b/taint.c
index cdf9a7e..e163eb4 100644 (file)
--- a/taint.c
+++ b/taint.c
@@ -50,6 +50,7 @@ taint_env(void)
        return;
 
 #ifdef VMS
+    {
     int i = 0;
     char name[10 + TYPE_DIGITS(int)] = "DCL$PATH";
 
@@ -71,6 +72,7 @@ taint_env(void)
        }
        i++;
     }
+  }
 #endif /* VMS */
 
     svp = hv_fetch(GvHVn(PL_envgv),"PATH",4,FALSE);