home *** CD-ROM | disk | FTP | other *** search
/ The UNIX CD Bookshelf / OREILLY_TUCB_UNIX_CD.iso / upt / examples / SOURCES / TCSH / ALPHA / TCSH. next >
Encoding:
Text File  |  1998-07-24  |  1.2 KB  |  40 lines

  1. --- sh.func.c.orig    Fri Nov 20 04:04:20 1992
  2. +++ sh.func.c    Mon Feb  3 12:57:10 1997
  3. @@ -1474,7 +1474,11 @@
  4.  #  if defined(BSD4_4) && !defined(__386BSD__)
  5.      typedef quad_t RLIM_TYPE;
  6.  #  else
  7. +#   if defined(ALPHAOSF)
  8. +    typedef long RLIM_TYPE;
  9. +#   else
  10.      typedef int RLIM_TYPE;
  11. +#   endif  
  12.  #  endif /* BSD4_4 && !__386BSD__ */
  13.  # endif /* BSDLIMIT */
  14.  
  15. --- sh.set.c.orig    Fri Nov 20 04:04:23 1992
  16. +++ sh.set.c    Mon Feb  3 13:04:46 1997
  17. @@ -418,7 +418,7 @@
  18.      }
  19.      else {
  20.      num = 4;        /* confuse lint */
  21. -    if (sizeof(int) == num && ((unsigned int) n) == 2147483648) {
  22. +    if (sizeof(int) == num && ((unsigned int) n) == (unsigned int)2147483648) {
  23.          *putp++ = '2';
  24.          n = 147483648;
  25.      }
  26. --- tc.os.h.orig    Fri Nov 20 04:04:33 1992
  27. +++ tc.os.h    Mon Feb  3 12:50:04 1997
  28. @@ -606,9 +606,11 @@
  29.  extern int readlink __P((const char *, char *, size_t));
  30.  # endif /* SUNOS4 && __GNUC__ == 2 */
  31.  
  32. +#if !defined(ALPHAOSF)
  33.  #if (defined(BSD) && !defined(__386BSD__))  || defined(SUNOS4) 
  34.  extern void bcopy    __P((const void *, void *, size_t));
  35.  # define memmove(a, b, c) (bcopy((char *) (b), (char *) (a), (int) (c)), a)
  36. +#endif
  37.  #endif
  38.  
  39.  #if !defined(hpux) && !defined(COHERENT) && ((SYSVREL < 4) || defined(_SEQUENT_)) && !defined(__386BSD__) && !defined(memmove)
  40.