From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mout.kundenserver.de (mout.kundenserver.de [217.72.192.75]) by sourceware.org (Postfix) with ESMTPS id 200E13854835 for ; Fri, 19 Feb 2021 18:24:52 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.3.2 sourceware.org 200E13854835 Received: from calimero.vinschen.de ([24.134.7.25]) by mrelayeu.kundenserver.de (mreue106 [212.227.15.183]) with ESMTPSA (Nemesis) id 1MTAW9-1lQCrN0QT1-00UeKN for ; Fri, 19 Feb 2021 19:24:50 +0100 Received: by calimero.vinschen.de (Postfix, from userid 500) id B0B8BA80BE7; Fri, 19 Feb 2021 19:24:49 +0100 (CET) Date: Fri, 19 Feb 2021 19:24:49 +0100 From: Corinna Vinschen To: cygwin-developers@cygwin.com Subject: Re: Root directory being a junction fools realpath() Message-ID: Reply-To: cygwin-developers@cygwin.com Mail-Followup-To: cygwin-developers@cygwin.com References: <20210215122538.GN4251@calimero.vinschen.de> <20210215132053.GO4251@calimero.vinschen.de> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: X-Provags-ID: V03:K1:EssvBoFtxkOfiwnRFJbUn3f//885wXZax2VT+WoSSclCu1gYxVi LtAtlCtwZ0VPj9aYXjnDN2GZJWTp7wPpkJmqp4CCa3gREIndgrWhWwj24+sZJ2IaKaTByTg muL+aBuISzcR5Sy2p/tzzUTg1nOBKDI/eSX9OLb9X2DgksVwveFmKwZxKMrWGik9HJjXeMW NkVbvgT2KPI66F1i30VQQ== X-UI-Out-Filterresults: notjunk:1;V03:K0:9FRYS9Afdg4=:Pj+cfnFa9LEd3EIGAtTe8F yDP5YBpV1OxN9+f2gW81aNOnfQ19YNX+aHCVtIVP+dje25W6IJZexg30g4XHHg7ytNJqcaom4 vuGeZDZlkvgeuGWHrBiJ3ljjlbuqrLuHvLA1a2RxuBTyiCRNPrRXv9i8DPpcyl+amrywZYKl4 1mR4S80f1Sgf/VryW8enLTZmaxr7t/5sUcec+GRGQJwweLUFjLScqFZQCPysNFzx/k2uy7bys cciphdCUh4j21vhkZmMIIMOdRvlCRSCafbgI/+3wpFBIUCqfIikLafx8LGWyjBKveMC0eKMZw 8D9iAiSiS1unhjZxxwgeX0rdI9m/cV4lvPZUpNsm28Sq2rt/RTOMVvRsgMV5iIhogUgfktAd6 oMkE7V/0pyTQP9Ti3FARe5kxPm6cgEcUSd/+2yuyAA73LEld32WncewERmhyxabkEs0YepsnI ydvnhxGNCg== X-Spam-Status: No, score=-101.1 required=5.0 tests=BAYES_00, GOOD_FROM_CORINNA_CYGWIN, JMQ_SPF_NEUTRAL, KAM_DMARC_NONE, KAM_DMARC_STATUS, RCVD_IN_DNSWL_NONE, RCVD_IN_MSPIKE_H2, SPF_HELO_NONE, SPF_NEUTRAL, TXREP autolearn=ham autolearn_force=no version=3.4.2 X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on server2.sourceware.org X-BeenThere: cygwin-developers@cygwin.com X-Mailman-Version: 2.1.29 Precedence: list List-Id: Cygwin core component developers mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 19 Feb 2021 18:24:53 -0000 On Feb 18 14:09, Corinna Vinschen via Cygwin-developers wrote: > On Feb 18 12:46, David Macek via Cygwin-developers wrote: > > Thank you for diagnosing. > > > > > > This isn't realpath's fault. You're circumventing the mount point > > > > handling > > > > It was not my intention. :) It's just due to my sharing scripts and > > configurations between various machines (with varying disk layouts and > > sizes), I sometimes need to use links to work around things. > > > > [...] > > > > > I just wonder if such a bordercase is worth the extra performance hit > > > for each Cygwin invocation. > > > > Of course I'd like to see it resolved, but I don't remember any > > non-cosmetic issue caused by it, *so far*. Is there an estimate of > > how big of a slow-down the fix causes? > > No, somebody would have to test this. Probably it's not that much... I pushed the patch. New snapshots are in the works, should only take a couple of minutes. Corinna