home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #30 / NN_1992_30.iso / spool / sci / crypt / 5619 < prev    next >
Encoding:
Text File  |  1992-12-12  |  1.2 KB  |  46 lines

  1. Newsgroups: sci.crypt
  2. Path: sparky!uunet!mcsun!sun4nl!rna-nl!gerben
  3. From: gerben@rna.indiv.nluug.nl
  4. Subject: Small patch to 2.1 to get it through the NeXTSTEP 3.0 compiler
  5. Message-ID: <1992Dec12.094325.2448@rna.indiv.nluug.nl>
  6. Sender: gerben@rna.indiv.nluug.nl (Gerben Wierda)
  7. Organization: G.R.O.S.S.
  8. Date: Sat, 12 Dec 1992 09:43:25 GMT
  9. Lines: 35
  10.  
  11. Hello everybody, here is a small patch to system.c that gets it through the  
  12. NeXTSTEP 3.0 gcc 1.93 compiler. 
  13.  
  14. Some function are defined here (memset, remove), these functions are available on  
  15. the NeXT, so they can be left out of system.c. (Unless somebody tells me they have  
  16. bugs).
  17.  
  18. *** system.old.c        Tue Dec  1 01:10:10 1992
  19. --- system.c    Sat Dec 12 10:24:38 1992
  20. ***************
  21. *** 268,273 ****
  22. --- 268,274 ----
  23.         return(c);
  24.   }
  25.   
  26. + #ifndef __NeXT__
  27.   #ifdef BSD
  28.   VOID *memset(s, c, n)
  29.   VOID *s;
  30. ***************
  31. *** 310,315 ****
  32. --- 311,317 ----
  33.         return unlink(name);
  34.   }
  35.   #endif
  36. + #endif /* __NeXT__ */
  37.   
  38.   #ifdef SVR2
  39.   int rename(old, new)
  40.  
  41. -- 
  42. Gerben Wierda                 Tel. (+31) 35 833539
  43.   "If you don't know where you are going, any road will take you there."
  44.   From the Talmud(?), rephrased in Lewis Carroll, "Alice in Wonderland".
  45.  
  46.