Usenet comp.unix.osf.osf1 (1992-2004)
 help / color / mirror / Atom feed
* In search for Hesiod ports to DEC's OSF/1
@ 1993-02-25 14:19 Jacob Levanon
  1993-02-26  4:26 ` Rainer Orth
  0 siblings, 1 reply; 2+ messages in thread
From: Jacob Levanon @ 1993-02-25 14:19 UTC (permalink / raw)



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

Thanks.
 /====================================================================\
|| Jacob Levanon                   /\            Network Applications ||
|| University Computing Services   ||             levanon@indiana.edu ||
|| Indiana University              ||                  (812) 855-2598 ||
|| 750 N. State Road 46-Bypass     ||  ...reserved for                ||
|| Bloomington, IN  47405          \/                   future use... ||
 \====================================================================/



^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: In search for Hesiod ports to DEC's OSF/1
  1993-02-25 14:19 In search for Hesiod ports to DEC's OSF/1 Jacob Levanon
@ 1993-02-26  4:26 ` Rainer Orth
  0 siblings, 0 replies; 2+ messages in thread
From: Rainer Orth @ 1993-02-26  4:26 UTC (permalink / raw)


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



^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~1993-02-26  4:26 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
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 is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox