| 1535 | #endif |
| 1536 | |
| 1537 | static bool dontReadUserWritableDirectory() { |
| 1538 | // Env var mostly for testing purposes and being independent from |
| 1539 | // an existing installation |
| 1540 | const char *envVar = getenv("PROJ_SKIP_READ_USER_WRITABLE_DIRECTORY"); |
| 1541 | return envVar != nullptr && envVar[0] != '\0'; |
| 1542 | } |
| 1543 | |
| 1544 | static void *pj_open_lib_internal( |
| 1545 | PJ_CONTEXT *ctx, const char *name, const char *mode, |
no outgoing calls
no test coverage detected