git: dsynth - Fix bug in pty interlock handshake

Matthew Dillon dillon at crater.dragonflybsd.org
Mon Aug 26 11:47:23 PDT 2019


commit a9300d32b19217e625e4a901107d4def601d01ed
Author: Matthew Dillon <dillon at apollo.backplane.com>
Date:   Mon Aug 26 11:42:47 2019 -0700

    dsynth - Fix bug in pty interlock handshake
    
    * login_tty() closes slavefd so the handshake wasn't working.
      Read from descriptor 0 instead, which login_tty() has set
      up with the slave tty.

Summary of changes:
 usr.bin/dsynth/build.c | 11 ++++++++---
 1 file changed, 8 insertions(+), 3 deletions(-)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/a9300d32b19217e625e4a901107d4def601d01ed


-- 
DragonFly BSD source repository



More information about the Commits mailing list