X-Recipient: archive-cygwin@delorie.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:message-id:date:from:reply-to:mime-version:to
	:subject:references:in-reply-to:content-type
	:content-transfer-encoding; q=dns; s=default; b=ThZrBwuNZ3MtBLPW
	DcdrcOk0OuLlNbiP4RY+/wak3Ktdu95YjfruTS4t+9AlE9NqendsmHISNjmKV7ZZ
	GAUnRatlh+3NTSbHApTosC5zUvISq7CAhncoC+C+fiN3YBZmgBaRoeVL99gr/nG2
	fZ/KIEOdiAQwAJZMQnUzgKTSwcU=
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:message-id:date:from:reply-to:mime-version:to
	:subject:references:in-reply-to:content-type
	:content-transfer-encoding; s=default; bh=6pfBkO96qg4fq1nwRCpUPl
	WEXoM=; b=a9MVP6Nfp5i6YxUK1kgeipIzi2+rJZ9xBjHY5gLypLawYcLtC9l9iD
	mFmdToWIcczZdGo88dUhXZYU8CNSdX0y42gZf8vEAc9Vw9SyyQzLqDuTLdcMoonG
	Tv8H2Hxm0BQCjVdxhLqt+AP2SNNwZK2VpRnEru+QgESVhKm27a3gs=
Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.com
X-Spam-SWARE-Status: No, score=2.0 required=5.0 tests=AWL,BAYES_00,BOTNET,KHOP_THREADED,RCVD_IN_DNSWL_NONE,RCVD_IN_HOSTKARMA_NO,RCVD_IN_HOSTKARMA_YE autolearn=no version=3.3.1
Message-id: <5155FB50.1090709@cygwin.com>
Date: Fri, 29 Mar 2013 16:36:32 -0400
From: "Larry Hall (Cygwin)" <reply-to-list-only-lh@cygwin.com>
Reply-to: cygwin@cygwin.com
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:17.0) Gecko/20130307 Thunderbird/17.0.4
MIME-version: 1.0
To: cygwin@cygwin.com
Subject: Re: cp "skipping file ..., as it was replaced while being copied
References: <CAP_ScW1ARAqsKF8yADP4ZRzkF1COCo9GRWjX=-kFrwOsM-aCmQ@mail.gmail.com> <1846269758.20130329193140@mtu-net.ru> <CAP_ScW1LoTkB7KobeM+xufvhP7tazUPh9evK-0WMCXR9_DhPKg@mail.gmail.com>
In-reply-to: <CAP_ScW1LoTkB7KobeM+xufvhP7tazUPh9evK-0WMCXR9_DhPKg@mail.gmail.com>
Content-type: text/plain; charset=ISO-8859-1; format=flowed
Content-transfer-encoding: 7bit

On 3/29/2013 4:25 PM, Bill Priest wrote:
> #3 I saw lots of complaints and responses for requests for drive info;
> but I never saw an explanation of why this checking is being done.

I haven't looked at the code like you have but I believe this is to
avoid the case of the file being copied onto itself.

-- 
Larry

_____________________________________________________________________

A: Yes.
 > Q: Are you sure?
 >> A: Because it reverses the logical flow of conversation.
 >>> Q: Why is top posting annoying in email?

--
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

