[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Xen-changelog] [xen-unstable] libxl: Fix yajl-related build error due to missing error value



# HG changeset patch
# User Allen Kay <allen.m.kay@xxxxxxxxx>
# Date 1329756387 0
# Node ID 1f8ce25dc09897948ec8bf59f6f6d10979298413
# Parent  fda048a410767f2baaf44976339bf03388b2dde0
libxl: Fix yajl-related build error due to missing error value

Some versions of yajl lack yajl_gen_no_buf.

Signed-off-by: Allen Kay <allen.m.kay@xxxxxxxxx>
Tested-by: Konrad Rzeszutek Wilk <konrad.wilk@xxxxxxxxxx>
Acked-by: Ian Jackson <ian.jackson@xxxxxxxxxxxxx>
Committed-by: Ian Jackson <ian.jackson@xxxxxxxxxxxxx>
---


diff -r fda048a41076 -r 1f8ce25dc098 tools/libxl/libxl_json.c
--- a/tools/libxl/libxl_json.c  Mon Feb 20 16:29:19 2012 +0000
+++ b/tools/libxl/libxl_json.c  Mon Feb 20 16:46:27 2012 +0000
@@ -793,9 +793,9 @@
             return "generation complete";
         case yajl_gen_invalid_number:
             return "invalid number";
+#if 0 /* This is in the docs but not implemented in the version I am running. 
*/
         case yajl_gen_no_buf:
             return "no buffer";
-#if 0 /* This is in the docs but not implemented in the version I am running. 
*/
         case yajl_gen_invalid_string:
             return "invalid string";
 #endif

_______________________________________________
Xen-changelog mailing list
Xen-changelog@xxxxxxxxxxxxx
http://lists.xensource.com/xen-changelog


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.