You've already forked mariadb-connector-c
mirror of
https://github.com/mariadb-corporation/mariadb-connector-c.git
synced 2025-08-08 14:02:17 +03:00
Merge branch '3.1' into 3.3
This commit is contained in:
@@ -175,7 +175,9 @@ static void mariadb_get_install_location()
|
||||
goto end;
|
||||
else {
|
||||
#if defined(__APPLE__)
|
||||
unsigned int len= PATH_MAX;
|
||||
// If reading the path was successful, then *bufsize is
|
||||
// unchanged.
|
||||
unsigned int len= PATH_MAX - 1;
|
||||
if (_NSGetExecutablePath(p, &len) != 0)
|
||||
*p= 0;
|
||||
else
|
||||
|
Reference in New Issue
Block a user