All of lore.kernel.org
 help / color / mirror / Atom feed
From: Anthony Liguori <aliguori@us.ibm.com>
To: xen-devel <xen-devel@lists.xensource.com>
Subject: [PATCH] gcc-4 fixes for xsls (i386)
Date: Tue, 11 Oct 2005 10:58:47 -0500	[thread overview]
Message-ID: <434BE137.4090802@us.ibm.com> (raw)

[-- Attachment #1: Type: text/plain, Size: 247 bytes --]

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@us.ibm.com>

Regards,

Anthony Liguori

[-- Attachment #2: 7316_xenstore_build.diff --]
[-- Type: text/x-patch, Size: 623 bytes --]

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

Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>

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)

[-- Attachment #3: Type: text/plain, Size: 138 bytes --]

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

                 reply	other threads:[~2005-10-11 15:58 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=434BE137.4090802@us.ibm.com \
    --to=aliguori@us.ibm.com \
    --cc=xen-devel@lists.xensource.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.