delorie.com/archives/browse.cgi | search |
Mailing-List: | contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm |
List-Subscribe: | <mailto:cygwin-subscribe AT sourceware DOT cygnus DOT com> |
List-Archive: | <http://sourceware.cygnus.com/ml/cygwin/> |
List-Post: | <mailto:cygwin AT sourceware DOT cygnus DOT com> |
List-Help: | <mailto:cygwin-help AT sourceware DOT cygnus DOT com>, <http://sourceware.cygnus.com/ml/#faqs> |
Sender: | cygwin-owner AT sourceware DOT cygnus DOT com |
Delivered-To: | mailing list cygwin AT sourceware DOT cygnus DOT com |
Message-Id: | <m130L27-003y4CC@smtp.web.de> |
From: | "Ulrich Jakobus" <u DOT jakobus AT web DOT de> |
To: | "cygwin AT sourceware DOT cygnus DOT com" <cygwin AT sourceware DOT cygnus DOT com> |
Date: | Fri, 09 Jun 2000 11:24:12 +0200 |
Reply-To: | "Ulrich Jakobus" <u DOT jakobus AT web DOT de> |
X-Mailer: | PMMail 2000 Professional (2.10.2010) For Windows NT (4.0.1381;6) |
MIME-Version: | 1.0 |
Subject: | cygwin-1.1.2: printf("%e") broken |
Hello, having updated to cygwin-1.1.2, I now experience the following problem that printf("%e") seems to be broken: - very small C program printf_bug.c: #include <stdio.h> int main() { double d=0.0; printf ("%f %e\n", d, d); } - compile as "gcc -o printf_bug printf_bug.c" - executing the file printf_bug.exe using cygwin1.dll version 1.1.2(0.21/3/2) 2000-06-06 22:20 results in the corrupt output 0.000000 0. e+00 (in hex, the output of %e is 30 2e 00 8d b6 00 00 00 65 2b 30 30) - if, however, I replace the file cygwin\bin\cygwin1.dll by the version 1.1.0(0.17/3/2) 2000-03-01 00:15:19 then executing the file printf_bug.exe (no recompilation, just cygwin1.dll exchanged) results in the correct output 0.000000 0.000000e+00 (in hex, the output of %e is 30 2e 30 30 30 30 30 30 65 2b 30 30) Any ideas? Ulrich -- Want to unsubscribe from this list? Send a message to cygwin-unsubscribe AT sourceware DOT cygnus DOT com
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |