summaryrefslogtreecommitdiff
path: root/security/sfs/patches/patch-bc
diff options
context:
space:
mode:
Diffstat (limited to 'security/sfs/patches/patch-bc')
-rw-r--r--security/sfs/patches/patch-bc39
1 files changed, 39 insertions, 0 deletions
diff --git a/security/sfs/patches/patch-bc b/security/sfs/patches/patch-bc
new file mode 100644
index 00000000000..2bd49e0366f
--- /dev/null
+++ b/security/sfs/patches/patch-bc
@@ -0,0 +1,39 @@
+$NetBSD: patch-bc,v 1.1 2006/10/21 11:53:13 agc Exp $
+
+--- ./sfscd/sfscd.C.orig 2002-05-23 21:01:17.000000000 +0100
++++ ./sfscd/sfscd.C
+@@ -127,7 +127,7 @@ cdaemon::dispatch (svccb *sbp)
+ break;
+ case SFSCDCBPROC_AGENTREQ:
+ {
+- sfscd_agentreq_arg *aa = sbp->template getarg<sfscd_agentreq_arg> ();
++ sfscd_agentreq_arg *aa = sbp->getarg<sfscd_agentreq_arg> ();
+ if (aa->agentreq.type == AGENTCB_AUTHINIT) {
+ if (aa->agentreq.init->requestor.len ())
+ aa->agentreq.init->requestor
+@@ -142,20 +142,20 @@ cdaemon::dispatch (svccb *sbp)
+ break;
+ }
+ case SFSCDCBPROC_IDLE:
+- srvinfo::idle (*sbp->template getarg<nfspath3> (), this);
++ srvinfo::idle (*sbp->getarg<nfspath3> (), this);
+ sbp->reply (NULL);
+ break;
+ case SFSCDCBPROC_DELFS:
+- srvinfo::destroy (*sbp->template getarg<nfspath3> (), this, false);
++ srvinfo::destroy (*sbp->getarg<nfspath3> (), this, false);
+ sbp->reply (NULL);
+ break;
+ case SFSCDCBPROC_HIDEFS:
+- //flushpath (*sbp->template getarg<nfspath3> ());
+- srvinfo::show (*sbp->template getarg<nfspath3> (), this, false);
++ //flushpath (*sbp->getarg<nfspath3> ());
++ srvinfo::show (*sbp->getarg<nfspath3> (), this, false);
+ sbp->reply (NULL);
+ break;
+ case SFSCDCBPROC_SHOWFS:
+- srvinfo::show (*sbp->template getarg<nfspath3> (), this, true);
++ srvinfo::show (*sbp->getarg<nfspath3> (), this, true);
+ sbp->reply (NULL);
+ break;
+ }