At 11:57 AM 5/24/2001 +0100, BAZLEY, Sebastian wrote:
>Just noticed (Perl 5.005_3 PCSI kit) that
>
>-e "NL:" and -z "NL:" are true, however
>
>-r "NL:" is false, as is -w "NL:"
>
>though NL: is both writable and readable ...
>
>The equivalent on WinNT (NUL) and OSF1 (/dev/null) return TRUE for -e, -r,
>-z, and -w, as I would expect.
>
>I think that it would be better to agree with the other OSes.
>
>What do others think?

I'd agree with that, but that'd require twiddling the source a bit. (Like 
that's a big deal... :) The problem is that some of the VMS library 
functions are returning this result--we don't special case NL: or anything, 
we just call sys$check_access. It isn't entirely simple, since you need to 
alter the functions that check access via file descriptor. (No sense 
returning writable for a check by name and later say we can't write to a 
filehandle open on the file we just said was writable by name...)

                                        Dan

--------------------------------------"it's like this"-------------------
Dan Sugalski                          even samurai
[EMAIL PROTECTED]                         have teddy bears and even
                                      teddy bears get drunk

Reply via email to