]> git.ipfire.org Git - thirdparty/squid.git/commitdiff
Bug #1040: The bodge on OS/2 for _res is wrong
authorserassio <>
Mon, 14 Aug 2006 02:21:19 +0000 (02:21 +0000)
committerserassio <>
Mon, 14 Aug 2006 02:21:19 +0000 (02:21 +0000)
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

src/dnsserver.cc

index cf1ebd4896d1f738958e443152d4fcb0f82a6d2d..fb21821f1a0beace382347c3773f0e5a20718351 100644 (file)
@@ -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)