X-Recipient: archive-cygwin@delorie.com
X-SWARE-Spam-Status: No, hits=-1.2 required=5.0	tests=AWL,BAYES_00,RCVD_IN_DNSWL_NONE
X-Spam-Check-By: sourceware.org
X-Yahoo-SMTP: Uu383n6swBCEN1G9up0WSnxbvN8fCPmk
Message-ID: <4D2C7982.9040004@cygwin.com>
Date: Tue, 11 Jan 2011 10:38:42 -0500
From: "Larry Hall \(Cygwin\)" <reply-to-list-only-lh@cygwin.com>
Reply-To: cygwin@cygwin.com
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.8.1.21) Gecko/20090320 Remi/2.0.0.21-1.fc8.remi Lightning/0.9 Thunderbird/2.0.0.21 Mnenhy/0.7.5.0
MIME-Version: 1.0
To: cygwin@cygwin.com
Subject: Re: Strange fstatat / stat behavour on directories causing tar "file changed as we read it" error
References: <3501944D149644D394474781054F5E98@multiplay.co.uk> <4D2783A3.5000008@redhat.com> <D43AAA42D53E47AF958054385DAEFB50@multiplay.co.uk> <4D27C896.30202@cygwin.com> <265F601A437E4A03BE8C665BE7470721@multiplay.co.uk> <4D27D66F.8030201@cygwin.com> <4D28F1AC.1070907@laposte.net> <20110111095435.GF3413@calimero.vinschen.de>
In-Reply-To: <20110111095435.GF3413@calimero.vinschen.de>
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
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

On 1/11/2011 4:54 AM, Corinna Vinschen wrote:

<snip>

> I can not reproduce the effect, at least not on W7, but apparently it
> happens on some systems.  So, given that the directory size is
> irrelevant for all practical purposes anyway, and given that there's no
> application which has problems with a directory size of 0, should Cygwin
> just always set st_size to 0 for directories?  Independent of the
> underlying FS?

That sounds reasonable to me.  It replicates what I see now anyway. ;-)

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

