From: serassio <> Date: Mon, 14 Aug 2006 02:21:19 +0000 (+0000) Subject: Bug #1040: The bodge on OS/2 for _res is wrong X-Git-Tag: SQUID_3_0_PRE5~192 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=b7a2357dee343a85f09d41c4fdb44c12d42653ea;p=thirdparty%2Fsquid.git Bug #1040: The bodge on OS/2 for _res is wrong The "_res" structure used by the BIND DNS Client library is defined in the OS/2 libraries. It is exported from TCP32DLL.DLL. The import library for this is, of course, TCP32DLL.LIB. Confirmed in IBM OS/2 documentation: http://www.warpspeed.com.au/cgi-bin/inf2html.cmd?../html/book/Toolkt40/TCPPR.INF --- diff --git a/src/dnsserver.cc b/src/dnsserver.cc index cf1ebd4896..fb21821f1a 100644 --- a/src/dnsserver.cc +++ b/src/dnsserver.cc @@ -1,6 +1,6 @@ /* - * $Id: dnsserver.cc,v 1.70 2005/04/18 21:52:42 hno Exp $ + * $Id: dnsserver.cc,v 1.71 2006/08/13 20:21:19 serassio Exp $ * * DEBUG: section 0 DNS Resolver * AUTHOR: Harvest Derived @@ -162,14 +162,6 @@ struct hostent *_res_gethostbyname(char *name); static struct IN_ADDR no_addr; -#ifdef _SQUID_OS2_ - -struct state _res = - {0} - - ; /* it's not in any of the libraries */ -#endif - /* error messages from gethostbyname() */ static char * my_h_msgs(int x)