path: root/compat/hstrerror.c
AgeCommit message (Collapse)Author
2007-06-16Add a local implementation of hstrerror for the system which do not have itAlex Riesen
The function converts the value of h_errno (last error of name resolver library, see netdb.h). One of systems which supposedly do not have the function is SunOS. POSIX does not mandate its presence. Signed-off-by: Alex Riesen <> Signed-off-by: Junio C Hamano <>