X-Recipient: archive-cygwin@delorie.com
DomainKey-Signature: a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id
	:list-unsubscribe:list-subscribe:list-archive:list-post
	:list-help:sender:date:from:to:subject:message-id:reply-to
	:references:mime-version:content-type:in-reply-to; q=dns; s=
	default; b=knWZOKPXLgRXI+WcWmC5TK1SwKiahIOdudzfNbYqM247Fq0lNRm9o
	QEUWLPHnlL+9mv8ix8rBJ3gBD/emC5dkWGu7er8BL0ExBX+OxUhKuPiiOjF4YDWS
	kqx/+cvhkqPu+ztUuuUBzzjFo07ZXPSbqs3s8KRu17RBBm/L6rGKO8=
DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id
	:list-unsubscribe:list-subscribe:list-archive:list-post
	:list-help:sender:date:from:to:subject:message-id:reply-to
	:references:mime-version:content-type:in-reply-to; s=default;
	 bh=+Q64f8fG/kDUVxZtyhiLq8CEiLc=; b=NNFATU/Q9vbqNY8oajnLZl72hWwi
	KAkJvrARt7GVnvzhxlOMYpDkWvlub55NVX2ZgWe4eRaQd7tS1zYzuZ2zPQmwK2SO
	xNGQY4c61Bf9+gZX83YTMyNwSdtqVeu+7wmJpX3bYbKtjRd+kUIBYQpfth9ZZrCh
	kHSIVvV9gEqNIfI=
Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
List-Id: <cygwin.cygwin.com>
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
X-Spam-SWARE-Status: No, score=-0.9 required=5.0 tests=AWL,BAYES_00,RCVD_IN_DNSWL_NONE,RCVD_IN_HOSTKARMA_YE,RCVD_IN_SEMBACKSCATTER autolearn=no version=3.3.1
X-Mail-Handler: Dyn Standard SMTP by Dyn
X-Report-Abuse-To: abuse@dyndns.com (see http://www.dyndns.com/services/sendlabs/outbound_abuse.html for abuse reporting information)
X-MHO-User: U2FsdGVkX18jGSy9ThHdtYYPwG5wig+G
Date: Thu, 2 May 2013 21:07:17 -0400
From: Christopher Faylor <cgf-use-the-mailinglist-please@cygwin.com>
To: cygwin@cygwin.com
Subject: Re: Fwd: Cygwin64: errno.h error values
Message-ID: <20130503010717.GB677@ednor.casa.cgf.cx>
Reply-To: cygwin@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
References: <CAO1jNwt9oiarAt5A3Stn46b-shTFTwgCm0kioxjiHt_j1u-uww@mail.gmail.com> <CAO1jNwuuVwEcbDmGY=rZjm5i=AiQCxO=zhxGkkt1ekc=owdaOQ@mail.gmail.com>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
In-Reply-To: <CAO1jNwuuVwEcbDmGY=rZjm5i=AiQCxO=zhxGkkt1ekc=owdaOQ@mail.gmail.com>
User-Agent: Mutt/1.5.20 (2009-06-14)

On Thu, May 02, 2013 at 10:14:33PM +0200, Jan Nijtmans wrote:
>Hi all,
>
>Comparing errno.h from cygwin with the ones from mingw(-64) and VS10, the first
>ones on the list have equal values, but later on values are diverging. I already
>reported that to the mingw-w64 people, and they adapted the list making
>it the same as VS10. See:
>    <http://sourceforge.net/tracker/?func=detail&atid=983354&aid=3448042&group_id=202880>
>
>Cygwin apparently started with initial values of some early Visual
>Studio, and added
>the missing ones, using succeeding values. Having different values in Cygwin and
>MS might cause unexpected problems: every time when transferring error-codes
>between some MS dll and cygwin, proper translation must be done between the
>two domains when the error-codes are different.

We make ABSOLUTELY no guarantees that our errnos will match any other
system's.  You can't expect that you will be able to use Cygwin errno's
in pure Windows applications.  We really don't care if our errnos match
those of Windows.  Sorry.

cgf

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

