about summary refs log tree commit diff
path: root/src/network/h_errno.c
Commit message (Collapse)AuthorAgeFilesLines
* make h_errno thread-localRich Felker2020-08-241-4/+2
| | | | | | | | | the framework to do this always existed but it was deemed unnecessary because the only [ex-]standard functions using h_errno were not thread-safe anyway. however, some of the nonstandard res_* functions are also supposed to set h_errno to indicate the cause of error, and were unable to do so because it was not thread-safe. this change is a prerequisite for fixing them.
* fix misplaced semicolon in preprocessor directive (#undef h_errno)Rich Felker2012-05-161-1/+1
|
* use __h_errno_location for h_errnoRich Felker2012-05-121-0/+8
| | | | | | we do not bother making h_errno thread-local since the only interfaces that use it are inherently non-thread-safe. but still use the potentially-thread-local ABI to access it just to avoid lock-in.
* initial check-in, version 0.5.0 v0.5.0Rich Felker2011-02-121-0/+1