[SCM] Samba Shared Repository - branch v3-2-test updated -
release-3-2-0pre2-3168-ge4b4e9c
Jeremy Allison
jra at samba.org
Wed Nov 19 19:32:26 GMT 2008
The branch, v3-2-test has been updated
via e4b4e9cafbb7dcda761b396a71be9ba4965956bc (commit)
from 89d234574b1a2f12b2d9d21c4286648d0da436c3 (commit)
http://gitweb.samba.org/?p=samba.git;a=shortlog;h=v3-2-test
- Log -----------------------------------------------------------------
commit e4b4e9cafbb7dcda761b396a71be9ba4965956bc
Author: Jeremy Allison <jra at samba.org>
Date: Wed Nov 19 11:31:05 2008 -0800
Fix error in commit for bugfix "Fix bug #5904 - libnss_wins causes SIGABRT while servicing getaddrinfo() request."
Jeremy.
-----------------------------------------------------------------------
Summary of changes:
source/nsswitch/wins.c | 7 -------
1 files changed, 0 insertions(+), 7 deletions(-)
Changeset truncated at 500 lines:
diff --git a/source/nsswitch/wins.c b/source/nsswitch/wins.c
index ade1faf..8a5393a 100644
--- a/source/nsswitch/wins.c
+++ b/source/nsswitch/wins.c
@@ -435,10 +435,6 @@ _nss_wins_gethostbyname2_r(const char *name, int af, struct hostent *he,
{
NSS_STATUS nss_status;
-#if HAVE_PTHREAD
- pthread_mutex_lock(&wins_nss_mutex);
-#endif
-
if(af!=AF_INET) {
*h_errnop = NO_DATA;
nss_status = NSS_STATUS_UNAVAIL;
@@ -446,9 +442,6 @@ _nss_wins_gethostbyname2_r(const char *name, int af, struct hostent *he,
nss_status = _nss_wins_gethostbyname_r(
name, he, buffer, buflen, h_errnop);
}
-#if HAVE_PTHREAD
- pthread_mutex_unlock(&wins_nss_mutex);
-#endif
return nss_status;
}
#endif
--
Samba Shared Repository
More information about the samba-cvs
mailing list