| delorie.com/archives/browse.cgi | search |
| X-Recipient: | archive-cygwin AT delorie DOT com |
| X-SWARE-Spam-Status: | No, hits=-1.0 required=5.0 tests=AWL,BAYES_50 |
| X-Spam-Check-By: | sourceware.org |
| Date: | Fri, 20 Mar 2009 20:09:21 +0100 |
| From: | Spiro Trikaliotis <an-cygwin AT spiro DOT trikaliotis DOT net> |
| To: | cygwin AT cygwin DOT com |
| Message-ID: | <20090320190921.GM6141@trikaliotis.net> |
| Mail-Followup-To: | cygwin AT cygwin DOT com |
| References: | <49C3BF14 DOT 5000602 AT bull DOT net> <49C3E438 DOT 4070301 AT gmail DOT com> |
| MIME-Version: | 1.0 |
| In-Reply-To: | <49C3E438.4070301@gmail.com> |
| User-Agent: | Mutt/1.5.17+20080114 (2008-01-14) |
| X-SA-Exim-Connect-IP: | 87.163.251.9 |
| X-SA-Exim-Mail-From: | an-cygwin AT spiro DOT trikaliotis DOT net |
| Subject: | Re: UNLINK problem (again!!) |
| X-SA-Exim-Version: | 4.2.1 (built Tue, 09 Jan 2007 17:23:22 +0000) |
| X-SA-Exim-Scanned: | Yes (on mail.trikaliotis.net) |
| X-IsSubscribed: | yes |
| Mailing-List: | contact cygwin-help AT cygwin DOT com; run by ezmlm |
| List-Id: | <cygwin.cygwin.com> |
| List-Unsubscribe: | <mailto:cygwin-unsubscribe-archive-cygwin=delorie DOT com AT cygwin DOT com> |
| List-Subscribe: | <mailto:cygwin-subscribe AT cygwin DOT com> |
| List-Archive: | <http://sourceware.org/ml/cygwin/> |
| List-Post: | <mailto:cygwin AT cygwin DOT com> |
| List-Help: | <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs> |
| Sender: | cygwin-owner AT cygwin DOT com |
| Mail-Followup-To: | cygwin AT cygwin DOT com |
| Delivered-To: | mailing list cygwin AT cygwin DOT com |
Hello, * On Fri, Mar 20, 2009 at 06:45:12PM +0000 Dave Korn wrote: > This is Cygwin correctly implementing the POSIX "can delete a file while > retaining a handle to its contents" semantic, followed by the known Cygwin > problem (a restiction of the underlying windows OS) that you can't (as you can > in POSIX) create a new file in place of the old one while you keep that handle > to the old one's contents. This restriction could be solved by renaming the file before deleting it. The only problem I see with this approach: What file name to choose for the rename operation? Best regards, Spiro. -- Spiro R. Trikaliotis http://opencbm.sf.net/ http://www.trikaliotis.net/ http://www.viceteam.org/ -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
| webmaster | delorie software privacy |
| Copyright © 2019 by DJ Delorie | Updated Jul 2019 |