Usenet comp.unix.osf.osf1 (1992-2004)
 help / color / mirror / Atom feed
From: ro@techfak.uni-bielefeld.de (Rainer Orth)
Subject: Re: In search for Hesiod ports to DEC's OSF/1
Date: Fri, 26 Feb 1993 04:26:47 GMT	[thread overview]
Message-ID: <RO.93Feb25232647@anemone.techfak.uni-bielefeld.de> (raw)
In-Reply-To: levanon@browneyes.ucs.indiana.edu's message of Thu, 25 Feb 1993 14:19:59 GMT

In article <C30D5C.IpM@usenet.ucs.indiana.edu> levanon@browneyes.ucs.indiana.edu (Jacob Levanon) writes:

>         Has anyone out there ported or is in the process of porting
> Hesiod routines to DEC's OSF/1?

Porting hesiod 1.2 itself was easy: just change two instances of
u_long/long to u_int/int and hesinfo works as expected.

I had to make many similar changes to bind 4.9 alpha to get a working
version of it's libresolv.a.  You can probably use DEC's libresolv from
4.8.x until 4.9 is generally available, although I haven't tried that.

	Rainer

===================================================================
RCS file: hesiod/RCS/resolve.c,v
retrieving revision 1.4
diff -u -r1.4 hesiod/resolve.c
--- hesiod/resolve.c	1988/08/08 01:59:27	1.4
+++ hesiod/resolve.c	1993/02/15 22:49:35
@@ -39,7 +39,7 @@
     cp += sizeof(u_short/*type*/);
 
     rr->class = _getshort(cp);
-    cp += sizeof(u_short/*class*/) + sizeof(u_long/*ttl*/);
+    cp += sizeof(u_short/*class*/) + sizeof(u_int/*ttl*/);
 
     rr->dlen = (int)_getshort(cp);
     rr->data = cp + sizeof(u_short/*dlen*/);
@@ -141,7 +141,7 @@
 {
     static char qbuf[PACKETSZ], abuf[PACKETSZ];
     register int n;
-    register long res_options = _res.options;
+    register int res_options = _res.options;
     register int res_retrans = _res.retrans;
     register int res_retry = _res.retry;
 
--
-----------------------------------------------------------------------------
Rainer Orth, Technical Computer Science, University of Bielefeld

Internet: ro@TechFak.Uni-Bielefeld.DE



      reply	other threads:[~1993-02-26  4:26 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1993-02-25 14:19 In search for Hesiod ports to DEC's OSF/1 Jacob Levanon
1993-02-26  4:26 ` Rainer Orth [this message]
read-only archive

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox