All of lore.kernel.org
 help / color / mirror / Atom feed
From: aq <aquynh@gmail.com>
To: xen-devel <xen-devel@lists.xensource.com>
Subject: [PATCH] xendbooloader bugfix
Date: Wed, 25 May 2005 13:19:17 +0900	[thread overview]
Message-ID: <9cde8bff05052421194fe50097@mail.gmail.com> (raw)

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

                 reply	other threads:[~2005-05-25  4:19 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=9cde8bff05052421194fe50097@mail.gmail.com \
    --to=aquynh@gmail.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.