From mboxrd@z Thu Jan 1 00:00:00 1970 From: Zhigang Wang Subject: [PATCH]fix oshelp fcntl_setfd_cloexec typo Date: Fri, 09 Jan 2009 15:09:51 +0800 Message-ID: <4966F83F.3040807@oracle.com> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="------------040901020809090303020207" Return-path: List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: xen-devel , ian Jackson List-Id: xen-devel@lists.xenproject.org This is a multi-part message in MIME format. --------------040901020809090303020207 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit This patch fixes a oshelp fcntl_setfd_cloexec typo. Ian, please confirm. Signed-off-by: Zhigang Wang zhigang --------------040901020809090303020207 Content-Type: text/x-patch; name="xen-unstalbe-oshelp.patch" Content-Transfer-Encoding: 7bit Content-Disposition: inline; filename="xen-unstalbe-oshelp.patch" 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): --------------040901020809090303020207 Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel --------------040901020809090303020207--