delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2013/03/29/16:39:16

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: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
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-list-only-lh AT cygwin DOT com>
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: <CAP_ScW1ARAqsKF8yADP4ZRzkF1COCo9GRWjX=-kFrwOsM-aCmQ AT mail DOT gmail DOT com> <1846269758 DOT 20130329193140 AT mtu-net DOT ru> <CAP_ScW1LoTkB7KobeM+xufvhP7tazUPh9evK-0WMCXR9_DhPKg AT mail DOT gmail DOT com>
In-reply-to: <CAP_ScW1LoTkB7KobeM+xufvhP7tazUPh9evK-0WMCXR9_DhPKg@mail.gmail.com>

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

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019