94df3e688c
+ add support for gcc4
13 lines
540 B
Text
13 lines
540 B
Text
$NetBSD: patch-ap,v 1.1 2006/10/21 11:53:13 agc Exp $
|
|
|
|
--- ./sfsmisc/nfsserv.C.orig 2002-09-19 21:04:20.000000000 +0100
|
|
+++ ./sfsmisc/nfsserv.C
|
|
@@ -253,7 +253,7 @@ nfsserv_fixup::getreply (nfscall *nc)
|
|
{
|
|
/* After JUKEBOX errors, FreeBSD resends requests using the same xid. */
|
|
if (nc->proc () != NFSPROC3_NULL
|
|
- && *nc->template getres<nfsstat3> () == NFS3ERR_JUKEBOX)
|
|
+ && *nc->getres<nfsstat3> () == NFS3ERR_JUKEBOX)
|
|
nc->nocache = true;
|
|
|
|
/* Many NFS3 clients flip out if lookups replies don't have attributes */
|