Roxen.git / server / modules / filesystems / filesystem.pike

version» Context lines:

Roxen.git/server/modules/filesystems/filesystem.pike:319:    access_as_user = query("access_as_user");    access_as_user_throw = query("access_as_user_throw");    access_as_user_db =    my_configuration()->find_user_database( query("access_as_user_db") );    dotfiles = query(".files");    path = roxen_path(encode_path(query("searchpath")));    mountpoint = query("mountpoint");    stat_cache = query("stat_cache");    internal_files = map(query("internal_files"), encode_path);    -  if (sizeof(path) && !has_suffix(path, "/")) path += "/"; +  // Expand cwd-relative paths, and ensure terminating slash. +  path = combine_path(getcwd(), path, "./");      #if constant(System.normalize_path)    if (catch {    normalized_path = System.normalize_path(path + ".");    }) {    report_error(LOCALE(1, "Path normalization of %s: %s failed.\n"),    path, mountpoint);   #ifdef __NT__    normalized_path = replace(path, "/", "\\");   #else