delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin-developers/2003/01/22/10:58:01

Mailing-List: contact cygwin-developers-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-developers-subscribe AT cygwin DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin-developers/>
List-Post: <mailto:cygwin-developers AT cygwin DOT com>
List-Help: <mailto:cygwin-developers-help AT cygwin DOT com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-developers-owner AT cygwin DOT com
Delivered-To: mailing list cygwin-developers AT cygwin DOT com
Date: Wed, 22 Jan 2003 16:57:57 +0100
From: Corinna Vinschen <vinschen AT redhat DOT com>
To: cygwin-developers AT cygwin DOT com
Subject: Re: setregid() and setreuid() implementation proposal
Message-ID: <20030122155757.GA16081@cygbert.vinschen.de>
Reply-To: cygwin-developers AT cygwin DOT com
Mail-Followup-To: cygwin-developers AT cygwin DOT com
References: <20030117120131 DOT GF1142 AT cygbert DOT vinschen DOT de> <20030116190119 DOT GD820 AT tishler DOT net> <20030117120131 DOT GF1142 AT cygbert DOT vinschen DOT de> <3 DOT 0 DOT 5 DOT 32 DOT 20030121202701 DOT 007db4f0 AT mail DOT attbi DOT com> <20030122014007 DOT GA23365 AT redhat DOT com> <20030122102919 DOT GA29236 AT cygbert DOT vinschen DOT de> <20030122154704 DOT GE4903 AT redhat DOT com>
Mime-Version: 1.0
In-Reply-To: <20030122154704.GE4903@redhat.com>
User-Agent: Mutt/1.4i

On Wed, Jan 22, 2003 at 10:47:04AM -0500, Christopher Faylor wrote:
> On Wed, Jan 22, 2003 at 11:29:19AM +0100, Corinna Vinschen wrote:
> >Hmm, I was trying to avoid that but I'm not getting to change newlib
> >for the necessary fpos_t changes.  And, honestly, I hate digging in
> >newlib. 
> 
> I forget what the problem is here.  Couldn't we just define fpos_t to
> be 64 bits?

We need 32 and 64 bit versions to support old and newly build apps,
same as off_t.  Another problem is that off_t is used in the FILE
struct :-P

> >					    1.5.0
> 
> Yes, as I was drifting off to sleep last night, I realized that I'd
> awake to just this correction from you.  :-)

Yeah, and I woke up this morning with pedantic mode switched on
so I couldn't resist ;-)

> Maybe the best plan would be to keep the 1.3.* branch around and start
> making drastic changes to 1.5.*.  The first checkin could be device
> handling, since that is nearly ready.  Then we could add 32/64 bit
> support.  Eventually, around 1.5.8 or so, we could make 1.5 the latest
> release and trask 1.3.*

May I dream?  Let's break binary compatibility with 1.3 and switch
over to 64 bit off_t/fpos_t etc and 32bit uid_t/gid_t once and for all.
No big chnanges to newlib needed then.  We could get rid of all
func32/func64 function pairs... sounds like holiday on Hawaii.

Corinna

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

- Raw text -


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