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: <42518ABD.6030107@yale.edu> Date: Mon, 04 Apr 2005 14:43:09 -0400 From: Michael Hines User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.3) Gecko/20040913 MIME-Version: 1.0 To: cygwin AT cygwin DOT com Subject: sscanf problem Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit The following program prints i=1 x=0 instead of i=0 x=10 when using the latest version of cygwin1.dll. #include int main() { int i; double x; x = 10; i = sscanf("n", "%lf", &x); printf("i=%d x=%g\n", i, x); return 0; } -Michael Hines -- 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/