From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 1708 invoked by alias); 13 May 2013 15:00:49 -0000 Mailing-List: contact cygwin-developers-help@cygwin.com; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-developers-owner@cygwin.com Mail-Followup-To: cygwin-developers@cygwin.com Received: (qmail 1694 invoked by uid 89); 13 May 2013 15:00:49 -0000 X-Spam-SWARE-Status: No, score=-1.8 required=5.0 tests=AWL,BAYES_00 autolearn=ham version=3.3.1 Received: from aquarius.hirmke.de (HELO calimero.vinschen.de) (217.91.18.234) by sourceware.org (qpsmtpd/0.84/v0.84-167-ge50287c) with ESMTP; Mon, 13 May 2013 15:00:49 +0000 Received: by calimero.vinschen.de (Postfix, from userid 500) id EFB165201ED; Mon, 13 May 2013 17:00:46 +0200 (CEST) Date: Mon, 13 May 2013 15:00:00 -0000 From: Corinna Vinschen To: cygwin-developers@cygwin.com Subject: Re: native symlink support should fallback to default format if target missing Message-ID: <20130513150046.GB20319@calimero.vinschen.de> Reply-To: cygwin-developers@cygwin.com Mail-Followup-To: cygwin-developers@cygwin.com References: <20130424181412.GB26397@calimero.vinschen.de> <3B3671F5-EBFE-480B-B592-90BA2270BDA6@mac.com> <42E7B9C6-1A6A-43D7-84B3-AEDD25EF4507@mac.com> <517F061D.5080201@cygwin.com> <671E245A-BDCD-4F46-90B7-9E73301126C1@mac.com> <20130430002548.GA7635@ednor.casa.cgf.cx> <9FCBD602-2D9C-4069-AA5F-682C32DE6D32@mac.com> <517F13D1.8040105@cwilson.fastmail.fm> <56151889-406D-4648-BFC9-BEE3AE70D56E@mac.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: <56151889-406D-4648-BFC9-BEE3AE70D56E@mac.com> User-Agent: Mutt/1.5.21 (2010-09-15) X-SW-Source: 2013-05/txt/msg00004.txt.bz2 On May 3 14:53, James Gregurich wrote: > The guy I have testing the native symlink support in the new cygwin is > reporting to me that if the target of the link does not exist, the > mechanism is creating a file reparse point. This is not desirable > behavior. When the target comes into existence, if it is a folder, > then the native symlink is invalid. What the mechanism should do is > fall back to the native symlink format if the target doesn't exist. > That way, the link is never invalid. Since it is a default format > symlink, then my test for the need to replace the link by checking if > it is not a reparse point will work. Otherwise, I would have to take > into consideration that the reparse point may exist but be invalid. Makes sense. I'll fix that shortly. Corinna -- Corinna Vinschen Please, send mails regarding Cygwin to Cygwin Maintainer cygwin AT cygwin DOT com Red Hat