diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 13acc3f..23083fc 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -748,6 +748,7 @@ jobs: api-level: 30 arch: x86_64 script: | + adb root adb push build/tests_android_x86_64 /data/local/tmp/tests adb push build/tests_header_only_android_x86_64 /data/local/tmp/tests_header_only adb shell chmod +x /data/local/tmp/tests /data/local/tmp/tests_header_only diff --git a/include/tinycsocket.h b/include/tinycsocket.h index d0bf52f..8a9abec 100644 --- a/include/tinycsocket.h +++ b/include/tinycsocket.h @@ -29,7 +29,7 @@ #ifndef TINYCSOCKET_INTERNAL_H_ #define TINYCSOCKET_INTERNAL_H_ -static const char* const TCS_VERSION_TXT = "v0.3.62"; +static const char* const TCS_VERSION_TXT = "v0.3.63"; static const char* const TCS_LICENSE_TXT = "Copyright 2018 Markus Lindelöw\n" "\n" @@ -2831,6 +2831,7 @@ static TcsResult errno2retcode(int error_code) case EINPROGRESS: return TCS_IN_PROGRESS; case EPERM: + case EACCES: return TCS_ERROR_PERMISSION_DENIED; case ECONNREFUSED: return TCS_ERROR_CONNECTION_REFUSED; diff --git a/src/tinycsocket_internal.h b/src/tinycsocket_internal.h index a872237..cbe046c 100644 --- a/src/tinycsocket_internal.h +++ b/src/tinycsocket_internal.h @@ -23,7 +23,7 @@ #ifndef TINYCSOCKET_INTERNAL_H_ #define TINYCSOCKET_INTERNAL_H_ -static const char* const TCS_VERSION_TXT = "v0.3.62"; +static const char* const TCS_VERSION_TXT = "v0.3.63"; static const char* const TCS_LICENSE_TXT = "Copyright 2018 Markus Lindelöw\n" "\n" diff --git a/src/tinycsocket_posix.c b/src/tinycsocket_posix.c index a75c1d5..2f46571 100644 --- a/src/tinycsocket_posix.c +++ b/src/tinycsocket_posix.c @@ -187,6 +187,7 @@ static TcsResult errno2retcode(int error_code) case EINPROGRESS: return TCS_IN_PROGRESS; case EPERM: + case EACCES: return TCS_ERROR_PERMISSION_DENIED; case ECONNREFUSED: return TCS_ERROR_CONNECTION_REFUSED;