Index: src/interfaces/libpq/fe-misc.c
===================================================================
RCS file: /cvsroot/pgsql-server/src/interfaces/libpq/fe-misc.c,v
retrieving revision 1.82
diff -c -c -r1.82 fe-misc.c
*** src/interfaces/libpq/fe-misc.c	14 Oct 2002 17:33:08 -0000	1.82
--- src/interfaces/libpq/fe-misc.c	14 Oct 2002 18:08:14 -0000
***************
*** 824,830 ****
  		{
  			/*
  			 * 	select() may modify timeout argument on some platforms so
! 			 *	use copy
  			 */
  			tmp_timeout = *timeout;
  			ptmp_timeout = &tmp_timeout;
--- 824,835 ----
  		{
  			/*
  			 * 	select() may modify timeout argument on some platforms so
! 			 *	use copy.
! 			 *	XXX Do we really want to do that?  If select() returns
! 			 *	the number of seconds remaining, we are resetting
! 			 *	the timeout to its original value.  This will yeild
! 			 *	incorrect timings when select() is interrupted.
! 			 *	bjm 2002-10-14
  			 */
  			tmp_timeout = *timeout;
  			ptmp_timeout = &tmp_timeout;
