summaryrefslogtreecommitdiff
path: root/security/sfs/patches/patch-bq
blob: 8c9ebcd5de96a21ec6cab4d1d34a60016dc6d331 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
$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<const str, pty, &pty::path, &pty::link> ptys;
 
-  ptyclient::ptyclient (ref<axprt_unix> xx, uid_t u)
+  ptyclient (ref<axprt_unix> 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<utmphost> ());
+	New pty (this, path, *sbp->getarg<utmphost> ());
 	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<utmphost> ()])
+      if (pty *p = ptys[*sbp->getarg<utmphost> ()])
 	delete p;
       else
 	res = ENOENT;