At 01:15 PM 3/21/00 -0600, Craig A. Berry wrote:
>At 10:22 AM 3/21/00 -0800, [EMAIL PROTECTED] wrote:
> >Oddly, perl 5.005_02, 5.005_03, and 5.005_62 (modulo vms kit build 
> patching)
> >did not have any trouble building from the root of the device in question.
>[snip]
> >We are in a position that allows us to change the parameters to the mount
> >command, however we apparently only need to do so because the compilation
> >of perl has changed, not the DEC C version, not the OS, not 
> lib$fid_to_name()
> >etc.  Unfortunately I don't have enough time right now to look into what
> >has changed in [.VMS]VMS.C to have caused this.
>
>I'm fairly certain the problem is latent in all versions of Perl, C, and
>VMS.  It never came up before because you never hit the code path in
>Perl_cando() that calls lib$fid_to_name, at least not during a build.  I
>believe the reason you hit it now has to do with the code in util.c related
>to default file types and controlled by the ALWAYS_DEFTYPES macro, which is
>known not to work yet in 5.6.0 and thus must not be defined (right?).  When
>it is defined, I think Perl_find_script is hunting more aggressively for
>script files and hits the Perl_cando code that caused you problems.  This
>file hunting code should work (and in fact does so long as the volume
>logical is not redefined) but it apparently never gets hit unless
>ALWAYS_DEFTYPES is enabled.  Just to be clear, the default file types code
>is not yet working for reasons unrelated to the lib$fid_to_name gotcha, but
>when it was turned on in one of the release candidates, it caused you that
>additional problem.

I bet this'd bite with older versions of perl and the -S switch. There's no 
reason not to have some defensive code in there to catch it, though.

With RC3, default filetypes are disabled with a "-des" build, so we 
shouldn't catch much heat for it until 5.6.1, at which point it'll 
hopefully be fixed.

                                        Dan

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

Reply via email to