Firstly I would like to say thanks for a nice well documented package.

I have built htdig-3.1.0b4 on Solaris 2.5.1 using Sunworkshop 3.0 or C++ 4.2 
and I had only to make a few minor mods - I list them here:

Connection.cc did not have the right define wanter for gethostname prototype:

*** Connection.cc.dist  Wed Dec 23 01:53:14 1998
--- Connection.cc       Tue Jan 19 10:56:56 1999
***************
*** 509,515 ****
      return inet_ntoa(peer.sin_addr);
  }
  
! #if defined(__sun__)
  extern "C" int gethostname(char *name, int namelen);
  #endif
  
--- 509,515 ----
      return inet_ntoa(peer.sin_addr);
  }
  
! #if defined(NEED_PROTO_GETHOSTNAME)
  extern "C" int gethostname(char *name, int namelen);
  #endif

And config got GETPEERNAME_LENGTH_T wrong as unsigned int instead of int (in 
include/htconfig.h).

Otherwise seems to work fine when these fixes applied.  Sorry if this should 
have been reported as a bug.

-- 
-----------------------------------------------------------------------------
| Peter Polkinghorne, Computer Centre, Brunel University, Uxbridge, UB8 3PH,|
| [EMAIL PROTECTED]   +44 1895 274000 x2561       UK          |
-----------------------------------------------------------------------------


----------------------------------------------------------------------
To unsubscribe from the htdig mailing list, send a message to
[EMAIL PROTECTED] containing the single word "unsubscribe" in
the body of the message.

Reply via email to