second argument to xdr_long must be a "long *", which means that the
'out' arg to svc_sendreply must point to a long if outproc is
xdr_long. It was pointing to an 'int', and that was crashing on the
alpha, due to bad alignment.
#ifndef lint
/*static char sccsid[] = "from: @(#)portmap.c 5.4 (Berkeley) 4/19/91";*/
-static char rcsid[] = "$Id: portmap.c,v 1.1.1.1 1995/10/18 08:47:57 deraadt Exp $";
+static char rcsid[] = "$Id: portmap.c,v 1.2 1996/05/05 16:15:28 deraadt Exp $";
#endif /* not lint */
/*
{
struct pmap reg;
struct pmaplist *pml, *prevpml, *fnd;
- int ans, port;
+ long ans, port;
caddr_t t;
if (debugging)