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] gcc-4 fixes for xsls (i386)

To: xen-devel <xen-devel@xxxxxxxxxxxxxxxxxxx>
Subject: [Xen-devel] [PATCH] gcc-4 fixes for xsls (i386)
From: Anthony Liguori <aliguori@xxxxxxxxxx>
Date: Tue, 11 Oct 2005 10:58:47 -0500
Delivery-date: Tue, 11 Oct 2005 15:56:17 +0000
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
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/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Mozilla Thunderbird 1.0.6 (X11/20050912)
The following patch is needed for xsls to compile under gcc-4 on i386. I believe there are other issues with it compiling on x86_64 too related to .*s and strlen.

Signed-off-by: Anthony Liguori <aliguori@xxxxxxxxxx>

Regards,

Anthony Liguori
# HG changeset patch
# User Anthony Liguori <anthony@xxxxxxxxxxxxx>
# Node ID c1e3fe2c8462278cf0fee235dcfc36e11b00aed6
# Parent  50540a0583f3d7837e4eb5ea9843f53636b58f29
Signed-ness matters in gcc-4

Signed-off-by: Anthony Liguori <aliguori@xxxxxxxxxx>

diff -r 50540a0583f3 -r c1e3fe2c8462 tools/xenstore/xsls.c
--- a/tools/xenstore/xsls.c     Tue Oct 11 10:51:26 2005 -0500
+++ b/tools/xenstore/xsls.c     Tue Oct 11 10:52:23 2005 -0500
@@ -8,7 +8,8 @@
 {
     char **e;
     char newpath[512], *val;
-    int num, i, len;
+    unsigned int num, len;
+    int i;
 
     e = xs_directory(h, NULL, path, &num);
     if (e == NULL)
_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel
<Prev in Thread] Current Thread [Next in Thread>
  • [Xen-devel] [PATCH] gcc-4 fixes for xsls (i386), Anthony Liguori <=