diff options
Diffstat (limited to 'code/sys')
| -rw-r--r-- | code/sys/con_tty.c | 4 | 
1 files changed, 2 insertions, 2 deletions
diff --git a/code/sys/con_tty.c b/code/sys/con_tty.c index dd37c19..5e499eb 100644 --- a/code/sys/con_tty.c +++ b/code/sys/con_tty.c @@ -168,7 +168,7 @@ void CON_Shutdown( void )  	}    // 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 @@ void CON_Init( void )  	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)  	{  | 
