[OpenAFS] Gcc 4.0 compile fails

Jeffrey Altman jaltman@columbia.edu
Sat, 15 Oct 2005 16:41:42 -0400


This is a cryptographically signed message in MIME format.

--------------ms050001000002050301020901
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit

This is the correct patch:

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 20:39:17 -0000
@@ -270,7 +270,7 @@
        psproc1(defp, 0, "int", "", 0xFFFFFFFF);
     }

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

--------------ms050001000002050301020901
Content-Type: application/x-pkcs7-signature; name="smime.p7s"
Content-Transfer-Encoding: base64
Content-Disposition: attachment; filename="smime.p7s"
Content-Description: S/MIME Cryptographic Signature

MIAGCSqGSIb3DQEHAqCAMIACAQExCzAJBgUrDgMCGgUAMIAGCSqGSIb3DQEHAQAAoIIJPzCC
AvowggJjoAMCAQICAw7NrDANBgkqhkiG9w0BAQQFADBiMQswCQYDVQQGEwJaQTElMCMGA1UE
ChMcVGhhd3RlIENvbnN1bHRpbmcgKFB0eSkgTHRkLjEsMCoGA1UEAxMjVGhhd3RlIFBlcnNv
bmFsIEZyZWVtYWlsIElzc3VpbmcgQ0EwHhcNMDUwNTI3MTc0MjQzWhcNMDYwNTI3MTc0MjQz
WjBrMQ8wDQYDVQQEEwZBbHRtYW4xFTATBgNVBCoTDEplZmZyZXkgRXJpYzEcMBoGA1UEAxMT
SmVmZnJleSBFcmljIEFsdG1hbjEjMCEGCSqGSIb3DQEJARYUamFsdG1hbkBjb2x1bWJpYS5l
ZHUwggEiMA0GCSqGSIb3DQEBAQUAA4IBDwAwggEKAoIBAQC+LutDu/YyHreNfoYd+ZtO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