From: Douglas Engert Date: Tue, 7 Dec 2004 18:30:11 +0000 (+0000) Subject: sparc32-no-largefile-20041207 X-Git-Tag: BP-disconnected~102 X-Git-Url: https://git.michaelhowe.org/gitweb/?a=commitdiff_plain;h=d271c1c295d138fa5da622a4dd9136d535f4e42d;p=packages%2Fo%2Fopenafs.git sparc32-no-largefile-20041207 FIXES 16719 disable largefile on 32bit sparcs see the bug for better commentary --- diff --git a/src/config/param.sun4x_510.h b/src/config/param.sun4x_510.h index cc2e73d71..50b18dbb4 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 48655381a..6c058abcd 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 79279df3a..d32204246 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