As I reported earlier, taint.t was failing at test 10.  The reason 
has to do with how /tmp is now handled by the C RTL.  The test would 
determine that /tmp is a world-writeable directory, which is true for 
recent versions of the C RTL that treat /tmp as sys$scratch. 
However, the test later assigns /tmp to DCL$PATH, but of course /tmp 
has no meaning to DCL.  Neither, for that matter, does /sys$scratch, 
so I put sys$scratch without the leading slash at the beginning of 
the list of strings to check when hunting for a writeable directory. 
With that done, taint.t passes all 149 tests.

Does this make sense?  Was this test failing for anyone else?  Should 
we try slipping it past Sarathy's "burly individuals" and getting it 
into 5.6?

--- t/op/taint.t;-0     Tue Oct 12 10:34:57 1999
+++ t/op/taint.t        Wed Mar 15 21:28:36 2000
@@ -137,7 +137,7 @@
     }
     else {
        $tmp = (grep { defined and -d and (stat _)[2] & 2 }
-                    qw(/tmp /var/tmp /usr/tmp /sys$scratch),
+                    qw(sys$scratch /tmp /var/tmp /usr/tmp),
                     @ENV{qw(TMP TEMP)})[0]
            or print "# can't find world-writeable directory to test PATH\n";
     }
End of Patch.

____________________________________________
Craig A. Berry                   
mailto:[EMAIL PROTECTED]

Reply via email to