To comment on the following update, log in, then open the issue:
http://www.openoffice.org/issues/show_bug.cgi?id=114840
                 Issue #|114840
                 Summary|rtl_math_string/uStringToDouble error handling deviate
                        |s from strtod
               Component|porting
                 Version|current
                Platform|All
                     URL|
              OS/Version|All
                  Status|NEW
       Status whiteboard|
                Keywords|
              Resolution|
              Issue type|DEFECT
                Priority|P3
            Subcomponent|code
             Assigned to|sb
             Reported by|sb





------- Additional comments from s...@openoffice.org Wed Sep 29 20:13:11 +0000 
2010 -------
With C99 strtod(const char * restrict nptr, char ** restrict endptr), if the 
nptr string does not contain an 
appropriate subsequence for conversion, *endptr is always set to nptr, even if 
there is leading whitespace 
in the string (see section 7.20.1.3 of the C99 standard).  With 
rtl_math_stringToDouble and 
rtl_math_uStringToDouble, the corresponding *pParsedEnd would instead point 
past the initial whitespace.  
This is apparently an unintended deviation from the strtod behavior, on which 
these functions are modeled, 
as stated.

---------------------------------------------------------------------
Please do not reply to this automatically generated notification from
Issue Tracker. Please log onto the website and enter your comments.
http://qa.openoffice.org/issue_handling/project_issues.html#notification

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscr...@porting.openoffice.org
For additional commands, e-mail: issues-h...@porting.openoffice.org


---------------------------------------------------------------------
To unsubscribe, e-mail: allbugs-unsubscr...@openoffice.org
For additional commands, e-mail: allbugs-h...@openoffice.org

Reply via email to