pkgsrc/security/sfs/patches/patch-bc
agc 94df3e688c Update sfs to 0.7.2nb7
+ add support for gcc4
2006-10-21 11:53:13 +00:00

39 lines
1.4 KiB
Text

$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;
}