svn commit: r205020 - head/lib/libc/rpc

John Baldwin jhb at FreeBSD.org
Thu Mar 11 16:58:16 UTC 2010


Author: jhb
Date: Thu Mar 11 16:58:15 2010
New Revision: 205020
URL: http://svn.freebsd.org/changeset/base/205020

Log:
  Fix a bug in the previous change: remove function-local definition of
  tcp_key and udp_key that shadows the global definition.
  
  PR:		threads/144558
  Submitted by:	Sam Robb

Modified:
  head/lib/libc/rpc/rpc_generic.c

Modified: head/lib/libc/rpc/rpc_generic.c
==============================================================================
--- head/lib/libc/rpc/rpc_generic.c	Thu Mar 11 15:33:12 2010	(r205019)
+++ head/lib/libc/rpc/rpc_generic.c	Thu Mar 11 16:58:15 2010	(r205020)
@@ -248,7 +248,6 @@ __rpc_getconfip(nettype)
 	static char *netid_udp_main;
 	struct netconfig *dummy;
 	int main_thread;
-	static thread_key_t tcp_key, udp_key;
 
 	if ((main_thread = thr_main())) {
 		netid_udp = netid_udp_main;


More information about the svn-src-head mailing list