The glibc implementation of getpt has actually never been setting O_NOCTTY when opening /dev/ptmx or BSD ptys. Signed-off-by: Samuel Thibault