Hi,

On 21 Aug 2007, at 04:55, John E. Malmberg wrote:

In pp_ctl.c, on VMS, normally the path used for the %INC key is in UNIX filename syntax, however if require is given a VMS format filename, it stores it as the %INC key.

The load conditional code does a require using the VMS format, and since it does not match the key in UNIX format, modules can be loaded twice. This showed up by causing the extract tests to emit diagnostics about routines being overridden.

This patch forces the %INC key to be in UNIX format so that the modules will not be loaded twice.

In 01_Module_Load.t, on VMS, the $file for the module will now be returned in UNIX format.

In 01_Module_Load_Conditional.t, some work arounds are needed for issues with VMS handling of UNIX pathnames incorrectly.

Hmm, these 2 files are part of modules i maintain -- is the applied patch only required after your change to pp_ctl.c or in general? if so, do you have
a CPAN'able fix as well?

Also, if possible, please Cc the module maintainer (if you know who they are
of course ;) on such changes.

Thanks,

Jos

Reply via email to