This is the mail archive of the
cygwin@sources.redhat.com
mailing list for the Cygwin project.
Re: Distributed Perl 5.6.1 bug report.
- To: <egf7 at columbia dot edu>, <cygwin at cygwin dot com>
- Subject: Re: Distributed Perl 5.6.1 bug report.
- From: "Robert Collins" <robert dot collins at itdomain dot com dot au>
- Date: Mon, 1 Jan 2001 23:51:54 +1100
- References: <000001c073ef$1f26fa40$9b3770c2@fifer>
Oh, new thought - what does ActiveState perl do in the same circumstance? (-i , no extension)
Rob
----- Original Message -----
From: "Eric Fifer" <egf7@columbia.edu>
To: "'Robert Collins'" <robert.collins@itdomain.com.au>; <cygwin@cygwin.com>
Sent: Monday, January 01, 2001 11:33 PM
Subject: RE: Distributed Perl 5.6.1 bug report.
>
> Robert Collins wrote:
> > Do the perl 5.6.1 tests include inplace edit testing?
> >I ask because the perl >available for download via 'Cygwin Setup' is
> >deleting files when using inplace edits, rather than editing the file.
>
> To do inplace editing you will need to provide a backup
> extension (-i.orig). Apparently none of the tests check
> inplace editing with a null backup extension. You found
> a bug with the Perl Cygwin port and I will fix it, but
> the end result will be this error message:
>
> Can't do inplace edit without backup
>
> Also, just so you know what is going on. The Perl code
> is taking advantage of the Unix feature where you can
> unlink an open file and the file disappears from the
> file system. With Cygwin this didn't really work as
> expected and it ended up clobbering your file. The
> "Permission Denied" message doesn't have anything to
> do with your permissions, but is the error you get
> when you stat() a file that has been deleted but is
> still open.
>
> Hope this helps.
>
> Eric Fifer
>
>
>
--
Want to unsubscribe from this list?
Check out: http://cygwin.com/ml/#unsubscribe-simple