json/json.patch

Tue, 28 Aug 2012 18:35:40 +0200

author
Michael Schloh von Bennewitz <michael@schloh.com>
date
Tue, 28 Aug 2012 18:35:40 +0200
changeset 575
6e491d7671a4
permissions
-rw-r--r--

Update version, modernize packaging, accommodate libevent version 2 opaque
evbuffer datatype, port Linux style flock(2) to SVR4, include correct
non BSD and non SVR4 headers in DNS and resolving logic, correctly
include a arc4random(3) implementation for platforms lacking it,
conditionally implement the nonstandard MIN(a,b) macro, and use
parallel make for faster SMP and multicore builds.

     1 Index: zzjson-1.1.0/src/zzjson_parse.c
     2 --- zzjson-1.1.0/src/zzjson_parse.c.orig	2009-08-16 02:49:38 +0200
     3 +++ zzjson-1.1.0/src/zzjson_parse.c	2009-11-18 19:49:55 +0100
     4 @@ -9,6 +9,7 @@
     5  #include <math.h>
     6  #include <stdio.h>
     8 +#undef getchar
     9  #define GETC()          config->getchar(config->ihandle)
    10  #define UNGETC(c)       config->ungetchar(c, config->ihandle)
    11  #define SKIPWS()        skipws(config)

mercurial