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

version» Context lines:

Roxen.git/server/modules/filesystems/filesystem.pike:327:    internal_files = map(query("internal_files"), encode_path);       if (sizeof(path) && !has_suffix(path, "/")) 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    normalized_path = path; -  + #endif    }   #else /* !constant(System.normalize_path) */    normalized_path = path;   #endif /* constant(System.normalize_path) */    if ((normalized_path != "") && !(<'/','\\'>)[normalized_path[-1]]) {   #ifdef __NT__    normalized_path += "\\";   #else /* !__NT__ */    normalized_path += "/";   #endif /* __NT__ */