Created
October 12, 2014 16:51
-
-
Save saitoha/223cb3b5c4c74e830166 to your computer and use it in GitHub Desktop.
putty: fix for pterm on OSX 10.9
This file contains 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
--- putty-0.63/unix/uxpty.c 2013-07-21 16:40:28.000000000 +0900 | |
+++ putty-0.63/unix/uxpty.c 2014-10-13 01:49:46.000000000 +0900 | |
@@ -373,7 +373,9 @@ | |
strncpy(pty->name, ptsname(pty->master_fd), FILENAME_MAX-1); | |
#endif | |
+#if !defined(__OSX__) | |
nonblock(pty->master_fd); | |
+#endif | |
if (!ptys_by_fd) | |
ptys_by_fd = newtree234(pty_compare_by_fd); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment