talk - unbreak for unix98 ptys
commitebd0305a58a21d5900efed459ddec0e49d4fe6eb
authorAlex Hornung <ahornung@gmail.com>
Tue, 2 Mar 2010 07:45:20 +0000 (2 07:45 +0000)
committerAlex Hornung <ahornung@gmail.com>
Tue, 2 Mar 2010 07:50:07 +0000 (2 07:50 +0000)
tree89c807e9a804f2eb47ff4a214f7bf30b67398fdd
parenta9177e09259408563cf98920483b57f90fda1480
talk - unbreak for unix98 ptys

* Unbreak talk, which relied on seeing old-style ptys. When I introduced
  the unix98 ptys.

* This assumption would not work anymore, since the
  last slash is not the slash after /dev, but rather the one after
  /dev/pts. Later opening 0 instead of pts/0 would give an error.

Reported-by: Peter Avalos, Matt Dillon
usr.bin/write/write.c