The Samba-Bugzilla – Attachment 11441 Details for
Bug 11508
nss_tests.c too many arguments to getpwent_r
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Fix for Solaris getpwent_r and getgrent_r
file_11508.txt (text/plain), 932 bytes, created by
Tom Schulz
on 2015-09-15 00:28:27 UTC
(
hide
)
Description:
Fix for Solaris getpwent_r and getgrent_r
Filename:
MIME Type:
Creator:
Tom Schulz
Created:
2015-09-15 00:28:27 UTC
Size:
932 bytes
patch
obsolete
>--- a/source4/torture/local/nss_tests.c Tue Jul 21 05:47:50 2015 >+++ b/source4/torture/local/nss_tests.c Mon Sep 14 11:51:08 2015 >@@ -349,7 +349,11 @@ > while (1) { > torture_comment(tctx, "Testing getpwent_r\n"); > >+#ifdef SOLARIS_GETPWENT_R >+ ret = getpwent_r(&pwd, buffer, sizeof(buffer)); >+#else /* SOLARIS_GETPWENT_R */ > ret = getpwent_r(&pwd, buffer, sizeof(buffer), &pwdp); >+#endif /* SOLARIS_GETPWENT_R */ > if (ret != 0) { > if (ret != ENOENT) { > torture_comment(tctx, "got %d return code\n", ret); >@@ -543,7 +547,11 @@ > while (1) { > torture_comment(tctx, "Testing getgrent_r\n"); > >+#ifdef SOLARIS_GETGRENT_R >+ ret = getgrent_r(&grp, buffer, sizeof(buffer)); >+#else /* SOLARIS_GETGRENT_R */ > ret = getgrent_r(&grp, buffer, sizeof(buffer), &grpp); >+#endif /* SOLARIS_GETGRENT_R */ > if (ret != 0) { > if (ret != ENOENT) { > torture_comment(tctx, "got %d return code\n", ret);
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:
slow
:
review+
jra
:
review+
Actions:
View
Attachments on
bug 11508
:
11441
|
11478