Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , 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 User-Agent: Mozilla Thunderbird 1.0.2 (Windows/20050317) MIME-Version: 1.0 To: Angelo Graziosi CC: cygwin AT cygwin DOT com Subject: Re: Regression with snap-20050828 ? References: In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit 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 , 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/