94df3e688c
+ add support for gcc4
29 lines
1 KiB
Text
29 lines
1 KiB
Text
$NetBSD: patch-bs,v 1.1 2006/10/21 11:53:13 agc Exp $
|
|
|
|
--- ./rex/rexd.C.orig 2002-11-28 16:20:55.000000000 +0000
|
|
+++ ./rex/rexd.C
|
|
@@ -213,7 +213,7 @@ rexsess::attach (svccb *sbp)
|
|
* file descriptor off to the child process and discard any extra
|
|
* data we have read and buffered). */
|
|
xhinfo::xon (xs, false);
|
|
- rexd_attach_arg *argp = sbp->template getarg<rexd_attach_arg> ();
|
|
+ rexd_attach_arg *argp = sbp->getarg<rexd_attach_arg> ();
|
|
|
|
sfs_hash sid;
|
|
ref<sfs_sessinfo> si = New refcounted<sfs_sessinfo>;
|
|
@@ -283,13 +283,13 @@ rexclient::dispatch (svccb *sbp)
|
|
}
|
|
rexd_spawn_res res;
|
|
vNew rexsess (&credtab[authno],
|
|
- sbp->template getarg<rexd_spawn_arg> (), &res);
|
|
+ sbp->getarg<rexd_spawn_arg> (), &res);
|
|
sbp->replyref (res);
|
|
break;
|
|
}
|
|
case REXD_ATTACH:
|
|
{
|
|
- rexd_attach_arg *argp = sbp->template getarg<rexd_attach_arg> ();
|
|
+ rexd_attach_arg *argp = sbp->getarg<rexd_attach_arg> ();
|
|
if (rexsess *sp = sesstab[argp->sessid]) {
|
|
sp->attach (sbp);
|
|
delete this;
|