]> diplodocus.org Git - nmh/commit
runpty.c: Handle fork(2) failure first, rather than child.
authorRalph Corderoy <ralph@inputplus.co.uk>
Fri, 22 Sep 2017 11:49:47 +0000 (12:49 +0100)
committerRalph Corderoy <ralph@inputplus.co.uk>
Fri, 22 Sep 2017 11:49:47 +0000 (12:49 +0100)
commit4098fa3e458c685b90a312e703bed622461b66e9
treea9aff8aba2ad99149f3cc9d743827e3ea85bcbfc
parentfad589fd1879f684ba437645e53811320942f8a4
runpty.c: Handle fork(2) failure first, rather than child.

Gets the error handling out of the way so it can be forgotten.
test/runpty.c