summaryrefslogtreecommitdiff
path: root/security/sfs/patches/patch-bs
diff options
context:
space:
mode:
Diffstat (limited to 'security/sfs/patches/patch-bs')
-rw-r--r--security/sfs/patches/patch-bs29
1 files changed, 29 insertions, 0 deletions
diff --git a/security/sfs/patches/patch-bs b/security/sfs/patches/patch-bs
new file mode 100644
index 00000000000..92bceca34e6
--- /dev/null
+++ b/security/sfs/patches/patch-bs
@@ -0,0 +1,29 @@
+$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;