r1215 - trunk/code/sys

DONOTREPLY at icculus.org DONOTREPLY at icculus.org
Mon Nov 19 14:59:38 EST 2007


Author: tma
Date: 2007-11-19 14:59:37 -0500 (Mon, 19 Nov 2007)
New Revision: 1215

Modified:
   trunk/code/sys/con_tty.c
Log:
* s/O_NDELAY/O_NONBLOCK/


Modified: trunk/code/sys/con_tty.c
===================================================================
--- trunk/code/sys/con_tty.c	2007-11-18 01:06:46 UTC (rev 1214)
+++ trunk/code/sys/con_tty.c	2007-11-19 19:59:37 UTC (rev 1215)
@@ -168,7 +168,7 @@
 	}
 
   // Restore blocking to stdin reads
-  fcntl( 0, F_SETFL, fcntl( 0, F_GETFL, 0 ) & ~O_NDELAY );
+  fcntl( 0, F_SETFL, fcntl( 0, F_GETFL, 0 ) & ~O_NONBLOCK );
 }
 
 /*
@@ -256,7 +256,7 @@
 	signal(SIGTTOU, SIG_IGN);
 
 	// Make stdin reads non-blocking
-	fcntl( 0, F_SETFL, fcntl( 0, F_GETFL, 0 ) | O_NDELAY );
+	fcntl( 0, F_SETFL, fcntl( 0, F_GETFL, 0 ) | O_NONBLOCK );
 
 	if (isatty(STDIN_FILENO)!=1)
 	{




More information about the quake3-commits mailing list