Diff

Differences From Artifact [45ff02ebc8]:

To Artifact [4990aac269]:


    13     13   #include <fuse.h>
    14     14   #include <tcl.h>
    15     15   
    16     16   #ifndef APPFS_CACHEDIR
    17     17   #define APPFS_CACHEDIR "/var/cache/appfs"
    18     18   #endif
    19     19   
           20  +#ifdef DEBUG
    20     21   #define APPFS_DEBUG(x...) { fprintf(stderr, "[debug] %s:%i:%s: ", __FILE__, __LINE__, __func__); fprintf(stderr, x); fprintf(stderr, "\n"); }
           22  +#else
           23  +#define APPFS_DEBUG(x...) /**/
           24  +#endif
    21     25   
    22     26   static pthread_key_t interpKey;
    23     27   
    24     28   struct appfs_thread_data {
    25     29   	sqlite3 *db;
    26     30   	const char *cachedir;
    27     31   	time_t boottime;