delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2003/05/26/10:14:55

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sources.redhat.com/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
Date: Mon, 26 May 2003 16:13:11 +0200
From: Corinna Vinschen <corinna-cygwin AT cygwin DOT com>
To: cygwin AT cygwin DOT com
Subject: Re: Behavior of stat() changed from NT to Win2000/XP
Message-ID: <20030526141311.GK875@cygbert.vinschen.de>
Reply-To: cygwin AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
References: <20030526135811 DOT GK4032 AT bitstream DOT com>
Mime-Version: 1.0
In-Reply-To: <20030526135811.GK4032@bitstream.com>
User-Agent: Mutt/1.4.1i

On Mon, May 26, 2003 at 09:58:11AM -0400, Peter Davis wrote:
> On Windows NT, the Cygwin stat function returns a non-zero value in
> the st_size field when called on a directory.  However, in Windows
> 2000 and Windows XP, this same function returns 0 for st_size for a
> directory.  This change in behavior has broken some features of mutt,
> and possible other programs as well.
> [...]
> Is there some Cygwin setting or configuration option that controls
> this? 

That's Windows, actually.  This value is returned for directories
by the FindFile routines.  Nothing we can do about it.  However, if
mutt depends on the st_size of a directory, that's a problem in mutt.

Corinna

-- 
Corinna Vinschen                  Please, send mails regarding Cygwin to
Cygwin Developer                                mailto:cygwin AT cygwin DOT com
Red Hat, Inc.

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

- Raw text -


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