Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 313521

Summary: [tcf] Patch for skipping floats
Product: [Tools] TCF Reporter: Ed Swartz <ed.swartz>
Component: CoreAssignee: Project Inbox <dsdp.tm.tcf-inbox>
Status: RESOLVED FIXED QA Contact: Martin Oberhuber <mober.at+eclipse>
Severity: normal    
Priority: P3 CC: cdtdoug, eugene
Version: unspecified   
Target Milestone: 0.3   
Hardware: PC   
OS: Windows XP   
Whiteboard:
Attachments:
Description Flags
patch against rev 974 eugene: iplog+

Description Ed Swartz CLA 2010-05-19 09:29:57 EDT
Created attachment 169108 [details]
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.)
Comment 1 Eugene Tarassov CLA 2010-05-19 11:36:16 EDT
I have committed the patch.

Thanks
Comment 2 Martin Oberhuber CLA 2010-05-28 14:08:53 EDT
Bulk update: Marking all TCF fixes from the Helios period (2009-06-29 until 2010-06-01) as target 3.2 since they go through release review along with the TM 3.2 release.
Comment 3 Doug Schaefer CLA 2011-05-17 10:48:10 EDT
Moving bugs to new home for IP log.
Comment 4 Martin Oberhuber CLA 2013-06-05 06:25:13 EDT
Bulk change: Marking all bugs from the TM era (until June 2011) target 0.3