Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.com
Date: Fri, 26 Aug 2005 11:49:54 +0200
From: Corinna Vinschen <corinna-cygwin@cygwin.com>
To: cygwin@cygwin.com
Cc: Samuel Thibault <samuel.thibault@ens-lyon.org>, dave@mielke.cc
Subject: Re: perennity of cygwin_internal(CW_GET_ERRNO_FROM_WINERROR,err)
Message-ID: <20050826094954.GA21899@calimero.vinschen.de>
Reply-To: cygwin@cygwin.com
Mail-Followup-To: cygwin@cygwin.com, 	Samuel Thibault <samuel.thibault@ens-lyon.org>, dave@mielke.cc
References: <20050825224350.GT7662@bouh.ens-lyon.fr> <20050826090521.GA21203@calimero.vinschen.de> <20050826091351.GN5542@implementation.labri.fr>
Mime-Version: 1.0
Content-Type: text/plain; charset=iso-8859-1
Content-Disposition: inline
Content-Transfer-Encoding: 8bit
In-Reply-To: <20050826091351.GN5542@implementation.labri.fr>
User-Agent: Mutt/1.4.2i

On Aug 26 11:13, Samuel Thibault wrote:
> Corinna Vinschen, le Fri 26 Aug 2005 11:05:21 +0200, a écrit :
> > On Aug 26 00:43, Samuel Thibault wrote:
> > > While writing a library for instance, we'd like
> > > to return appropriate errno values, and for this
> > > cygwin_internal(CW_GET_ERRNO_FROM_WINERROR,err) would be much useful.
> > > 
> > > Documentation says "Stay away unless you know what you're doing". Could
> > > it be removed some day, and hence we shouldn't use it?
> > 
> > What do you want?  Removal of the "Stay away" comment?
> 
> Oops no: as Dave told me, my sentence was ambiguous. I'm asking whether
> the cygwin_internal(CW_GET_ERRNO_FROM_WINERROR,err) call could be
> removed some day, so that people shouldn't use it.

No, we don't usually remove calls to not break backward compatibility.
In this special case, cygserver needs the CW_GET_ERRNO_FROM_WINERROR
call, too, so chances that this will ever get removed are roughly below
the freezing point of helium.


Corinna

-- 
Corinna Vinschen                  Please, send mails regarding Cygwin to
Cygwin Project Co-Leader          mailto:cygwin@cygwin.com
Red Hat, Inc.

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

