Overview
| Comment: | Updated to only emit debugging output for debugging builds |
|---|---|
| Downloads: | Tarball | ZIP archive | SQL archive |
| Timelines: | family | ancestors | descendants | both | trunk |
| Files: | files | file ages | folders |
| SHA1: |
ddfec93915bb2e5283b906c8e27e1136 |
| User & Date: | rkeene on 2014-09-18 17:48:58 |
| Other Links: | manifest | tags |
Context
|
2014-09-18
| ||
| 17:49 | Added SQLite indexes to tables for faster lookup check-in: 222e571ce8 user: rkeene tags: trunk | |
| 17:48 | Updated to only emit debugging output for debugging builds check-in: ddfec93915 user: rkeene tags: trunk | |
| 17:48 | Removed extraneous debugging flags added check-in: 1dc40567db user: rkeene tags: trunk | |
Changes
Modified appfsd.c from [45ff02ebc8] to [4990aac269].
| ︙ | ︙ | |||
13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 |
#include <fuse.h>
#include <tcl.h>
#ifndef APPFS_CACHEDIR
#define APPFS_CACHEDIR "/var/cache/appfs"
#endif
#define APPFS_DEBUG(x...) { fprintf(stderr, "[debug] %s:%i:%s: ", __FILE__, __LINE__, __func__); fprintf(stderr, x); fprintf(stderr, "\n"); }
static pthread_key_t interpKey;
struct appfs_thread_data {
sqlite3 *db;
const char *cachedir;
time_t boottime;
| > > > > | 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 |
#include <fuse.h>
#include <tcl.h>
#ifndef APPFS_CACHEDIR
#define APPFS_CACHEDIR "/var/cache/appfs"
#endif
#ifdef DEBUG
#define APPFS_DEBUG(x...) { fprintf(stderr, "[debug] %s:%i:%s: ", __FILE__, __LINE__, __func__); fprintf(stderr, x); fprintf(stderr, "\n"); }
#else
#define APPFS_DEBUG(x...) /**/
#endif
static pthread_key_t interpKey;
struct appfs_thread_data {
sqlite3 *db;
const char *cachedir;
time_t boottime;
|
| ︙ | ︙ |