$NetBSD: patch-bq,v 1.1 2006/10/21 11:53:13 agc Exp $ --- ./rex/ptyd.C.orig 2002-09-21 04:28:08.000000000 +0100 +++ ./rex/ptyd.C @@ -53,7 +53,7 @@ struct ptyclient { const uid_t uid; ihash ptys; - ptyclient::ptyclient (ref xx, uid_t u) + ptyclient (ref xx, uid_t u) : x (xx), s (asrv::alloc (x, ptyd_prog_1)), uid (u) {} ~ptyclient (); void dispatch (svccb *sbp); @@ -185,7 +185,7 @@ ptyclient::dispatch (svccb *sbp) str path; pty_alloc_res res (0); if (pty_alloc (&fd, &path)) { - New pty (this, path, *sbp->template getarg ()); + New pty (this, path, *sbp->getarg ()); x->sendfd (fd); *res.path = path; } @@ -197,7 +197,7 @@ ptyclient::dispatch (svccb *sbp) case PTYD_PTY_FREE: { int32_t res = 0; - if (pty *p = ptys[*sbp->template getarg ()]) + if (pty *p = ptys[*sbp->getarg ()]) delete p; else res = ENOENT;