Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | improve getservbyname_r using new resolver backend | Rich Felker | 2014-06-01 | 1 | -21/+15 |
| | | | | | | | | | | | | now that host and service lookup have been separated in the backend, there's no need for service lookup functions to pull in the host lookup code. moreover, dynamic allocation is no longer needed, so this function should now be async-signal-safe. it's also significantly smaller. one change in getservbyname is also made: knowing that getservbyname_r needs only two character pointers in the caller-provided buffer, some wasted bss can be avoided. | ||||
* | make getservby*_r return error code rather than -1 (and using errno) | Rich Felker | 2012-07-22 | 1 | -9/+17 |
| | | | | untested but should be correct.. | ||||
* | fix getservby*() with null pointer for protocol argument | Rich Felker | 2012-07-14 | 1 | -0/+4 |
| | | | | not sure this is the best fix but it should work | ||||
* | initial check-in, version 0.5.0 v0.5.0 | Rich Felker | 2011-02-12 | 1 | -0/+41 |