Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT sources DOT redhat DOT com Delivered-To: mailing list cygwin AT sources DOT redhat DOT com Reply-To: From: "Eric Fifer" To: "'Robert Collins'" , Subject: RE: Distributed Perl 5.6.1 bug report. Date: Mon, 1 Jan 2001 12:33:42 -0000 Message-ID: <000001c073ef$1f26fa40$9b3770c2@fifer> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook CWS, Build 9.0.2416 (9.0.2910.0) Importance: Normal In-Reply-To: <00ca01c07387$963c5750$0200a8c0@lifelesswks> X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2314.1300 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