* [PATCH]fix oshelp fcntl_setfd_cloexec typo
@ 2009-01-09 7:09 Zhigang Wang
2009-01-09 11:35 ` Ian Jackson
0 siblings, 1 reply; 2+ messages in thread
From: Zhigang Wang @ 2009-01-09 7:09 UTC (permalink / raw)
To: xen-devel, ian Jackson
[-- Attachment #1: Type: text/plain, Size: 144 bytes --]
This patch fixes a oshelp fcntl_setfd_cloexec typo.
Ian, please confirm.
Signed-off-by: Zhigang Wang <zhigang.x.wang@oracle.com>
zhigang
[-- Attachment #2: xen-unstalbe-oshelp.patch --]
[-- Type: text/x-patch, Size: 611 bytes --]
diff -Nurap xen-unstable.orig/tools/python/xen/util/oshelp.py xen-unstable/tools/python/xen/util/oshelp.py
--- xen-unstable.orig/tools/python/xen/util/oshelp.py 2009-01-09 14:48:07.000000000 +0800
+++ xen-unstable/tools/python/xen/util/oshelp.py 2009-01-09 14:59:35.000000000 +0800
@@ -5,7 +5,7 @@ def fcntl_setfd_cloexec(file, bool):
f = fcntl.fcntl(file, fcntl.F_GETFD)
if bool: f |= fcntl.FD_CLOEXEC
else: f &= ~fcntl.FD_CLOEXEC
- fcntl.fcntl(file, fcntl.F_SETFD)
+ fcntl.fcntl(file, fcntl.F_SETFD, f)
def waitstatus_description(st):
if os.WIFEXITED(st):
[-- 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] 2+ messages in thread
end of thread, other threads:[~2009-01-09 11:35 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-01-09 7:09 [PATCH]fix oshelp fcntl_setfd_cloexec typo Zhigang Wang
2009-01-09 11:35 ` Ian Jackson
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.