Lines Matching defs:path
213 char path[PATH_MAX];
216 snprintf(path, sizeof(path), "%s/files.db", db_path);
217 if( access(path, F_OK) != 0 )
222 if( sqlite3_open(path, &db) != SQLITE_OK )
275 char * path;
380 path = realpath(myval ? myval:ary_options[i].value, real_path);
381 if( !path )
382 path = (myval ? myval:ary_options[i].value);
383 if( access(path, F_OK) != 0 )
386 path);
390 this_dir->path = strdup(path);
428 path = realpath(ary_options[i].value, real_path);
429 if( !path )
430 path = (ary_options[i].value);
431 make_dir(path, S_ISVTX|S_IRWXU|S_IRWXG|S_IRWXO);
432 if( access(path, F_OK) != 0 )
434 DPRINTF(E_FATAL, L_GENERAL, "Database path not accessible! [%s]\n", path);
437 strncpy(db_path, path, PATH_MAX);
807 free(media_path->path);
1134 free(media_path->path);