* [PATCH] xendbooloader bugfix
@ 2005-05-25 4:19 aq
0 siblings, 0 replies; only message in thread
From: aq @ 2005-05-25 4:19 UTC (permalink / raw)
To: xen-devel
[-- Attachment #1: Type: text/plain, Size: 305 bytes --]
hello,
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@gmail.com
$ diffstat xendbootloader.patch
XendBootloader.py | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
[-- Attachment #2: xendbootloader.patch --]
[-- Type: application/octet-stream, Size: 931 bytes --]
===== tools/python/xen/xend/XendBootloader.py 1.2 vs edited =====
--- 1.2/tools/python/xen/xend/XendBootloader.py 2005-04-28 21:27:46 +09:00
+++ edited/tools/python/xen/xend/XendBootloader.py 2005-05-25 13:05:59 +09: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@redhat.com>
#
# 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 = ""
[-- Attachment #3: Type: text/plain, Size: 138 bytes --]
_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xensource.com
http://lists.xensource.com/xen-devel
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2005-05-25 4:19 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-05-25 4:19 [PATCH] xendbooloader bugfix aq
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.