delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin-developers/2003/03/09/17:27:14

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: Sun, 9 Mar 2003 23:27:06 +0100
From: Corinna Vinschen <vinschen AT redhat DOT com>
To: cygwin-developers AT cygwin DOT com
Subject: HEADSUP everyone: 32/64bit changes are commited
Message-ID: <20030309222706.GS1193@cygbert.vinschen.de>
Reply-To: cygwin-developers AT cygwin DOT com
Mail-Followup-To: cygwin-developers AT cygwin DOT com
Mime-Version: 1.0
User-Agent: Mutt/1.4i

Hi,

the switch to 32bit uid/gid and 64bit off_t and all these other types
(fpos_t, dev_t, ...) is done in the repository.  The testsuite is still
working fine so I hope the damage isn't too bad.

All current apps still should run.  They are not able to access uids
and gids >= 65536 or files > 2Megs but otherwise nothing has changed
for them.

Newly compiled apps do access the new functions and use the new types,
assuming you copy all new headers (also from newlib!) into /usr/include
and the new libcygwin.a to /lib before building apps.

I'm locally running a 32/64 Cygwin DLL with new compiled tcsh, ssh and
sshd and everythings apparently ok.  ls still shows the wrong uids,
though ;-)

The cygserver changes are very likely not complete, so I'd like the
cygserver gang to have a look if something's missing.  As a brief rule,
don't use uid_t, gid_t and off_t but instead the internal types __uid32_t,
__gid_t and __off64_t.  Also, don't use getuid() or lseek() but instead
getuid32() and lseek64().


Just so that it's clear:  This is not 1.3.21!  But this will be in the next
version plus the still to come device handler changes from Chris.


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