mirror of
https://gitlab.torproject.org/tpo/core/tor.git
synced 2025-02-23 14:40:51 +01:00
Merge remote-tracking branch 'upstream/merge-requests/460' into ahf/android-gp-fixes-bulk
This commit is contained in:
commit
1cf796d3b4
1 changed files with 7 additions and 0 deletions
|
@ -483,6 +483,13 @@ static const config_var_t option_vars_[] = {
|
|||
#ifdef _WIN32
|
||||
V(GeoIPFile, FILENAME, "<default>"),
|
||||
V(GeoIPv6File, FILENAME, "<default>"),
|
||||
#elif defined(__ANDROID__)
|
||||
/* Android apps use paths that are configured at runtime.
|
||||
* /data/local/tmp is guaranteed to exist, but will only be
|
||||
* usable by the 'shell' and 'root' users, so this fallback is
|
||||
* for debugging only. */
|
||||
V(GeoIPFile, FILENAME, "/data/local/tmp/geoip"),
|
||||
V(GeoIPv6File, FILENAME, "/data/local/tmp/geoip6"),
|
||||
#else
|
||||
V(GeoIPFile, FILENAME,
|
||||
SHARE_DATADIR PATH_SEPARATOR "tor" PATH_SEPARATOR "geoip"),
|
||||
|
|
Loading…
Add table
Reference in a new issue