diff options
Diffstat (limited to 'security/sfs/patches/patch-bq')
-rw-r--r-- | security/sfs/patches/patch-bq | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/security/sfs/patches/patch-bq b/security/sfs/patches/patch-bq new file mode 100644 index 00000000000..8c9ebcd5de9 --- /dev/null +++ b/security/sfs/patches/patch-bq @@ -0,0 +1,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; |