Created
July 12, 2012 11:48
-
-
Save saitoha/3097660 to your computer and use it in GitHub Desktop.
patch for mlterm-3.1.3pre, for MacOSX Lion
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| diff -r 7a4846d08dd0 kiklib/src/kik_pty_streams.c | |
| --- a/kiklib/src/kik_pty_streams.c Thu Jul 12 05:56:56 2012 +0900 | |
| +++ b/kiklib/src/kik_pty_streams.c Thu Jul 12 20:47:08 2012 +0900 | |
| @@ -107,9 +107,7 @@ | |
| if( fcntl( *master, F_SETFL, O_NDELAY) == -1) | |
| { | |
| - close(*master) ; | |
| - | |
| - return -1 ; | |
| + kik_msg_printf( "Unable to set O_NODELAY flag for master device.\n") ; | |
| } | |
| if( ( *slave = open( ttydev, O_RDWR | O_NOCTTY, 0)) < 0) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment