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] [xen-unstable] ioemu: Do not close slave half of a pty.

To: xen-changelog@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-changelog] [xen-unstable] ioemu: Do not close slave half of a pty.
From: Xen patchbot-unstable <patchbot-unstable@xxxxxxxxxxxxxxxxxxx>
Date: Thu, 20 Dec 2007 09:30:07 -0800
Delivery-date: Thu, 20 Dec 2007 09:30:10 -0800
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
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-devel@xxxxxxxxxxxxxxxxxxx
Sender: xen-changelog-bounces@xxxxxxxxxxxxxxxxxxx
# HG changeset patch
# User Keir Fraser <keir.fraser@xxxxxxxxxx>
# Date 1198146922 0
# Node ID d0052f37363c7beccc2694ec7dcfcbf95e69fde0
# Parent  f12da56acc577ac48a997c10480b220ec2a3d44d
ioemu: Do not close slave half of a pty.
Signed-off-by: Keir Fraser <keir.fraser@xxxxxxxxxx>
---
 tools/ioemu/vl.c |    2 --
 1 files changed, 2 deletions(-)

diff -r f12da56acc57 -r d0052f37363c tools/ioemu/vl.c
--- a/tools/ioemu/vl.c  Wed Dec 19 15:56:10 2007 +0000
+++ b/tools/ioemu/vl.c  Thu Dec 20 10:35:22 2007 +0000
@@ -1876,8 +1876,6 @@ static CharDriverState *qemu_chr_open_pt
     /* Set raw attributes on the pty. */
     cfmakeraw(&tty);
     tcsetattr(slave_fd, TCSAFLUSH, &tty);
-    
-    close(slave_fd);
 
     fprintf(stderr, "char device redirected to %s\n", ptsname(master_fd));
 

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

<Prev in Thread] Current Thread [Next in Thread>
  • [Xen-changelog] [xen-unstable] ioemu: Do not close slave half of a pty., Xen patchbot-unstable <=