summaryrefslogtreecommitdiff
path: root/security/sfs/patches/patch-be
diff options
context:
space:
mode:
Diffstat (limited to 'security/sfs/patches/patch-be')
-rw-r--r--security/sfs/patches/patch-be40
1 files changed, 40 insertions, 0 deletions
diff --git a/security/sfs/patches/patch-be b/security/sfs/patches/patch-be
new file mode 100644
index 00000000000..a6d27938c2b
--- /dev/null
+++ b/security/sfs/patches/patch-be
@@ -0,0 +1,40 @@
+$NetBSD: patch-be,v 1.1 2006/10/21 11:53:13 agc Exp $
+
+--- ./sfsrwcd/server.C.orig 2002-09-19 21:04:20.000000000 +0100
++++ ./sfsrwcd/server.C
+@@ -47,7 +47,7 @@ server::getreply (time_t rqtime, nfscall
+
+ if (nc->proc () == NFSPROC3_ACCESS) {
+ ex_access3res *ares = static_cast<ex_access3res *> (res);
+- access3args *a = nc->template getarg<access3args> ();
++ access3args *a = nc->getarg<access3args> ();
+ if (ares->status)
+ ac.flush_access (a->object, nc->getaid ());
+ else
+@@ -72,7 +72,7 @@ server::cbdispatch (svccb *sbp)
+ break;
+ case ex_NFSCBPROC3_INVALIDATE:
+ {
+- ex_invalidate3args *xa = sbp->template getarg<ex_invalidate3args> ();
++ ex_invalidate3args *xa = sbp->getarg<ex_invalidate3args> ();
+ ex_fattr3 *a = NULL;
+ if (xa->attributes.present && xa->attributes.attributes->expire) {
+ a = xa->attributes.attributes.addr ();
+@@ -140,7 +140,7 @@ server::dispatch (nfscall *nc)
+
+ #ifndef NO_ACACHE
+ if (nc->proc () == NFSPROC3_GETATTR) {
+- const ex_fattr3 *f = ac.attr_lookup (*nc->template getarg<nfs_fh3> ());
++ const ex_fattr3 *f = ac.attr_lookup (*nc->getarg<nfs_fh3> ());
+ if (f) {
+ getattr3res res (NFS3_OK);
+ *res.attributes = *reinterpret_cast<const fattr3 *> (f);
+@@ -149,7 +149,7 @@ server::dispatch (nfscall *nc)
+ }
+ }
+ else if (nc->proc () == NFSPROC3_ACCESS) {
+- access3args *a = nc->template getarg<access3args> ();
++ access3args *a = nc->getarg<access3args> ();
+ int32_t perm = ac.access_lookup (a->object, nc->getaid (), a->access);
+ if (perm > 0) {
+ access3res res (NFS3_OK);