aboutsummaryrefslogtreecommitdiff
path: root/src/misc/openpty.c (follow)
Commit message (Expand)AuthorAgeFilesLines
* 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. Rich Felker2014-12-201-9/+14
* don't write openpty results until success is determined•••not only is this semantically more correct; it also reduces code size slightly by eliminating the need for the compiler to assume the possibility of aliasing. Rich Felker2014-12-201-10/+12
* incorrect check for open failure in openpty function•••-1, not 0, indicates failure Rich Felker2011-07-221-1/+1
* initial check-in, version 0.5.0Rich Felker2011-02-121-0/+33