PR# 13872 Format %lf should be changed to %f in printf family of calls in runtime

Problem Report Summary
Submitter: prestoat2000
Category: Runtime
Priority: Medium
Date: 2008/01/09
Class: Bug
Severity: Non-critical
Number: 13872
Release: 6.2.71802
Confidential: No
Status: Closed
Responsible:
Environment: Mozilla/5.0 (X11; U; SunOS sun4u; en-US; rv:1.8.0.7) Gecko/20060915 Firefox/1.5.0.7 Solaris 9 on SPARC
Synopsis: Format %lf should be changed to %f in printf family of calls in runtime

Description
In C89, format specifier using format specifier "%lf" to printf/fprintf/sprintf
results in undefined behavior.  In C99, the "l" has no effect.  So format
specifiers "%lf" should be changed to "%f" in all printf family calls in
Src/C directory tree.  Note that "%lf" is meaningful in scanf family calls
and its uses in these calls in the runtime are correct.

Reference:

   http://groups.google.com/group/comp.lang.c/browse_thread/thread/3eecd692809d1620
To Reproduce

										
Problem Report Interactions
From:alexk_es    Date:2009/08/20    Status: Closed    Download   
Fixed in rev#80355 of EiffelStudio 6.5 intermediate release.