From d271c1c295d138fa5da622a4dd9136d535f4e42d Mon Sep 17 00:00:00 2001 From: Douglas Engert Date: Tue, 7 Dec 2004 18:30:11 +0000 Subject: [PATCH] sparc32-no-largefile-20041207 FIXES 16719 disable largefile on 32bit sparcs see the bug for better commentary --- src/config/param.sun4x_510.h | 6 ++++++ src/config/param.sun4x_58.h | 6 ++++++ src/config/param.sun4x_59.h | 6 ++++++ 3 files changed, 18 insertions(+) diff --git a/src/config/param.sun4x_510.h b/src/config/param.sun4x_510.h index cc2e73d..50b18db 100644 --- a/src/config/param.sun4x_510.h +++ b/src/config/param.sun4x_510.h @@ -23,7 +23,13 @@ #define AFS_SUN510_ENV 1 #define AFS_64BIT_ENV 1 /* Defines afs_int32 as int, not long. */ +/* + * Only define on 64 bit kernel, until problems with 32 bit + * and large file support are resolved + */ +#if defined(__sparcv9) #define AFS_64BIT_CLIENT 1 +#endif #define AFS_HAVE_FLOCK_SYSID 1 diff --git a/src/config/param.sun4x_58.h b/src/config/param.sun4x_58.h index 4865538..6c058ab 100644 --- a/src/config/param.sun4x_58.h +++ b/src/config/param.sun4x_58.h @@ -21,7 +21,13 @@ #define AFS_SUN58_ENV 1 #define AFS_64BIT_ENV 1 /* Defines afs_int32 as int, not long. */ +/* + * Only define on 64 bit kernel, until problems with 32 bit + * and large file support are resolved + */ +#if defined(__sparcv9) #define AFS_64BIT_CLIENT 1 +#endif #define AFS_HAVE_FLOCK_SYSID 1 diff --git a/src/config/param.sun4x_59.h b/src/config/param.sun4x_59.h index 79279df..d322042 100644 --- a/src/config/param.sun4x_59.h +++ b/src/config/param.sun4x_59.h @@ -22,7 +22,13 @@ #define AFS_SUN59_ENV 1 #define AFS_64BIT_ENV 1 /* Defines afs_int32 as int, not long. */ +/* + * Only define on 64 bit kernel, until problems with 32 bit + * and large file support are resolved + */ +#if defined(__sparcv9) #define AFS_64BIT_CLIENT 1 +#endif #define AFS_HAVE_FLOCK_SYSID 1 -- 1.9.4