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

version» Context lines:

Roxen.git/server/modules/filesystems/filesystem.pike:1566:    // Check that src and dst refers to different inodes.    // Needed on case insensitive filesystems.    if (!is_same_inode(src_st, dst_st)) {    TRACE_ENTER(sprintf("Deleting destination: %O...\n", new_uri), 0);    mapping(string:mixed) res = recurse_delete_files(new_uri, id);    if (res && (!sizeof (res) || res->error >= 300)) {    privs = 0;    TRACE_LEAVE("");    TRACE_LEAVE("MOVE: Recursive delete failed.");    if (sizeof (res)) -  set_status_for_path (new_uri, res->error, res->rettext); +  set_status_for_path(new_uri, id, res->error, res->rettext);    return ([]);    }    TRACE_LEAVE("Recursive delete ok.");    }    } else {    privs = 0;    TRACE_LEAVE("MOVE: Cannot overwrite directory");    return Roxen.http_status(412);    }    }