3 --- ./sfsmisc/rex.C.orig 2002-11-28 16:21:03.000000000 +0000
5 @@ -91,7 +91,7 @@ unixfd::newfd (svccb *sbp)
9 - rexcb_newfd_arg *argp = sbp->template getarg<rexcb_newfd_arg> ();
10 + rexcb_newfd_arg *argp = sbp->getarg<rexcb_newfd_arg> ();
14 @@ -115,7 +115,7 @@ unixfd::data (svccb *sbp)
18 - rex_payload *argp = sbp->template getarg<rex_payload> ();
19 + rex_payload *argp = sbp->getarg<rex_payload> ();
21 if (argp->data.size () > 0) {
23 @@ -133,7 +133,7 @@ unixfd::data (svccb *sbp)
25 //we don't shutdown immediately to give data a chance to
26 //asynchronously flush
27 - paios_out->setwcb (wrap (this, &unixfd::update_connstate, SHUT_WR));
28 + paios_out->setwcb (wrap (this, &unixfd::update_connstate, (int)SHUT_WR));
32 @@ -227,7 +227,7 @@ void
33 rexchannel::data(svccb *sbp)
35 assert (sbp->prog () == REXCB_PROG && sbp->proc () == REXCB_DATA);
36 - rex_payload *dp = sbp->template getarg<rex_payload> ();
37 + rex_payload *dp = sbp->getarg<rex_payload> ();
38 assert (dp->channel == channo);
40 implicit_cast<size_t> (dp->fd) >= vfds.size () ||
41 @@ -245,7 +245,7 @@ void
42 rexchannel::newfd (svccb *sbp)
44 assert (sbp->prog () == REXCB_PROG && sbp->proc () == REXCB_NEWFD);
45 - rexcb_newfd_arg *arg = sbp->template getarg<rexcb_newfd_arg> ();
46 + rexcb_newfd_arg *arg = sbp->getarg<rexcb_newfd_arg> ();
50 @@ -308,7 +308,7 @@ rexsession::rexcb_dispatch (svccb *sbp)
54 - rex_int_arg *argp = sbp->template getarg<rex_int_arg> ();
55 + rex_int_arg *argp = sbp->getarg<rex_int_arg> ();
56 rexchannel *chan = channels[argp->channel];
59 @@ -326,7 +326,7 @@ rexsession::rexcb_dispatch (svccb *sbp)
63 - rex_payload *argp = sbp->template getarg<rex_payload> ();
64 + rex_payload *argp = sbp->getarg<rex_payload> ();
65 rexchannel *chan = channels[argp->channel];
68 @@ -338,7 +338,7 @@ rexsession::rexcb_dispatch (svccb *sbp)
72 - rex_int_arg *argp = sbp->template getarg<rex_int_arg> ();
73 + rex_int_arg *argp = sbp->getarg<rex_int_arg> ();
74 rexchannel *chan = channels[argp->channel];