At 10:51 AM -0400 5/24/01, Henderson, Jordan wrote:
>There is code in VMS.C (see is_null_device())that attempts to explicitly handle
>the NL: device and return r/w for it.  My guess is that stat()/fstat() don't
>work the same way in VMS as it does in Unices for devices, especially NL:, so
>there has to be explicit coding.
>
>Well, something's wrong, because I've verified the behavior here, but the code
>seems to be in place to handle this.

At first glance it looks like the problem is that while Perl_flex_stat() calls 
is_null_device() and dummies up an appropriate stat buffer if the answer is yes, 
Perl_cando_by_name() never calls any flavor of stat() since it knows it needs 
sys$check_access for the majority of cases.  So, a check of is_null_device() from 
within Perl_cando_by_name() might do the trick.
-- 
____________________________________________
Craig A. Berry                  
mailto:[EMAIL PROTECTED]

"Literary critics usually know what they're
talking about. Even if they're wrong."
        -- Perl creator Larry Wall

Reply via email to