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 Date: Tue, 30 Aug 2005 01:26:52 +0200 (MET DST) From: Angelo Graziosi To: cygwin AT cygwin DOT com Subject: Regression with snap-20050828 ? Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-PMX-Version: 4.7.1.128075, Antispam-Engine: 2.0.3.2, Antispam-Data: 2005.8.29.29 X-PerlMx-Spam: Gauge=IIIIIII, Probability=7%, Report='__C230066_P5 0, __CT 0, __CT_TEXT_PLAIN 0, __HAS_MSGID 0, __MIME_TEXT_ONLY 0, __MIME_VERSION 0, __SANE_MSGID 0, __STOCK_CRUFT 0' Some weeks ago, someone sends the following test programs that did not worked with the snap of that time: ------------------------------------------------------ /* test-strerror.c */ #include #include int main(int argc, char *argv[]) { char *s; s = strerror(-8); printf("strerror returned pointer %p\n", s); printf("string is \"%s\"\n", s); return 0; } ------------------------------------------------------ A new snap (I do not remember which) was released with which the result was: ____________________________________________________ $ ./test-strerror.exe strerror returned pointer 0x22fa08 string is "error -8" ____________________________________________________ This was the result until the snap 20050826. Now with snap 20050828 the result is: _______________________________________________________ $ ./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. Best regards, angelo. -- 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/