Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 313521 - [tcf] Patch for skipping floats
Summary: [tcf] Patch for skipping floats
Status: RESOLVED FIXED
Alias: None
Product: TCF
Classification: Tools
Component: Core (show other bugs)
Version: unspecified   Edit
Hardware: PC Windows XP
: P3 normal (vote)
Target Milestone: 0.3   Edit
Assignee: Project Inbox CLA
QA Contact: Martin Oberhuber CLA
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-05-19 09:29 EDT by Ed Swartz CLA
Modified: 2013-06-05 06:25 EDT (History)
2 users (show)

See Also:


Attachments
patch against rev 974 (549 bytes, patch)
2010-05-19 09:29 EDT, Ed Swartz CLA
eugene: iplog+
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
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