From 80541f175795043a533d64d2d9fb6cca02950e77 Mon Sep 17 00:00:00 2001 From: Chas Williams Date: Thu, 11 Oct 2001 17:41:51 +0000 Subject: [PATCH] irix-lacks-mem-functions-in-kernel-so-revert-to-b-functions-20011011 same as how we fix solaris --- src/config/param.sgi_62.h | 5 +++++ src/config/param.sgi_63.h | 4 ++++ src/config/param.sgi_64.h | 4 ++++ src/config/param.sgi_65.h | 4 ++++ 4 files changed, 17 insertions(+) diff --git a/src/config/param.sgi_62.h b/src/config/param.sgi_62.h index 88749e23c..30557129a 100644 --- a/src/config/param.sgi_62.h +++ b/src/config/param.sgi_62.h @@ -92,6 +92,11 @@ #define DEBUG 1 #define AFS_SGI_DUAL_FS_CACHE 1 /* implies supports EFS or XFS cache */ + +#define memset(A, B, S) bzero(A, S) +#define memcpy(B, A, S) bcopy(A, B, S) +#define memcmp(A, B, S) bcmp(A, B, S) + #endif /* KERNEL */ #ifndef CMSERVERPREF diff --git a/src/config/param.sgi_63.h b/src/config/param.sgi_63.h index 1163011ec..0cecc287c 100644 --- a/src/config/param.sgi_63.h +++ b/src/config/param.sgi_63.h @@ -86,6 +86,10 @@ #define AFS_EVENT_LOCK 1 /* osi_Sleep/osi_Wakeup use spinlock. */ #define AFS_SGI_DUAL_FS_CACHE 1 /* implies supports EFS or XFS cache */ +#define memset(A, B, S) bzero(A, S) +#define memcpy(B, A, S) bcopy(A, B, S) +#define memcmp(A, B, S) bcmp(A, B, S) + #endif /* KERNEL */ #ifndef CMSERVERPREF diff --git a/src/config/param.sgi_64.h b/src/config/param.sgi_64.h index 2650bfa6f..9e2b2d8aa 100644 --- a/src/config/param.sgi_64.h +++ b/src/config/param.sgi_64.h @@ -102,6 +102,10 @@ #define AFS_EVENT_LOCK 1 /* osi_Sleep/osi_Wakeup use spinlock. */ #define AFS_SGI_DUAL_FS_CACHE 1 /* implies supports EFS or XFS cache */ +#define memset(A, B, S) bzero(A, S) +#define memcpy(B, A, S) bcopy(A, B, S) +#define memcmp(A, B, S) bcmp(A, B, S) + #endif /* KERNEL */ #ifndef CMSERVERPREF diff --git a/src/config/param.sgi_65.h b/src/config/param.sgi_65.h index de7e67418..63afdd23e 100644 --- a/src/config/param.sgi_65.h +++ b/src/config/param.sgi_65.h @@ -110,6 +110,10 @@ #define AFS_EVENT_LOCK 1 /* osi_Sleep/osi_Wakeup use spinlock. */ #define AFS_SGI_DUAL_FS_CACHE 1 /* implies supports EFS or XFS cache */ +#define memset(A, B, S) bzero(A, S) +#define memcpy(B, A, S) bcopy(A, B, S) +#define memcmp(A, B, S) bcmp(A, B, S) + #endif /* KERNEL */ #ifndef CMSERVERPREF -- 2.39.5