about summary refs log tree commit diff
path: root/resolv/gai_suspend.c
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>2006-09-06 16:51:47 +0000
committerUlrich Drepper <drepper@redhat.com>2006-09-06 16:51:47 +0000
commit243b9ac19241ace83c566c51eb53e3e53413c897 (patch)
tree03525e967fe50dcc7ee87ab6049021729c686d10 /resolv/gai_suspend.c
parentb051fc4438e7e7ef248a1d03a9b2bd397bc916f3 (diff)
downloadglibc-243b9ac19241ace83c566c51eb53e3e53413c897.tar.gz
glibc-243b9ac19241ace83c566c51eb53e3e53413c897.tar.xz
glibc-243b9ac19241ace83c566c51eb53e3e53413c897.zip
* locale/programs/ld-collate.c (collate_read): Goto sym_equiv_free cvs/fedora-glibc-20060907T0853
	rather than col_sym_free.  Move seqp declaration earlier.

	* resolv/gai_suspend.c (gai_suspend): Make sure result is initialized.
Diffstat (limited to 'resolv/gai_suspend.c')
-rw-r--r--resolv/gai_suspend.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/resolv/gai_suspend.c b/resolv/gai_suspend.c
index c2095124b7..4d85ac2c10 100644
--- a/resolv/gai_suspend.c
+++ b/resolv/gai_suspend.c
@@ -83,6 +83,7 @@ gai_suspend (const struct gaicb *const list[], int ent,
       pthread_setcancelstate (PTHREAD_CANCEL_DISABLE, &oldstate);
 
 #ifdef DONT_NEED_GAI_MISC_COND
+      result = 0;
       GAI_MISC_WAIT (result, cntr, timeout, 1);
 #else
       if (timeout == NULL)