* Fix error if username contains a comma character. Reported by
Yang Zhang
+ * Fix harmless glib assertations with "cache=no"
+
2008-07-11 Miklos Szeredi <miklos@szeredi.hu>
* Released 2.1
void cache_invalidate(const char *path)
{
+ if (!cache.on)
+ return;
+
pthread_mutex_lock(&cache.lock);
cache_purge(path);
pthread_mutex_unlock(&cache.lock);
struct node *node;
time_t now;
+ if (!cache.on)
+ return;
+
pthread_mutex_lock(&cache.lock);
if (wrctr == cache.write_ctr) {
node = cache_get(path);