[OpenAFS-devel] Problems with OpenAFS on Alpha Linux
chas williams
chas@cmf.nrl.navy.mil
Fri, 24 May 2002 09:56:18 -0400
In message <3CEDF9AD.3070102@lrz.de>,Reinhold Bader writes:
>Thanks! This did the job!
glad to hear it. perhaps the maintainers would consider undoing
my previous ia64 patch for crypt.c to the following (i did verify
that this still works on the ia64):
Index: src/des/crypt.c
===================================================================
RCS file: /cvs/openafs/src/des/crypt.c,v
retrieving revision 1.7
diff -u -d -b -w -u -r1.7 crypt.c
--- src/des/crypt.c 2001/08/07 00:05:00 1.7
+++ src/des/crypt.c 2002/05/24 13:54:55
@@ -88,7 +88,7 @@
* define "LONG_IS_32_BITS" only if sizeof(long)==4.
* This avoids use of bit fields (your compiler may be sloppy with them).
*/
-#if !defined(cray)
+#if !defined(cray) && !defined(AFS_ALPHA_LINUX20_ENV) && !defined(AFS_IA64_LINUX20_ENV)
#define LONG_IS_32_BITS
#endif
@@ -249,13 +249,6 @@
struct {
#if defined(LONG_IS_32_BITS)
/* long is often faster than a 32-bit bit field */
-#if defined(AFS_IA64_LINUX20_ENV)
- int i0;
- int i1;
-#else
- long i0;
- long i1;
-#endif
#else
long i0: 32;
long i1: 32;