delorie.com/archives/browse.cgi | search |
Mailing-List: | contact cygwin-help AT cygwin DOT com; run by ezmlm |
List-Subscribe: | <mailto:cygwin-subscribe AT cygwin DOT com> |
List-Archive: | <http://sourceware.org/ml/cygwin/> |
List-Post: | <mailto:cygwin AT cygwin DOT com> |
List-Help: | <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs> |
Sender: | cygwin-owner AT cygwin DOT com |
Mail-Followup-To: | cygwin AT cygwin DOT com |
Delivered-To: | mailing list cygwin AT cygwin DOT com |
Message-ID: | <4313CD6F.1070804@byu.net> |
Date: | Mon, 29 Aug 2005 21:07:27 -0600 |
From: | Eric Blake <ebb9 AT byu DOT net> |
User-Agent: | Mozilla Thunderbird 1.0.2 (Windows/20050317) |
MIME-Version: | 1.0 |
To: | Angelo Graziosi <Angelo DOT Graziosi AT roma1 DOT infn DOT it> |
CC: | cygwin AT cygwin DOT com |
Subject: | Re: Regression with snap-20050828 ? |
References: | <Pine DOT OSF DOT 4 DOT 21 DOT 0508300116370 DOT 4241-100000 AT ax0rm1 DOT roma1 DOT infn DOT it> |
In-Reply-To: | <Pine.OSF.4.21.0508300116370.4241-100000@ax0rm1.roma1.infn.it> |
X-IsSubscribed: | yes |
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 According to Angelo Graziosi on 8/29/2005 5:26 PM: > $ ./test-strerror.exe > strerror returned pointer 0x22fa00 > string is "Unknown error 4294967288" > > _______________________________________________________ > > Perhaps, this is not a regression but only a change in cygwin behaviour. Hmm - POSIX does say that strerror "shall map any value of type int to a message", and not unsigned int, so it would seem better if cygwin didn't convert to unsigned. On the other hand, it is allowed to set errno to EINVAL if errnum was not a valid error from <errno.h>, at which point cygwin is in its right to print any message whatsoever (as long as it is a message). So it is debatable whether this is a regression or a conscious design decision. - -- Life is short - so eat dessert first! Eric Blake ebb9 AT byu DOT net -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.1 (Cygwin) Comment: Public key at home.comcast.net/~ericblake/eblake.gpg Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org iD8DBQFDE81v84KuGfSFAYARAmJ1AJ9CXDxpDHbTsU4y+Uu+WsbbXCHEdwCfaPRi pLA2jQmrL4Gh1ho6RxbyQjY= =4gJ3 -----END PGP SIGNATURE----- -- 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/
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |