Skip to content
This repository was archived by the owner on Aug 31, 2021. It is now read-only.

Commit b02fed5

Browse files
committed
[[ Bug ]] Do not define HAVE_GETPWNAM for android mysql client builds
This patch comments out the definition of `HAVE_GETPWNAM` for android mysql client builds as the block where it is used calls `endpwent` which is unavailable.
1 parent 16f00ad commit b02fed5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

libmysql/src/config-android.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@
7575
#define HAVE_GETPAGESIZE 1
7676
#define HAVE_GETPASS 1
7777
/* #undef HAVE_GETPASSPHRASE */
78-
#define HAVE_GETPWNAM 1
78+
//#define HAVE_GETPWNAM 1
7979
#define HAVE_GETPWUID 1
8080
#define HAVE_GETRLIMIT 1
8181
#define HAVE_GETRUSAGE 1

0 commit comments

Comments
 (0)