about summary refs log tree commit diff
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>2006-11-30 15:28:34 +0000
committerUlrich Drepper <drepper@redhat.com>2006-11-30 15:28:34 +0000
commit5df4fe083318e752210652353b9750c6d8ca6714 (patch)
tree08d441e06f0ceceb039556be5ae6f911d55c36a6
parentee50871d980c9f61df31eb7fa6264ff65ebb40f9 (diff)
downloadglibc-5df4fe083318e752210652353b9750c6d8ca6714.tar.gz
glibc-5df4fe083318e752210652353b9750c6d8ca6714.tar.xz
glibc-5df4fe083318e752210652353b9750c6d8ca6714.zip
* sunrpc/svc_run.c (svc_run): Set my_pollfd to new_pollfd if realloc cvs/fedora-glibc-20061130T1652
	succeeded.
-rw-r--r--ChangeLog5
-rw-r--r--sunrpc/svc_run.c1
2 files changed, 6 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index 8166dedc95..ffffeb2481 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2006-11-30  Jakub Jelinek  <jakub@redhat.com>
+
+	* sunrpc/svc_run.c (svc_run): Set my_pollfd to new_pollfd if realloc
+	succeeded.
+
 2006-11-29  Daniel Jacobowitz  <dan@codesourcery.com>
 	    Jakub Jelinek  <jakub@redhat.com>
 	    Jan Kratochvil  <jan.kratochvil@redhat.com>
diff --git a/sunrpc/svc_run.c b/sunrpc/svc_run.c
index feb1bf958e..f1f47fbf30 100644
--- a/sunrpc/svc_run.c
+++ b/sunrpc/svc_run.c
@@ -71,6 +71,7 @@ svc_run (void)
 	      break;
 	    }
 
+	  my_pollfd = new_pollfd;
 	  last_max_pollfd = max_pollfd;
 	}