From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mx1.redhat.com (mx1.redhat.com [209.132.183.28]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ml01.01.org (Postfix) with ESMTPS id 9801E81EEA for ; Thu, 17 Nov 2016 08:06:33 -0800 (PST) Received: from int-mx14.intmail.prod.int.phx2.redhat.com (int-mx14.intmail.prod.int.phx2.redhat.com [10.5.11.27]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mx1.redhat.com (Postfix) with ESMTPS id 6C6242549; Thu, 17 Nov 2016 16:06:38 +0000 (UTC) Received: from lacos-laptop-7.usersys.redhat.com (ovpn-116-6.phx2.redhat.com [10.3.116.6]) by int-mx14.intmail.prod.int.phx2.redhat.com (8.14.4/8.14.4) with ESMTP id uAHG6add024891; Thu, 17 Nov 2016 11:06:37 -0500 To: Bruce Cran , "edk2-devel (edk2-devel@lists.01.org)" References: <47cd17d8-f022-6ca5-2f52-06a8250f8d14@cran.org.uk> <886a3cc4-3dcb-db33-cc74-cbe4c6714d09@cran.org.uk> Cc: "Wu, Hao A" , "Ni, Ruiyu" , "Gao, Liming" From: Laszlo Ersek Message-ID: Date: Thu, 17 Nov 2016 17:06:36 +0100 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.4.0 MIME-Version: 1.0 In-Reply-To: <886a3cc4-3dcb-db33-cc74-cbe4c6714d09@cran.org.uk> X-Scanned-By: MIMEDefang 2.68 on 10.5.11.27 X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.5.16 (mx1.redhat.com [10.5.110.30]); Thu, 17 Nov 2016 16:06:38 +0000 (UTC) Subject: Re: OVMF: cross-filesystem copy broken? ("The source and destination are the same") X-BeenThere: edk2-devel@lists.01.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: EDK II Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 17 Nov 2016 16:06:33 -0000 Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: 7bit On 11/17/16 16:24, Bruce Cran wrote: > On 11/17/2016 2:35 AM, Laszlo Ersek wrote: > >> There's a patch on the list for said BZ: >> [edk2] [PATCH v2] API PathRemoveLastItem not handle root paths properly >> >> so if the BZ is indeed what you're encountering, then the patch should >> fix it for you. Can you please test it and report back in that thread? > > Unfortunately the patch doesn't fix the problem I'm seeing. > Thanks for trying it. Unfortunately, I can't find the time to dig into this now. And, I think it's likely related to ShellPkg anyway. Can you please help by filing a BZ for ShellPkg, and/or bisecting the issue (assuming you remember the same command working at some point)? ... I observe that the least recent commit that affected "Cp.c" with any potential to break it like this could be commit fbd2dfadfe6fb16ab7b49fca3764e05e65d97b8a Author: Qiu Shumin Date: Fri Oct 23 02:03:20 2015 +0000 ShellPkg: Follow spec to remove the last '\' char in return name of GetCurDir(). but that commit is more than a year old now... So I'm not sure. Could be one of the underlying helper functions. Time to pull out GDB and single step the code? :) Thanks! Laszlo