OpenAFS CVS Commit: openafs/src/rx by jaltman

cvs@GRAND.CENTRAL.ORG cvs@GRAND.CENTRAL.ORG
Sat, 17 Dec 2005 12:26:58 EST


Update of /cvs/openafs/src/rx
In directory GRAND.CENTRAL.ORG:/home/jaltman/openafs/cvs-1-3/src/rx

Modified Files:
	rx_packet.c 
Log Message:
DELTA windows-no-fds-20051217
AUTHOR jaltman@secure-endpoints.com

when collecting rx statistics in response to an RPC query, the rx library
attempts to enumerate the number file descriptors in use.  This is fine
except that file descriptors are a C Run Time Library concept on Windows
and are not related to networking.  In Visual Studio 8, the run time library
will assert() if an invalid file descriptor is passed to fstat() which is
the test used to determine if a file descriptor is valid.  

This patch simply returns 0 for the number of file descriptors in use
because that is what would have been returned anyway with the existing 
code.  What we probably want to return is the number of open socket 
handles.  



--- DELTA config follows ---
windows-no-fds-20051217 openafs/src/rx/rx_packet.c 1.57 1.58