]> git.ipfire.org Git - ipfire-2.x.git/commit
json-c: Update to version 0.17
authorAdolf Belka <adolf.belka@ipfire.org>
Sun, 27 Aug 2023 10:17:38 +0000 (12:17 +0200)
committerMichael Tremer <michael.tremer@ipfire.org>
Tue, 29 Aug 2023 09:51:28 +0000 (09:51 +0000)
commitdf80b0d554ea2124426b320ad28ae4c047446cb1
tree06892a67a0d1a4cf6ac94667198b9f6d53ac7f0f
parentc8edf45e3ef612de6a035ec8fd88cb7f2459e19a
json-c: Update to version 0.17

- Update from version 0.16 to 0.17
- Update of rootfile
- Changelog
    0.17 (up to commit 077661f, 2023-08-08)
Deprecated and removed features:
* None
New features
* json_patch: add first implementation only with patch application
* Add --disable-static and --disable-dynamic options to the cmake-configure
  script.
* Add -DBUILD_APPS=NO option to disable app build
* Minimum cmake version is now 3.9
Significant changes and bug fixes
* When serializing with JSON_C_TO_STRING_PRETTY set, keep the opening and
  closing curly or square braces on same line for empty objects or arrays.
* Disable locale handling when targeting a uClibc system due to problems
  with its duplocale() function.
* When parsing with JSON_TOKENER_STRICT set, integer overflow/underflow
  now result in a json_tokener_error_parse_number.  Without that flag
  values are capped at INT64_MIN/UINT64_MAX.
* Fix memory leak with emtpy strings in json_object_set_string
* json_object_from_fd_ex: fail if file is too large (>=INT_MAX bytes)
* Add back json_number_chars, but only because it's part of the public API.
* Entirely drop mode bits from open(O_RDONLY) to avoid warnings on certain
  platforms.
* Specify dependent libraries, including -lbsd, in a more consistent way so
  linking against a static json-c works better
* Fix a variety of build problems and add & improve tests
* Update RFC reference to https://www.rfc-editor.org/rfc/rfc8259

Signed-off-by: Adolf Belka <adolf.belka@ipfire.org>
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
config/rootfiles/common/json-c
lfs/json-c