delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2003/03/07/04:43:58

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: Fri, 7 Mar 2003 10:43:43 +0100
From: Corinna Vinschen <corinna-cygwin AT cygwin DOT com>
To: cygwin AT cygwin DOT com
Subject: Re: Finishing large file support?
Message-ID: <20030307094342.GY1193@cygbert.vinschen.de>
Reply-To: cygwin AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
References: <Pine DOT GSO DOT 4 DOT 44 DOT 0303061515060 DOT 2707-100000 AT eos> <Pine DOT GSO DOT 4 DOT 44 DOT 0303061547080 DOT 2707-100000 AT eos>
Mime-Version: 1.0
In-Reply-To: <Pine.GSO.4.44.0303061547080.2707-100000@eos>
User-Agent: Mutt/1.4i

On Thu, Mar 06, 2003 at 03:47:59PM -0600, Brian Ford wrote:
> >From searching the archives more, it looks to me like the major hold up
> for this was newlib.  But, it appears to me that newlib now has 64 bit
> stdio support.  How is this not sufficient?

It will require some work, that's it.  The goal was to switch to 64bit
file access w/o having two sets of functions, e.g. fopen(), fopen64().
Instead, Cygwin should switch to 64bit file access at one point while
still being backward compatible.  Old apps using the 32bit functions
should still run while fresh compiled apps are using 64bit access
automatically.  This could be done by defining the stdio64 functions
as default functions for new apps - an application calling fopen() will
transparently call fopen64().

However, there's a problem here with fork().  If a 32bit application
calls a 64bit app or vice versa, the stdio structure isn't quite the
same.  Well... something to investigate.

If you really want to help, let's discuss how to proceed.  I would be
very glad to have somebody looking into this issue as well.

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