Fixup fromcvs/togit conversion
[minix-pkgsrc.git] / security / sfs / patches / patch-bq
blobc03363b3823d5ad3d9661b2e4149d1d4fde49ad7
1 $NetBSD$
3 --- ./rex/ptyd.C.orig   2002-09-21 04:28:08.000000000 +0100
4 +++ ./rex/ptyd.C
5 @@ -53,7 +53,7 @@ struct ptyclient {
6    const uid_t uid;
7    ihash<const str, pty, &pty::path, &pty::link> ptys;
8  
9 -  ptyclient::ptyclient (ref<axprt_unix> xx, uid_t u)
10 +  ptyclient (ref<axprt_unix> xx, uid_t u)
11      : x (xx), s (asrv::alloc (x, ptyd_prog_1)), uid (u) {}
12    ~ptyclient ();
13    void dispatch (svccb *sbp);
14 @@ -185,7 +185,7 @@ ptyclient::dispatch (svccb *sbp)
15        str path;
16        pty_alloc_res res (0);
17        if (pty_alloc (&fd, &path)) {
18 -       New pty (this, path, *sbp->template getarg<utmphost> ());
19 +       New pty (this, path, *sbp->getarg<utmphost> ());
20         x->sendfd (fd);
21         *res.path = path;
22        }
23 @@ -197,7 +197,7 @@ ptyclient::dispatch (svccb *sbp)
24    case PTYD_PTY_FREE:
25      {
26        int32_t res = 0;
27 -      if (pty *p = ptys[*sbp->template getarg<utmphost> ()])
28 +      if (pty *p = ptys[*sbp->getarg<utmphost> ()])
29         delete p;
30        else
31         res = ENOENT;