Article View: comp.sys.next.sysadmin
Article #2081Re: PGP v2.1 and NeXT
From: gerben
Date: Sat, 12 Dec 1992 11:12
Date: Sat, 12 Dec 1992 11:12
45 lines
1754 bytes
1754 bytes
In article <rich.724150542@pencil> rich@pencil.cs.missouri.edu (Rich Winkel)
writes:
> In <WARLORD.92Dec12021232@deathtongue.mit.edu> warlord@MIT.EDU (Derek Atkins)
writes:
>
> Interestingly enough, I ONLY changed the makefile and it compiled fine
> on a next. I haven't exhaustively run it, but it passed all the tests
> suggested in setup.doc.
> What gives?
If you change the makefile, the functions are also not used( since they are
protected with #ifdef BSD).
I just posted a small diff to system.c on sci.crypt (not including usuals.h, since
that just adds code that is already available in NeXT's C lib) but just a #ifdef
__NeXT__ around the offensive functions. Patch system.c and it will work. This is
for 2.1 of course.....
*** system.old.c Tue Dec 1 01:10:10 1992
--- system.c Sat Dec 12 10:24:38 1992
***************
*** 268,273 ****
--- 268,274 ----
return(c);
}
+ #ifndef __NeXT__
#ifdef BSD
VOID *memset(s, c, n)
VOID *s;
***************
*** 310,315 ****
--- 311,317 ----
return unlink(name);
}
#endif
+ #endif /* __NeXT__ */
#ifdef SVR2
int rename(old, new)
--
Gerben Wierda Tel. (+31) 35 833539
"If you don't know where you are going, any road will take you there."
From the Talmud(?), rephrased in Lewis Carroll, "Alice in Wonderland".
Technical Details
Message-ID:
<1992Dec12.111218.2956@rna.indiv.nluug.nl>Path:
arc1-ca.pugleaf.net!sparky!uunet!mcsun!sun4nl!rna-nl!gerbenReferences:
<rich.724150542@pencil>Show Full Headers
Complete Article Headers
Newsgroups: comp.sys.next.sysadmin Path: arc1-ca.pugleaf.net!sparky!uunet!mcsun!sun4nl!rna-nl!gerben From: gerben@rna.indiv.nluug.nl Subject: Re: PGP v2.1 and NeXT Message-ID: <1992Dec12.111218.2956@rna.indiv.nluug.nl> Sender: gerben@rna.indiv.nluug.nl (Gerben Wierda) Organization: G.R.O.S.S. References: <rich.724150542@pencil> Date: Sat, 12 Dec 1992 11:12:18 GMT Lines: 46