public inbox for cygwin@cygwin.com
 help / color / mirror / Atom feed
From: Christopher Faylor <cgf-use-the-mailinglist-please@cygwin.com>
To: cygwin@cygwin.com
Subject: Re: Fwd: Cygwin64: errno.h error values
Date: Fri, 03 May 2013 01:14:00 -0000	[thread overview]
Message-ID: <20130503010717.GB677@ednor.casa.cgf.cx> (raw)
In-Reply-To: <CAO1jNwuuVwEcbDmGY=rZjm5i=AiQCxO=zhxGkkt1ekc=owdaOQ@mail.gmail.com>

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

  reply	other threads:[~2013-05-03  1:14 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <CAO1jNwt9oiarAt5A3Stn46b-shTFTwgCm0kioxjiHt_j1u-uww@mail.gmail.com>
2013-05-02 20:14 ` Jan Nijtmans
2013-05-03  1:14   ` Christopher Faylor [this message]
2013-05-03  6:25     ` problems with installing cygwin on windows 7 Piotr Cieplak
2013-05-03  7:03       ` 1xx
2013-05-03  7:44       ` Csaba Raduly
2013-05-03 15:48         ` Christopher Faylor
2013-05-03 16:27           ` Ryan Johnson
2013-05-03 18:28       ` Alan Thompson
2013-05-03 19:03         ` Ryan Johnson
2013-05-03 21:43           ` Alan Thompson
2013-05-03  7:22 Fwd: Cygwin64: errno.h error values Jan Nijtmans

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20130503010717.GB677@ednor.casa.cgf.cx \
    --to=cgf-use-the-mailinglist-please@cygwin.com \
    --cc=cygwin@cygwin.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).