X-Recipient: archive-cygwin AT delorie DOT com DomainKey-Signature: a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id :list-unsubscribe:list-subscribe:list-archive:list-post :list-help:sender:date:from:to:subject:message-id:reply-to :references:mime-version:content-type:in-reply-to; q=dns; s= default; b=x2VIyzqFdQ1tUIVZ+cEOYKR8PdR61z7bObF3s50VoLjDSBOqXb49z Qkz3IMWGW1gjUUbng8jxX4UsWQePjmckM4xwCQbwIv07Z2cHiQ5tK779Yb8ebtWB yTFSs7lTNSd7xVBuw+BBdNFgvjc8ZHsh8TWFAZKnh5c3M3nxvJopbE= DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id :list-unsubscribe:list-subscribe:list-archive:list-post :list-help:sender:date:from:to:subject:message-id:reply-to :references:mime-version:content-type:in-reply-to; s=default; bh=cO3mBt5NxiV2IdHJgatLhHlPHmM=; b=U4hEcZsl0GROTL+vYCXncYiid4Bf 7WRczrClwH1H10R8ECFJMP6ENRsCzsd/v+Mcs7YvmyNsAuFCTTuA3rGWl31uxVlp ursgBp+knjqgtH8aZIyepW5sDj32Q08Nvk6bq2Nyq4pS+5kLYmKtUUljlp8O9tvj QNbQSG8P1dVl8WI= Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com X-Spam-SWARE-Status: No, score=-0.6 required=5.0 tests=AWL,BAYES_05,RDNS_NONE,TW_SV autolearn=no version=3.3.1 Date: Thu, 18 Jul 2013 12:42:54 +0200 From: Corinna Vinschen To: cygwin AT cygwin DOT com Subject: Re: 1.7.21: Problem using svn accessing UNC network pathes Message-ID: <20130718104254.GF9628@calimero.vinschen.de> Reply-To: cygwin AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com References: <51E7B7B0 DOT 1060702 AT onevision DOT de> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: <51E7B7B0.1060702@onevision.de> User-Agent: Mutt/1.5.21 (2010-09-15) On Jul 18 11:38, Roland Schwingel wrote: > Hi... > > Today I updated my cygwin to version 1.7.21. Due to a bunch of > lockup problems I was previously sticking to 1.7.17. A short test > shows that the lockups appears to be solved (that are the good news > - thanks to all involved) - but I got a new problem now. Performing > a "svn st" on a subversion working copy residing on a UNC share is > broken now. > > I do get this error message: > svn: E0700008: Can't read directory '//server/share/path': Partial > results are valid but processing is incomplete. > > When I exchange cygwin1.dll with the one from 1.7.20 the svn st > command works as expected. > > So I did an strace with both cygwin1.dll versions (I attached the > outputs of both runs to this email in a tarball). > > svn_st_1720.txt contains the working trace when doing svn st on 1.7.20 > svn_st_1721.txt contains the output of my broken run on 1.7.21 > > The output is pretty much in sync up to line 824. It starts to differ > heavily in 825. In line 825 of svn_st_1721.txt it appears that maybe > in normalize_posix_path() a / too much is cut off from the beginning > of the unc path and it might mess up local and network pathes. > > BTW: I still have to run a self compiled version subversion 1.7.2 as > you can see from the strace logs. I recompiled it today freshly on > 1.7.21 but this does not make any change. > > Thanks for your help, Bug in the new code recognizing invalid path preceeding a ".." path component. It ignores one leading slash in case of UNC paths and so accidentally checks for /server/share/path rather than //server/share/path. I fixed that in CVS and I just generated new x86 and x86_64 snapshots. Please take your pick at http://cygwin.com/snapshots/ and report back if you still see problems with it. Thanks, Corinna -- Corinna Vinschen Please, send mails regarding Cygwin to Cygwin Maintainer cygwin AT cygwin DOT com Red Hat -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation: http://cygwin.com/docs.html Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple