delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2001/02/20/13:56:34

Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT sources DOT redhat DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT sources DOT redhat DOT com>
List-Help: <mailto:cygwin-help AT sources DOT redhat DOT com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner AT sources DOT redhat DOT com
Delivered-To: mailing list cygwin AT sources DOT redhat DOT com
Date: Tue, 20 Feb 2001 18:18:42 +0000 (GMT)
From: Reuben Thomas <rrt1001 AT cam DOT ac DOT uk>
X-X-Sender: <rrt AT localhost DOT localdomain>
To: Earnie Boyd <cygwin AT cygwin DOT com>
Subject: Re: mingw > 20001111: fstat bug: buffer overflow?
In-Reply-To: <3A92A43D.7361155D@yahoo.com>
Message-ID: <Pine.LNX.4.33.0102201817390.1238-100000@localhost.localdomain>
MIME-Version: 1.0

> Which gcc version are you using?  There are different versions of the
> stat structure based on whether you are using CRTDLL or MSVCRT.  There
> is a bug in the specs file for gcc-2.95.2-7 in that __MSVCRT__ should be
> defined when -mno-cygwin is used.  The absence of this is what has
> caused your problem.

Merely #defining __MSVCRT__ in the right places doesn't help. I have to use
struct _stati64 and the _stati64 and _fstati64 functions explicitly to get
the right results. Perhaps there's something else going on? Or maybe I've
just misunderstood...

-- 
http://sc3d.org/rrt/ | Caution Children At Play Drive Slowly


--
Want to unsubscribe from this list?
Check out: http://cygwin.com/ml/#unsubscribe-simple

- Raw text -


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