develooper Front page | perl.perl5.porters | Postings from April 2003

[PATCH Encode 1.93] another spin on the enc_module.t merry-go-round

Thread Next
From:
Craig A. Berry
Date:
April 24, 2003 18:13
Subject:
[PATCH Encode 1.93] another spin on the enc_module.t merry-go-round
Message ID:
3EA88ADC.3000300@mac.com
I here attempt once again to do what change #19130 previously did, that
is, make sure that a file open for write gets closed before being
compared to another file. This is necessary for the test to pass on VMS.
I think the basic issue is that files are by default opened for
exclusive access on VMS; if you open a file that is already open (as the
file comparison in the test is doing), the second open will fail:

$ perl -e "open(F1,'>foo.tmp'); open(F2,'<foo.tmp') or die;"
Died at -e line 1.
%RMS-E-FLK, file currently locked by another user



Thread Next


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