WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-devel

[Xen-devel] [PATCH 2 of 3] libxl: correct indentation of _libxl_types.c

To: xen-devel@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-devel] [PATCH 2 of 3] libxl: correct indentation of _libxl_types.c
From: Ian Campbell <ian.campbell@xxxxxxxxxx>
Date: Fri, 27 Aug 2010 16:32:31 +0100
Cc: Ian Campbell <ian.campbell@xxxxxxxxxx>
Delivery-date: Fri, 27 Aug 2010 08:36:01 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <patchbomb.1282923149@xxxxxxxxxxxxxxxxxxxxx>
List-help: <mailto:xen-devel-request@lists.xensource.com?subject=help>
List-id: Xen developer discussion <xen-devel.lists.xensource.com>
List-post: <mailto:xen-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
# HG changeset patch
# User Ian Campbell <ian.campbell@xxxxxxxxxx>
# Date 1282922856 -3600
# Node ID 228640a1efbb120939de2718e7a6c997cac2880f
# Parent  75a3469cfac671cbf0271527d245e29b34b0e60f
libxl: correct indentation of _libxl_types.c

Signed-off-by: Ian Campbell <ian.campbell@xxxxxxxxxx>

diff -r 75a3469cfac6 -r 228640a1efbb tools/libxl/gentypes.py
--- a/tools/libxl/gentypes.py   Fri Aug 27 16:27:36 2010 +0100
+++ b/tools/libxl/gentypes.py   Fri Aug 27 16:27:36 2010 +0100
@@ -159,7 +159,7 @@ if __name__ == '__main__':
         f.write("void %s(%s *p)\n" % (ty.destructor_fn, ty.typename))
         f.write("{\n")
         f.write(libxl_C_type_destroy(ty, "p", True))
-        f.write("\tmemset(p, LIBXL_DTOR_POISON, sizeof(*p));\n")
+        f.write("    memset(p, LIBXL_DTOR_POISON, sizeof(*p));\n")
         f.write("}\n")
         f.write("\n")
     f.close()

_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel