summaryrefslogtreecommitdiff
path: root/src/unistd/ctermid.c
AgeCommit message (Collapse)AuthorFilesLines
2013-07-09fix bogus lazy allocation in ctermid and missing malloc failure checkRich Felker1-10/+7
also clean up, optimize, and simplify the code, removing branches by simply pre-setting the result string to an empty string, which will be preserved if other operations fail.
2013-07-09fix fd leak on races and cancellation in ctermidRich Felker1-2/+3
2011-02-12initial check-in, version 0.5.0v0.5.0Rich Felker1-0/+23