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: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 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=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: cygwin AT cygwin DOT 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 AT cygwin DOT com Subject: Re: cp "skipping file ..., as it was replaced while being copied References: <1846269758 DOT 20130329193140 AT mtu-net DOT ru> In-reply-to: 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