Subject: Re: compiling pgp
To: None <port-sparc@NetBSD.ORG>
From: der Mouse <mouse@Collatz.McRCIM.McGill.EDU>
List: port-sparc
Date: 06/27/1996 06:55:28
> The only problem is with the compression/decompression routine, that
> is a little bit less portable than the rest of PGP, and this gets
> NetBSD in trouble although there are no warnings.  What you have to
> do in both zunip.c and zipup.c is find all the lseek-statements, and
> make a cast to (off_t) for the second argument that is passed to the
> function.

Or just drop in a prototype at the top of each file:

	off_t lseek(int, off_t, int);

There's some include file that works too, I'm sure.  But there's no
need to go add casts all through the code, when that's exactly what a
prototype gives you.

					der Mouse

			    mouse@collatz.mcrcim.mcgill.edu