OSDN Git Service

When UNIX98PTY_ONLY was false, but Unix 98 ptys were in fact working and
authorEric Andersen <andersen@codepoet.org>
Tue, 22 Oct 2002 07:13:57 +0000 (07:13 -0000)
committerEric Andersen <andersen@codepoet.org>
Tue, 22 Oct 2002 07:13:57 +0000 (07:13 -0000)
commit4c593181389b86bc184bdbf2b09dfdadd57b9c71
tree3268b407a671fe488e3fd1432c770c737b1d2b88
parentbf391f86d04e5aa4166ad3f764c002488521882d
When UNIX98PTY_ONLY was false, but Unix 98 ptys were in fact working and
functional, everything would succeed but then we would return a failure due to
a silly logic bug.  This patch fixes it so things will work correctly
regardless of the UNIX98PTY_ONLY setting.
 -Erik
libc/stdlib/ptsname.c