FreeBSD Bugzilla – Attachment 196611 Details for
Bug 230959
databases/mysql-connector-c: Fix build with Clang 6
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
databases__mysql-connector-c.diff
databases__mysql-connector-c.diff (text/plain), 1.37 KB, created by
Tobias Kortkamp
on 2018-08-27 19:42:03 UTC
(
hide
)
Description:
databases__mysql-connector-c.diff
Filename:
MIME Type:
Creator:
Tobias Kortkamp
Created:
2018-08-27 19:42:03 UTC
Size:
1.37 KB
patch
obsolete
>Index: files/patch-sql-common_client__authentication.cc >=================================================================== >--- files/patch-sql-common_client__authentication.cc (nonexistent) >+++ files/patch-sql-common_client__authentication.cc (working copy) >@@ -0,0 +1,15 @@ >+sql-common/client_authentication.cc:86:56: error: comparison between pointer and integer ('char *' and 'int') >+ mysql->options.extension->server_public_key_path != '\0') >+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^ ~~~~ >+ >+--- sql-common/client_authentication.cc.orig 2018-08-27 19:39:51 UTC >++++ sql-common/client_authentication.cc >+@@ -83,7 +83,7 @@ RSA *rsa_init(MYSQL *mysql) >+ >+ if (mysql->options.extension != NULL && >+ mysql->options.extension->server_public_key_path != NULL && >+- mysql->options.extension->server_public_key_path != '\0') >++ *mysql->options.extension->server_public_key_path != '\0') >+ { >+ pub_key_file= fopen(mysql->options.extension->server_public_key_path, >+ "r"); > >Property changes on: files/patch-sql-common_client__authentication.cc >___________________________________________________________________ >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 230959
: 196611