aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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 8166ded..ffffeb2 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 feb1bf9..f1f47fb 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;
}