Changeset 4955 for geovis


Ignore:
Timestamp:
Jan 28, 2015 3:03:00 AM (9 years ago)
Author:
ldelgass
Message:

move cache to /var/cache/geovis by default

File:
1 edited

Legend:

Unmodified
Added
Removed
  • geovis/trunk/Renderer.cpp

    r4655 r4955  
    9090     (((t2).tv_sec - (t1).tv_sec))*1.0e+3 + (double)((t2).tv_usec - (t1).tv_usec)/1.0e+3)
    9191
     92#ifndef CACHE_DIR
     93#define CACHE_DIR "/var/cache/geovis"
     94#endif
    9295#define BASE_IMAGE "world.tif"
    9396#define PIN_ICON "placemark32.png"
     
    159162{
    160163    std::ostringstream dir;
    161     dir << "/tmp/geovis_cache" << getpid();
     164    dir << CACHE_DIR << "/geovis_cache" << getpid();
    162165    _cacheDir = dir.str();
    163166    const char *path = _cacheDir.c_str();
Note: See TracChangeset for help on using the changeset viewer.