delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2002/11/28/00:34:08

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: Thu, 28 Nov 2002 00:34:30 -0500
From: Christopher Faylor <cgf-noreply AT cygwin DOT com>
To: cygwin AT cygwin DOT com
Subject: Re: ftell() bug
Message-ID: <20021128053430.GB29392@redhat.com>
Reply-To: cygwin AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
References: <000301c2969e$1bb1c6f0$0202a8c0 AT serge>
Mime-Version: 1.0
In-Reply-To: <000301c2969e$1bb1c6f0$0202a8c0@serge>
User-Agent: Mutt/1.5.1i

On Fri, Nov 22, 2002 at 10:53:56AM +0500, Serge P. Voronin wrote:
>I'm find a bug in ftell() while compiling with -mno-cygwin flag (see
>attachment).  If we compile program without -mno-cygwin flag, then no
>bug present.

Try compiling the program on linux or unix and see what you get.
You'll see that cygwin output from your program agrees with linux
or unix.  IMO, the windows runtime that Mingw (-mno-cygwin) uses
is wrong.  However, it doesn't really matter.  Cygwin adheres to
UNIX conventions.

Btw, in the future it would be better to 1) include your test case
as text.  There is no reason to encode a text file.  2) describe
your problem rather than asking others to infer it.

cgf
--
Please do not send me personal email with cygwin questions or observations.
Use the resources at http://cygwin.com/ .

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Bug reporting:         http://cygwin.com/bugs.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