[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug in gethostbyname_r?
From: |
Greg Herlein |
Subject: |
bug in gethostbyname_r? |
Date: |
Fri, 13 Oct 2000 10:42:54 -0700 (PDT) |
I suspect a bug in the gethostbyname_r function in glibc. I have
attached test code that demonstrates that using the normal
(non-reentrant) gethostbyname all is well, but using
gethostbyname_r fails.
I will try to dig into the library code itself as time allow, but
wanted to bring this issue to light.
I'm running on a stock SuSE linux 6.2 box with libc.so.6.
Is it me, or should this code work fine?
Greg
/**************************************************************
Greg Herlein address@hidden
Herlein Engineering www.herlein.com
***************************************************************/
test.c
Description: Text document
- bug in gethostbyname_r?,
Greg Herlein <=