On Sat, Jul 26, 2014 at 4:15 AM, Mikhail Glushenkov <the.dead.shall.rise@gmail.com> wrote:
On 26 July 2014 08:55, Nikita Karetnikov <nikita@karetnikov.org> wrote:
> What version of network is it?  I ran ‘grep -r “host lookup failure”’ on
> the source of 2.5.0.0 and didn’t find anything.

$ cabal sandbox hc-pkg list | grep network
    network-2.5.0.0

It probably uses perror or something like it.

gai_strerror(3) or hstrerror(3) depending on whether ipv6 support was found or not, I'd think. 

--
brandon s allbery kf8nh                               sine nomine associates
allbery.b@gmail.com                                  ballbery@sinenomine.net
unix, openafs, kerberos, infrastructure, xmonad        http://sinenomine.net