block pthread cancellation in openpty function
authorRich Felker <dalias@aerifal.cx>
Sun, 21 Dec 2014 04:38:25 +0000 (23:38 -0500)
committerRich Felker <dalias@aerifal.cx>
Sun, 21 Dec 2014 04:38:25 +0000 (23:38 -0500)
commit1227e418eafbbe55e74eee5d2b1e6e53a60102cd
treed0b7e0198c3184b7910fdbe2cf259917dd2e652f
parent3b26a32df42092af6d0cdac655e52635b91d36b2
block pthread cancellation in openpty function

being a nonstandard function, this isn't strictly necessary, but it's
inexpensive and avoids unpleasant surprises. eventually I would like
all functions in libc to be safe against cancellation, either ignoring
it or acting on it cleanly.
src/misc/openpty.c