On Thu, Dec 30, 2004 at 08:36:54AM -0600, Craig A. Berry wrote:
> 2.) MM_Unix::fixin doesn't seem to clean up properly on VMS.  Here's 
> an example borrowed from the $(INST_SCRIPT)instmodsh target showing 
> that it successfully creates a new file with the .new extension but 
> does not rename it back to the original name:

Investigated this.  exe files weren't getting installed on VMS as a result.

The problem appears to be a bug in rename() on 5.8.0 (and whatever version
of Perl you're using).  It does the following:

rename('[.blib.script]instmodsh.new', '[.blib.script]instmodsh');

rename() returns 1 however the file is not renamed.  It appears rename()
will not work unless there's a dot in the filename.  So I hacked up a
rename() wrapper that appends a dot onto a filename if it doesn't have one.

I've also add some tests to ensure executables get installed.


-- 
Michael G Schwern     [EMAIL PROTECTED]     http://www.pobox.com/~schwern/
Worship the sig file

Reply via email to