develooper Front page | perl.perl5.porters | Postings from November 2003

Re: [PATCH 5.8.2 @21574] make install not installing fully

Thread Previous | Thread Next
From:
Michael G Schwern
Date:
November 4, 2003 20:53
Subject:
Re: [PATCH 5.8.2 @21574] make install not installing fully
Message ID:
20031105045217.GD7929@localhost.comcast.net
On Tue, Nov 04, 2003 at 08:39:56PM -0800, Ilya Zakharevich wrote:
> On Tue, Nov 04, 2003 at 08:30:21PM -0800, Michael G Schwern wrote:
> > On Tue, Nov 04, 2003 at 08:07:25PM -0800, Ilya Zakharevich wrote:
> > > On OS/2 File::Copy::copy would not overwrite by default.  Thus some
> > > files may not be updated by `make install'.
> 
> > Shouldn't that be fixed instead of hacking around it?
> 
> What is there to fix?  Sometimes one behaviour is what is desired,
> sometimes another.  Given that it is not documented what behaviour is
> the default, I see nothing to fix.

Ok, we can change it and document it. :)

Whether or not File::Copy overwrites by default doesn't strike me as being 
very platform specific.  Smells more like a bug or an unconsidered 
consequence of using an OS/2 library call to copy files.

Can you pass some flag to DosCopy to make it overwrite or unlink the
destination file beforehand?


-- 
Michael G Schwern        schwern@pobox.com  http://www.pobox.com/~schwern/
Let me check my notes.
        http://www.sluggy.com

Thread Previous | Thread Next


nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About