At 8:12 AM -0500 9/7/07, John E. Malmberg wrote:
>When running ext/Safe/t/safe2.t, I get the following failure on VMS, but it 
>does not appear to be a VMS specific issue.
>
>not ok 30 # "not a directory" is 20 (expected 2)
>
>X/Open states that "not a directory" (errno = 20) is also a valid error code 
>for this test of opening a non-existent file in a non-existent directory.

The test passes for me on OpenVMS Alpha v8.3.  The test doesn't care
that errno is 20, it cares that errno is different when sending a
non-existent filename to C<open> versus sending the same filename to
C<do> inside an eval.  Whether those two things are really guaranteed
to be the same is a good question; that assumes a lot about the
internals of C<do> and the order in which they happen.
-- 
________________________________________
Craig A. Berry
mailto:[EMAIL PROTECTED]

"... getting out of a sonnet is much more
 difficult than getting in."
                 Brad Leithauser

Reply via email to