FreeBSD Bugzilla – Attachment 153633 Details for
Bug 198113
Fix security/pam_ocra build with clang 3.6.0
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
Constify two local variables to avoid -Wcast-qual warnings
security__pam_ocra-constify-1.diff (text/plain), 1.20 KB, created by
Dimitry Andric
on 2015-03-01 00:05:58 UTC
(
hide
)
Description:
Constify two local variables to avoid -Wcast-qual warnings
Filename:
MIME Type:
Creator:
Dimitry Andric
Created:
2015-03-01 00:05:58 UTC
Size:
1.20 KB
patch
obsolete
>Index: security/pam_ocra/files/patch-pam_ocra__pam_ocra.c >=================================================================== >--- security/pam_ocra/files/patch-pam_ocra__pam_ocra.c (revision 0) >+++ security/pam_ocra/files/patch-pam_ocra__pam_ocra.c (working copy) >@@ -0,0 +1,20 @@ >+--- pam_ocra/pam_ocra.c.orig 2014-10-04 19:33:16.000000000 +0200 >++++ pam_ocra/pam_ocra.c 2015-03-01 01:00:17.835220000 +0100 >+@@ -46,7 +46,7 @@ >+ int ret; >+ struct pam_message msg; >+ const struct pam_message *msgp = &msg; >+- struct pam_conv *conv = NULL; >++ const struct pam_conv *conv = NULL; >+ struct pam_response *presponse = NULL; >+ >+ pam_get_item(pamh, PAM_CONV, (const void **)&conv); >+@@ -75,7 +75,7 @@ >+ const char *dir = NULL; >+ const char *fake_suite = NULL; >+ char *questions; >+- char *user; >++ const char *user; >+ char *response = NULL; >+ char fmt[512]; >+ > >Property changes on: security/pam_ocra/files/patch-pam_ocra__pam_ocra.c >___________________________________________________________________ >Added: fbsd:nokeywords >## -0,0 +1 ## >+yes >\ No newline at end of property >Added: svn:eol-style >## -0,0 +1 ## >+native >\ No newline at end of property >Added: svn:mime-type >## -0,0 +1 ## >+text/plain >\ No newline at end of property
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 Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 198113
: 153633 |
153759