Module Name:    src
Committed By:   christos
Date:           Tue Mar  5 16:54:08 UTC 2013

Modified Files:
        src/tests/fs/common/nfsrpc: svc.c

Log Message:
use the proper fd_set.
XXX: Instead of making a copy of the libc rpc files here we should re-use the
files from libc, and use macros to provide the extra functionality needed here.
SoC project?


To generate a diff of this commit:
cvs rdiff -u -r1.5 -r1.6 src/tests/fs/common/nfsrpc/svc.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/tests/fs/common/nfsrpc/svc.c
diff -u src/tests/fs/common/nfsrpc/svc.c:1.5 src/tests/fs/common/nfsrpc/svc.c:1.6
--- src/tests/fs/common/nfsrpc/svc.c:1.5	Tue Mar  5 00:39:54 2013
+++ src/tests/fs/common/nfsrpc/svc.c	Tue Mar  5 11:54:08 2013
@@ -1,4 +1,4 @@
-/*	$NetBSD: svc.c,v 1.5 2013/03/05 05:39:54 christos Exp $	*/
+/*	$NetBSD: svc.c,v 1.6 2013/03/05 16:54:08 christos Exp $	*/
 
 /*
  * Sun RPC is a product of Sun Microsystems, Inc. and is provided for
@@ -35,7 +35,7 @@
 static char *sccsid = "@(#)svc.c 1.44 88/02/08 Copyr 1984 Sun Micro";
 static char *sccsid = "@(#)svc.c	2.4 88/08/11 4.0 RPCSRC";
 #else
-__RCSID("$NetBSD: svc.c,v 1.5 2013/03/05 05:39:54 christos Exp $");
+__RCSID("$NetBSD: svc.c,v 1.6 2013/03/05 16:54:08 christos Exp $");
 #endif
 #endif
 
@@ -204,7 +204,7 @@ xprt_register(SVCXPRT *xprt)
 		goto out;
 	}
 	__svc_xports[sock] = xprt;
-	FD_SET(sock, &svc_fdset);
+	FD_SET(sock, get_fdset());
 	*get_fdsetmax() = max(*get_fdsetmax(), sock);
 	rwlock_unlock(&svc_fd_lock);
 	return (TRUE);

Reply via email to