minimum version of libjansson dependency

Andrew Bartlett abartlet at samba.org
Mon Oct 15 16:15:40 UTC 2018


On Mon, 2018-10-15 at 11:24 +0200, Philipp Gesang via samba-technical
wrote:
> 
> My current approach is to have compile time fallback for older
> jansson libs that boils down to json_loadf(fdopen(fd), …).
> 
> https://gitlab.com/phgsng/samba/commit/b14170a64abdd96f522c43b8f7f9f6855f803b88#a62507c370e52d9296eca2288f2c1346c95ed621_1106_1352
> 
> Internally jansson will traverse the input with stdio functions
> instead of read(2). This should be more efficient and robust than
> reading the entire contents up front, so I’d prefer this to
> become the default.

Sounds reasonable. 

Andrew Bartlett

-- 
Andrew Bartlett                       http://samba.org/~abartlet/
Authentication Developer, Samba Team  http://samba.org
Samba Developer, Catalyst IT          http://catalyst.net.nz/services/samba





More information about the samba-technical mailing list