fix errno for posix_openpt with no free ptys available
authorRich Felker <dalias@aerifal.cx>
Tue, 22 Oct 2019 14:22:22 +0000 (10:22 -0400)
committerRich Felker <dalias@aerifal.cx>
Thu, 24 Oct 2019 14:25:09 +0000 (10:25 -0400)
commit4fd0f2056082441a4503f6bfcb787a7c15754518
treeddfa487e29dcda5dbbc0bb5f47c2cf1616831cea
parent9b2921bea1d5017832e1b45d1fd64220047a9802
fix errno for posix_openpt with no free ptys available

linux fails the open with ENOSPC, but POSIX mandates EAGAIN.
src/misc/pty.c