From e25b94f9082c388cbd339927b52d3c7606dfb8d3 Mon Sep 17 00:00:00 2001 From: Nigel Horne Date: Wed, 27 Sep 2006 16:31:06 +0000 Subject: [PATCH] Added comment giving example platform without re-entrant gethostbyname git-svn: trunk@2323 --- clamav-devel/shared/network.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/clamav-devel/shared/network.c b/clamav-devel/shared/network.c index f34b10517..38fe292ff 100644 --- a/clamav-devel/shared/network.c +++ b/clamav-devel/shared/network.c @@ -78,7 +78,7 @@ int r_gethostbyname(const char *hostname, struct hostent *hp, char *buf, size_t if(gethostbyname_r(hostname, &hp, (struct hostent_data *)buf) < 0) return h_errno; #else - /* Single thread the code */ + /* Single thread the code e.g. VS2005 */ struct hostent *hp2; #ifdef CL_THREAD_SAFE static pthread_mutex_t hostent_mutex = PTHREAD_MUTEX_INITIALIZER;