Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT sourceware DOT cygnus DOT com Delivered-To: mailing list cygwin AT sourceware DOT cygnus DOT com Message-Id: From: "Ulrich Jakobus" To: "cygwin AT sourceware DOT cygnus DOT com" Date: Fri, 09 Jun 2000 11:24:12 +0200 Reply-To: "Ulrich Jakobus" X-Mailer: PMMail 2000 Professional (2.10.2010) For Windows NT (4.0.1381;6) MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit 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 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