Use O_NOCTTY (if available) when opening /dev/ptmx, just in case any
[sgt/putty] / pgssapi.c
2010-05-19 simonPatch from Alejandro Sedeno, somewhat modified by me...