home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #30 / NN_1992_30.iso / spool / comp / sys / next / sysadmin / 7028 < prev    next >
Encoding:
Text File  |  1992-12-12  |  1.7 KB  |  58 lines

  1. Newsgroups: comp.sys.next.sysadmin
  2. Path: sparky!uunet!mcsun!sun4nl!rna-nl!gerben
  3. From: gerben@rna.indiv.nluug.nl
  4. Subject: Re: PGP v2.1 and NeXT
  5. Message-ID: <1992Dec12.111218.2956@rna.indiv.nluug.nl>
  6. Sender: gerben@rna.indiv.nluug.nl (Gerben Wierda)
  7. Organization: G.R.O.S.S.
  8. References: <rich.724150542@pencil>
  9. Date: Sat, 12 Dec 1992 11:12:18 GMT
  10. Lines: 46
  11.  
  12. In article <rich.724150542@pencil> rich@pencil.cs.missouri.edu (Rich Winkel)  
  13. writes:
  14. > In <WARLORD.92Dec12021232@deathtongue.mit.edu> warlord@MIT.EDU (Derek Atkins)  
  15. writes:
  16. > Interestingly enough, I ONLY changed the makefile and it compiled fine
  17. > on a next.  I haven't exhaustively run it, but it passed all the tests
  18. > suggested in setup.doc.
  19. > What gives?
  20.  
  21. If you change the makefile, the functions are also not used( since they are  
  22. protected with #ifdef BSD).
  23.  
  24. I just posted a small diff to system.c on sci.crypt (not including usuals.h, since  
  25. that just adds code that is already available in NeXT's C lib) but just a #ifdef  
  26. __NeXT__ around the offensive functions. Patch system.c and it will work. This is  
  27. for 2.1 of course.....
  28.  
  29. *** system.old.c        Tue Dec  1 01:10:10 1992
  30. --- system.c    Sat Dec 12 10:24:38 1992
  31. ***************
  32. *** 268,273 ****
  33. --- 268,274 ----
  34.         return(c);
  35.   }
  36.   
  37. + #ifndef __NeXT__
  38.   #ifdef BSD
  39.   VOID *memset(s, c, n)
  40.   VOID *s;
  41. ***************
  42. *** 310,315 ****
  43. --- 311,317 ----
  44.         return unlink(name);
  45.   }
  46.   #endif
  47. + #endif /* __NeXT__ */
  48.   
  49.   #ifdef SVR2
  50.   int rename(old, new)
  51.  
  52. -- 
  53. Gerben Wierda                 Tel. (+31) 35 833539
  54.   "If you don't know where you are going, any road will take you there."
  55.   From the Talmud(?), rephrased in Lewis Carroll, "Alice in Wonderland".
  56.  
  57.