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] this patch fixes a wrong email address and replaces a nu

To: xen-changelog@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-changelog] this patch fixes a wrong email address and replaces a number (errno)
From: BitKeeper Bot <riel@xxxxxxxxxxx>
Date: Wed, 25 May 2005 08:02:20 +0000
Delivery-date: Wed, 25 May 2005 09:01:06 +0000
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/cgi-bin/mailman/listinfo/xen-changelog>, <mailto:xen-changelog-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-changelog>, <mailto:xen-changelog-request@lists.xensource.com?subject=unsubscribe>
Reply-to: Xen Development List <xen-devel@xxxxxxxxxxxxxxxxxxx>
Sender: xen-changelog-bounces@xxxxxxxxxxxxxxxxxxx
ChangeSet 1.1544, 2005/05/25 09:02:20+01:00, kaf24@xxxxxxxxxxxxxxxxxxxx

        this patch fixes a wrong email address and replaces a number (errno)
        with a defined constant to make it more portable.
        
        Signed-off-by: Nguyen Anh Quynh <aquynh@xxxxxxxxx>



 XendBootloader.py |    6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)


diff -Nru a/tools/python/xen/xend/XendBootloader.py 
b/tools/python/xen/xend/XendBootloader.py
--- a/tools/python/xen/xend/XendBootloader.py   2005-05-25 05:01:52 -04:00
+++ b/tools/python/xen/xend/XendBootloader.py   2005-05-25 05:01:52 -04:00
@@ -2,7 +2,7 @@
 # XendBootloader.py - Framework to run a boot loader for picking the kernel
 #
 # Copyright 2005 Red Hat, Inc.
-# Jeremy Katz <katzj@xxxxxxxxxx>
+# Jeremy Katz <katzj@xxxxxxxxxx>
 #
 # This software may be freely redistributed under the terms of the GNU
 # general public license.
@@ -12,7 +12,7 @@
 # Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
 #
 
-import os, sys, select
+import os, sys, select, errno
 import sxp
 
 from XendLogging import log
@@ -61,7 +61,7 @@
         try:
             r = os.open(BL_FIFO, os.O_RDONLY)
         except OSError, e:
-            if e.errno == 4:
+            if e.errno == errno.EINTR:
                 continue
         break
     ret = ""

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

<Prev in Thread] Current Thread [Next in Thread>
  • [Xen-changelog] this patch fixes a wrong email address and replaces a number (errno), BitKeeper Bot <=