[OpenAFS] Gcc 4.0 compile fails

ted creedon tcreedon@easystreet.com
Sat, 15 Oct 2005 15:10:52 -0700


Make;make install; seems to work OK.

I'll fire the server up tonight and stress test.

Thanks. 

tedc 

-----Original Message-----
From: openafs-info-admin@openafs.org [mailto:openafs-info-admin@openafs.org]
On Behalf Of Jeffrey Altman
Sent: Saturday, October 15, 2005 2:12 PM
To: openafs-info@openafs.org
Cc: ted creedon
Subject: Re: [OpenAFS] Gcc 4.0 compile fails

Take three:

Index: rpc_hout.c
===================================================================
RCS file: /cvs/openafs/src/rxgen/rpc_hout.c,v
retrieving revision 1.7.2.1
diff -u -r1.7.2.1 rpc_hout.c
--- rpc_hout.c  15 Oct 2005 01:20:03 -0000      1.7.2.1
+++ rpc_hout.c  15 Oct 2005 21:05:11 -0000
@@ -270,7 +270,8 @@
        psproc1(defp, 0, "int", "", 0xFFFFFFFF);
     }

-    psproc1(defp, 1, "afs_int32", "S", 0xFFFFFFFF);
+    if (*ServerPrefix)
+       psproc1(defp, 1, "afs_int32", ServerPrefix, 0xFFFFFFFF);
 }