The Samba-Bugzilla – Attachment 12657 Details for
Bug 12269
nss_wins has incorrect function definitions for gethostbyname*
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
patch for master
0001-nss_wins-Fix-errno-values-for-HOST_NOT_FOUND.patch (text/plain), 791 bytes, created by
Andreas Schneider
on 2016-11-13 16:41:51 UTC
(
hide
)
Description:
patch for master
Filename:
MIME Type:
Creator:
Andreas Schneider
Created:
2016-11-13 16:41:51 UTC
Size:
791 bytes
patch
obsolete
>From c91544eb234af9a13ab08f2b1e31d2915965985b Mon Sep 17 00:00:00 2001 >From: Andreas Schneider <asn@samba.org> >Date: Sun, 13 Nov 2016 17:40:21 +0100 >Subject: [PATCH] nss_wins: Fix errno values for HOST_NOT_FOUND > >BUG: https://bugzilla.samba.org/show_bug.cgi?id=12269 > >Signed-off-by: Andreas Schneider <asn@samba.org> >--- > nsswitch/wins.c | 3 +-- > 1 file changed, 1 insertion(+), 2 deletions(-) > >diff --git a/nsswitch/wins.c b/nsswitch/wins.c >index dccb6dd..19d3c5b 100644 >--- a/nsswitch/wins.c >+++ b/nsswitch/wins.c >@@ -260,8 +260,7 @@ _nss_wins_gethostbyname_r(const char *hostname, > > ip = lookup_byname_backend(name); > if (ip == NULL) { >- *errnop = EINVAL; >- *h_errnop = NETDB_INTERNAL; >+ *h_errnop = HOST_NOT_FOUND; > nss_status = NSS_STATUS_NOTFOUND; > goto out; > } >-- >2.10.2 >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 12269
:
12495
|
12497
|
12503
|
12504
| 12657 |
12683
|
12684