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

version» Context lines:

Roxen.git/server/modules/filesystems/filesystem.pike:1821:    TRACE_LEAVE("COPY: Deletion not allowed.");    TRACE_LEAVE("");    return Roxen.http_status(405, "Not allowed.");    }    object privs;    SETUID_TRACE("Deleting destination", 0);    if (dest_st->isdir) {    int start_ms_size = id->multi_status_size();    recursive_rm(dest_path, mountpoint + dest, 1, id);    -  werror ("dest_path %O\n", dest_path); +     if (!rm(dest_path) && errno() != System.ENOENT) {    privs = 0;    if (id->multi_status_size() > start_ms_size) {    if (errno() != System.EEXIST   #if constant (System.ENOTEMPTY)    && errno() != System.ENOTEMPTY   #endif    )    {    TRACE_LEAVE("");