Skip to contentSkip to conversation

[4889] Do not call fcntl(, O_NONBLOCK) pointlessly, by Ian Jackson.

Qemu-devel Thiemo Seufer 1 participant 1 message Jul 18, 2008

lore
Share & tools
lore
#0 lore raw

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

vl.c +0 -1
@@ -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) {