libutil: add O_NOCTTY back to old pty open code
commit59ba14bb1d74fb1702e8a2b1041a44254004099d
authorBen Gras <ben@minix3.org>
Mon, 10 Dec 2012 14:22:12 +0000 (10 15:22 +0100)
committerBen Gras <ben@minix3.org>
Mon, 10 Dec 2012 14:22:12 +0000 (10 15:22 +0100)
tree28773d0f3acc76ba64b86fcc6ee5e2e83c365217
parent11184894e2833b4b35d3ea6da41d66a7c96cdac3
libutil: add O_NOCTTY back to old pty open code

restores fix 4f78dfcabc1500bef891039d3bcb73253468339a

. fixes e.g. ssh sessions not getting their own
  controlling tty
lib/libutil/pty.c