[Raw Msg Headers][Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: 2.99.48+p1 compile



On Wed, 2 Apr 1997, Matti Aarnio wrote:

> > I finally had a chance to give compiling zmailer under my
> > SunOS 4.1.3_U1 system another whirl.  It seems to compile with the
> > following two kludges in dnsgetrr.c:
> > 
> > At the beginning:
> > 
> > #define       HFIXEDSZ        12
> > #define NETDB_SUCCESS   0
> > #define NETDB_INTERNAL  -1
> 
> 	Solaris 2.5(.0) did need the first of these three, the
> 	Solaris 2.5.1 has them all.
> 
> > and in the gethostbyname2_rz function:
> > 
> >         /*if (!strchr(name, '.') && (cp = __hostalias(name)))*/
> >         if (!strchr(name, '.') )
> >                 name = cp;
> 
> 	Ok, I have to look deeper into the code.  Solaris 2.5.1 didn't
> 	complain about it, because it apparently has  bind 4.9.x resolver
> 	library with  __hostalias()  routine..
> 
> > Now my question is should I go ahead and install this (other than the
> > standard risks associated with a pre-release version)?  Are these changes
> > going to impact anything other than future "hooks" which are not
> > currently used?
> 
> 	These routines should not be affected with anything I will
> 	introduce latter.  And I am logging your notes for mergeing
> 	into my developement source.

Thanks for the reply!  I am still not quite clear on one point however:
Will either of the above changes (especially the removal of the &&) cause
present problems? ie. is gethostbyname2_rz used right now?


Daryle A. Tilroe ------------- Thin Film & System Admin ----- data@amc.ab.ca
Alberta Microelectronic Centre ------------------------ http://www.amc.ab.ca
#318, 11315-87 Avenue |----------------------------------------------------|
Edmonton, AB   /\/\   | Work: (403) 492-5570 x227  |  Home: (403) 439-4743 |
Canada        /_/\_   | Wfax: (403) 492-1643       |  HFax: (403) 988-6454 |
T6G 2T9        /__\   |----------------------------------------------------|