From: simon Date: Tue, 18 Dec 2012 09:02:38 +0000 (+0000) Subject: Use O_NOCTTY (if available) when opening /dev/ptmx, just in case any X-Git-Url: https://git.distorted.org.uk/u/mdw/putty/commitdiff_plain/193c8d4a7559f40fe0e0c8610cf6832a0e976e77?hp=193c8d4a7559f40fe0e0c8610cf6832a0e976e77 Use O_NOCTTY (if available) when opening /dev/ptmx, just in case any OS doesn't automatically assume it. (It would seem faintly weird to me - surely opening the master end of a given pty is a fairly good indication that you're _not_ a process running inside it which wants to have it available as /dev/tty! But you never know...) git-svn-id: svn://svn.tartarus.org/sgt/putty@9727 cda61777-01e9-0310-a592-d414129be87e ---