Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[dsdp-tcf-dev] [Bug 313521] New: Patch for skipping floats

https://bugs.eclipse.org/bugs/show_bug.cgi?id=313521 
Product/Component: Target Management / TCF

           Summary: Patch for skipping floats
    Classification: DSDP
           Product: Target Management
           Version: 3.2
          Platform: PC
        OS/Version: Windows XP
            Status: NEW
          Severity: normal
          Priority: P3
         Component: TCF
        AssignedTo: dsdp.tm.tcf-inbox@xxxxxxxxxxx
        ReportedBy: ed.swartz@xxxxxxxxx
         QAContact: martin.oberhuber@xxxxxxxxxxxxx


Created an attachment (id=169108)
 --> (https://bugs.eclipse.org/bugs/attachment.cgi?id=169108)
patch against rev 974

In json.c#skip_object(), floats are not handled and cause JSON invalid syntax 
exceptions.  This patch handles the issue.  

(Note, it uses the same pattern as json_read_double, where ordering of the
'.'/'e'/'E'/'+'/'-' characters is ignored, though there is no strtod() to
validate.  I can provide a more correct version if needed.)

-- 
Configure bugmail: https://bugs.eclipse.org/bugs/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are watching the assignee of the bug.


Back to the top