chiark / gitweb /
ptyfwd: Don't set the output prop of stdin, nor the input props of stdout.
authorLuke Shumaker <LukeShu@sbcglobal.net>
Sat, 23 Nov 2013 09:57:43 +0000 (04:57 -0500)
committerLennart Poettering <lennart@poettering.net>
Wed, 11 Dec 2013 01:04:21 +0000 (01:04 +0000)
It was calling cfmakeraw(3) on the properties for STDIN_FILENO; cfmakeraw
sets both input and output properties.  If (and only if) stdin and stdout
are the same device is this correct.  Otherwise, we must change only the
input properties of stdin, and only the output properties of stdout.


No differences found