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-changelog

[Xen-changelog] [xen-unstable] tools: build fixes for NetBSD

To: xen-changelog@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-changelog] [xen-unstable] tools: build fixes for NetBSD
From: Xen patchbot-unstable <patchbot-unstable@xxxxxxxxxxxxxxxxxxx>
Date: Mon, 11 Jan 2010 23:25:17 -0800
Delivery-date: Mon, 11 Jan 2010 23:25:16 -0800
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
List-help: <mailto:xen-changelog-request@lists.xensource.com?subject=help>
List-id: BK change log <xen-changelog.lists.xensource.com>
List-post: <mailto:xen-changelog@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/mailman/listinfo/xen-changelog>, <mailto:xen-changelog-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-changelog>, <mailto:xen-changelog-request@lists.xensource.com?subject=unsubscribe>
Reply-to: xen-devel@xxxxxxxxxxxxxxxxxxx
Sender: xen-changelog-bounces@xxxxxxxxxxxxxxxxxxx
# HG changeset patch
# User Keir Fraser <keir.fraser@xxxxxxxxxx>
# Date 1263279324 0
# Node ID 91d1d06d658e959ad8a2ab5ed405f85832ffab60
# Parent  596f7893b5acc0858a0ac61c7870e3a0ac0ed9e2
tools: build fixes for NetBSD

Signed-off-by: Christoph Egger <Christoph.Egger@xxxxxxx>
---
 tools/libxl/libxl.h        |    1 +
 tools/libxl/xl.c           |    2 +-
 tools/xenpaging/file_ops.c |    2 +-
 3 files changed, 3 insertions(+), 2 deletions(-)

diff -r 596f7893b5ac -r 91d1d06d658e tools/libxl/libxl.h
--- a/tools/libxl/libxl.h       Sat Jan 09 08:14:44 2010 +0000
+++ b/tools/libxl/libxl.h       Tue Jan 12 06:55:24 2010 +0000
@@ -20,6 +20,7 @@
 #include <netinet/in.h>
 #include <xenctrl.h>
 #include <xs.h>
+#include <sys/wait.h> /* for pid_t */
 
 typedef void (*libxl_log_callback)(void *userdata, int loglevel, const char 
*file,
                                    int line, const char *func, char *s);
diff -r 596f7893b5ac -r 91d1d06d658e tools/libxl/xl.c
--- a/tools/libxl/xl.c  Sat Jan 09 08:14:44 2010 +0000
+++ b/tools/libxl/xl.c  Tue Jan 12 06:55:24 2010 +0000
@@ -53,7 +53,7 @@ static int domain_qualifier_to_domid(str
 
     alldigit = 1;
     for (i = 0; p[i]; i++) {
-        if (!isdigit(p[i])) {
+        if (!isdigit((uint8_t)p[i])) {
             alldigit = 0;
             break;
         }
diff -r 596f7893b5ac -r 91d1d06d658e tools/xenpaging/file_ops.c
--- a/tools/xenpaging/file_ops.c        Sat Jan 09 08:14:44 2010 +0000
+++ b/tools/xenpaging/file_ops.c        Tue Jan 12 06:55:24 2010 +0000
@@ -36,7 +36,7 @@ static int file_op(int fd, void *page, i
     int bytes;
     int ret;
 
-    seek_ret = lseek64(fd, i << PAGE_SHIFT, SEEK_SET);
+    seek_ret = lseek(fd, i << PAGE_SHIFT, SEEK_SET);
 
     total = 0;
     while ( total < PAGE_SIZE )

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

<Prev in Thread] Current Thread [Next in Thread>
  • [Xen-changelog] [xen-unstable] tools: build fixes for NetBSD, Xen patchbot-unstable <=