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

[Xen-changelog] [PATCH] [PATCH] Increase size of sxpr parser input buffer



ChangeSet 1.1848, 2005/05/08 09:37:12+01:00, lists-xen@xxxxxxxx

        [PATCH] [PATCH] Increase size of sxpr parser input buffer
        
        Increase the size of the sxpr parser input buffer from 1024 characters, 
which
        isn't long enough to hold larger domain configurations (xfrd transmits 
the
        entire domain config sxpr as a single atom inside of another sxpr).
        
        Signed-off-by: Jody Belka <knew (dash) xen (at) pimb (dot) org>



 sxpr_parser.h |    2 +-
 1 files changed, 1 insertion(+), 1 deletion(-)


diff -Nru a/tools/libxutil/sxpr_parser.h b/tools/libxutil/sxpr_parser.h
--- a/tools/libxutil/sxpr_parser.h      2005-05-08 05:05:55 -04:00
+++ b/tools/libxutil/sxpr_parser.h      2005-05-08 05:05:55 -04:00
@@ -28,7 +28,7 @@
 /** Size of a parser input buffer.
  * Tokens read must fit into this size (including trailing null).
  */
-#define PARSER_BUF_SIZE 1024
+#define PARSER_BUF_SIZE 4096
 
 struct Parser;
 typedef int ParserStateFn(struct Parser *, char c);

_______________________________________________
Xen-changelog mailing list
Xen-changelog@xxxxxxxxxxxxxxxxxxx
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®.