Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1KJsva-0002yf-K3 for qemu-devel@nongnu.org; Fri, 18 Jul 2008 12:35:30 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1KJsvZ-0002yG-TS for qemu-devel@nongnu.org; Fri, 18 Jul 2008 12:35:29 -0400 Received: from [199.232.76.173] (port=57970 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KJsvZ-0002yB-Hd for qemu-devel@nongnu.org; Fri, 18 Jul 2008 12:35:29 -0400 Received: from savannah.gnu.org ([199.232.41.3]:35535 helo=sv.gnu.org) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1KJsvZ-0001xs-9A for qemu-devel@nongnu.org; Fri, 18 Jul 2008 12:35:29 -0400 Received: from cvs.savannah.gnu.org ([199.232.41.69]) by sv.gnu.org with esmtp (Exim 4.63) (envelope-from ) id 1KJsvY-0005sT-Jy for qemu-devel@nongnu.org; Fri, 18 Jul 2008 16:35:28 +0000 Received: from ths by cvs.savannah.gnu.org with local (Exim 4.63) (envelope-from ) id 1KJsvY-0005sP-B6 for qemu-devel@nongnu.org; Fri, 18 Jul 2008 16:35:28 +0000 MIME-Version: 1.0 Errors-To: ths Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit From: Thiemo Seufer Message-Id: Date: Fri, 18 Jul 2008 16:35:28 +0000 Subject: [Qemu-devel] [4889] Do not call fcntl(, O_NONBLOCK) pointlessly, by Ian Jackson. Reply-To: qemu-devel@nongnu.org List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org 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) {