what it was supposed to accomplish, but in both places it appeared
it was unquestionably wrong. I suspect that the ifdef was put in
originally to optimize byte-alignment code that wasn't necessary
on the 68000. Who knows? Someone will complain if this isn't
right. [krb5-libs/47]
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@9253
dc483132-0cff-0310-8789-
dd5450dbe970
+Wed Oct 30 13:18:34 1996 Barry Jaspan <bjaspan@mit.edu>
+
+ * xdr_stdio.c: Remove the #ifndef mc68000 cruft. I'm not sure
+ what it was supposed to accomplish, but in both places it appeared
+ it was unquestionably wrong. I suspect that the ifdef was put in
+ originally to optimize byte-alignment code that wasn't necessary
+ on the 68000. Who knows? Someone will complain if this isn't
+ right. [krb5-libs/47]
+
Tue Oct 29 13:03:50 1996 Barry Jaspan <bjaspan@mit.edu>
* auth_gssapi.c (auth_gssapi_create): #ifdef GSSAPI_KRB5, a null
if (fread((caddr_t)&tmp,
sizeof(rpc_int32), 1, (FILE *)xdrs->x_private) != 1)
return (FALSE);
-#ifndef mc68000
+
*lp = ntohl(tmp);
-#endif
+
return (TRUE);
}
XDR *xdrs;
long *lp;
{
-
-#ifndef mc68000
rpc_int32 mycopy = htonl((rpc_int32)*lp);
-#endif
+
if (fwrite((caddr_t)&mycopy, sizeof(rpc_int32), 1, (FILE *)xdrs->x_private) != 1)
return (FALSE);
return (TRUE);