develooper Front page | perl.perl5.porters | Postings from July 2001

[PATCH perl@11487] fix fs.t for VMS

From:
Craig A. Berry
Date:
July 31, 2001 12:57
Subject:
[PATCH perl@11487] fix fs.t for VMS
Message ID:
5.1.0.14.0.20010731145015.03743008@exchi01
After this, the test passes.

--- t/io/fs.t;-0        Tue Jul 24 11:38:32 2001
+++ t/io/fs.t   Tue Jul 31 14:50:45 2001
@@ -256,6 +256,8 @@
 
 # check if rename() works on directories
 if ($Is_VMSish) {
+    # must have delete access to rename a directory
+    `set file tmp.dir/protection=o:d`;
     rename 'tmp.dir', 'tmp1.dir' or print "not ";
 }
 else {
[end of patch]





nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About