qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Qemu-devel] [4889] Do not call fcntl(, O_NONBLOCK) pointlessly, by Ian


From: Thiemo Seufer
Subject: [Qemu-devel] [4889] Do not call fcntl(, O_NONBLOCK) pointlessly, by Ian Jackson.
Date: Fri, 18 Jul 2008 16:35:28 +0000

Revision: 4889
          http://svn.sv.gnu.org/viewvc/?view=rev&root=qemu&revision=4889
Author:   ths
Date:     2008-07-18 16:35:27 +0000 (Fri, 18 Jul 2008)

Log Message:
-----------
Do not call fcntl(, O_NONBLOCK) pointlessly, by Ian Jackson.

Modified Paths:
--------------
    trunk/vl.c

Modified: trunk/vl.c
===================================================================
--- trunk/vl.c  2008-07-18 16:34:43 UTC (rev 4888)
+++ trunk/vl.c  2008-07-18 16:35:27 UTC (rev 4889)
@@ -2573,7 +2573,6 @@
     int fd;
 
     TFR(fd = open(filename, O_RDWR | O_NONBLOCK));
-    fcntl(fd, F_SETFL, O_NONBLOCK);
     tty_serial_init(fd, 115200, 'N', 8, 1);
     chr = qemu_chr_open_fd(fd, fd);
     if (!chr) {






reply via email to

[Prev in Thread] Current Thread [Next in Thread]