json-c-0.14 stops providing TRUE/FALSE defines

Bug #1874224 reported by BenjaminBerg
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Firmware Test Suite
Fix Released
High
Colin Ian King

Bug Description

I was notified that json-c-0.14 does not provide TRUE/FALSE defines anymore, and instead only uses 1/0 directly.

In https://src.fedoraproject.org/rpms/fwts/c/2d53ef23970e there is a compatibility patch that provide the appropriate defines for newer json-c versions. I guess an alternative may be to stop using TRUE/FALSE throughout the code.

Revision history for this message
Colin Ian King (colin-king) wrote :

Thanks for the report, I'll use the patch attached but without the json C version check as it's fine to #define TRUE and FALSE what ever the version once we have the #if guards around the TRUE and FALSE.

Changed in fwts:
status: New → In Progress
importance: Undecided → High
assignee: nobody → Colin Ian King (colin-king)
Changed in fwts:
status: In Progress → Fix Committed
status: Fix Committed → In Progress
Alex Hung (alexhung)
Changed in fwts:
status: In Progress → Fix Committed
Changed in fwts:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.