git.samba.org
/
metze
/
samba
/
wip.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
89d2345
)
Fix error in commit for bugfix "Fix bug #5904 - libnss_wins causes SIGABRT while...
author
Jeremy Allison
<jra@samba.org>
Wed, 19 Nov 2008 19:31:05 +0000
(11:31 -0800)
committer
Jeremy Allison
<jra@samba.org>
Wed, 19 Nov 2008 19:31:05 +0000
(11:31 -0800)
Jeremy.
source/nsswitch/wins.c
patch
|
blob
|
history
diff --git
a/source/nsswitch/wins.c
b/source/nsswitch/wins.c
index ade1faf8ff8f5538d05366f87d2200c952068f29..8a5393a4d686bab370203fd6b98ec57896e1cada 100644
(file)
--- 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