The Samba-Bugzilla – Attachment 6415 Details for
Bug 8099
setpwent() actually does endpwent() and vice versa on FreeBSD
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Patch for 3.5
0001-s3-Fix-bug-8099-setpwent-actually-does-endpwent-on-F.patch (text/plain), 1.67 KB, created by
Volker Lendecke
on 2011-04-19 16:53:50 UTC
(
hide
)
Description:
Patch for 3.5
Filename:
MIME Type:
Creator:
Volker Lendecke
Created:
2011-04-19 16:53:50 UTC
Size:
1.67 KB
patch
obsolete
>From 5f0ae1334b81e40af38e8350a3852959df4707f8 Mon Sep 17 00:00:00 2001 >From: Sergey Korsak <skif@1plus1.net> >Date: Tue, 19 Apr 2011 18:51:32 +0200 >Subject: [PATCH] s3: Fix bug 8099 - setpwent() actually does endpwent() on FreeBSD > >--- > nsswitch/winbind_nss_freebsd.c | 8 ++++---- > 1 files changed, 4 insertions(+), 4 deletions(-) > >diff --git a/nsswitch/winbind_nss_freebsd.c b/nsswitch/winbind_nss_freebsd.c >index ac230c8..5fcd557 100644 >--- a/nsswitch/winbind_nss_freebsd.c >+++ b/nsswitch/winbind_nss_freebsd.c >@@ -58,14 +58,14 @@ static ns_mtab methods[] = { > { NSDB_GROUP, "getgrnam_r", __nss_compat_getgrnam_r, _nss_winbind_getgrnam_r }, > { NSDB_GROUP, "getgrgid_r", __nss_compat_getgrgid_r, _nss_winbind_getgrgid_r }, > { NSDB_GROUP, "getgrent_r", __nss_compat_getgrent_r, _nss_winbind_getgrent_r }, >-{ NSDB_GROUP, "endgrent", __nss_compat_setgrent, _nss_winbind_setgrent }, >-{ NSDB_GROUP, "setgrent", __nss_compat_endgrent, _nss_winbind_endgrent }, >+{ NSDB_GROUP, "setgrent", __nss_compat_setgrent, _nss_winbind_setgrent }, >+{ NSDB_GROUP, "endgrent", __nss_compat_endgrent, _nss_winbind_endgrent }, > > { NSDB_PASSWD, "getpwnam_r", __nss_compat_getpwnam_r, _nss_winbind_getpwnam_r }, > { NSDB_PASSWD, "getpwuid_r", __nss_compat_getpwuid_r, _nss_winbind_getpwuid_r }, > { NSDB_PASSWD, "getpwent_r", __nss_compat_getpwent_r, _nss_winbind_getpwent_r }, >-{ NSDB_PASSWD, "endpwent", __nss_compat_setpwent, _nss_winbind_setpwent }, >-{ NSDB_PASSWD, "setpwent", __nss_compat_endpwent, _nss_winbind_endpwent }, >+{ NSDB_PASSWD, "setpwent", __nss_compat_setpwent, _nss_winbind_setpwent }, >+{ NSDB_PASSWD, "endpwent", __nss_compat_endpwent, _nss_winbind_endpwent }, > > }; > >-- >1.7.0.4 >
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
Flags:
gd
:
review+
Actions:
View
Attachments on
bug 8099
:
6414
| 6415