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(+), 0 deletions(-) diff --git a/src/config/param.sgi_62.h b/src/config/param.sgi_62.h index 88749e2..3055712 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 1163011..0cecc28 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 2650bfa..9e2b2d8 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 de7e674..63afdd2 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 -- 1.7.1