Return-Path: Delivered-To: apmail-httpd-cvs-archive@www.apache.org Received: (qmail 42540 invoked from network); 9 Nov 2009 14:11:04 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 9 Nov 2009 14:11:04 -0000 Received: (qmail 44790 invoked by uid 500); 9 Nov 2009 14:11:04 -0000 Delivered-To: apmail-httpd-cvs-archive@httpd.apache.org Received: (qmail 44706 invoked by uid 500); 9 Nov 2009 14:11:04 -0000 Mailing-List: contact cvs-help@httpd.apache.org; run by ezmlm Precedence: bulk Reply-To: dev@httpd.apache.org list-help: list-unsubscribe: List-Post: List-Id: Delivered-To: mailing list cvs@httpd.apache.org Received: (qmail 44697 invoked by uid 99); 9 Nov 2009 14:11:04 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 09 Nov 2009 14:11:04 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.4] (HELO eris.apache.org) (140.211.11.4) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 09 Nov 2009 14:11:01 +0000 Received: by eris.apache.org (Postfix, from userid 65534) id CE19A238886D; Mon, 9 Nov 2009 14:10:40 +0000 (UTC) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r834073 - /httpd/httpd/trunk/modules/dav/fs/repos.c Date: Mon, 09 Nov 2009 14:10:35 -0000 To: cvs@httpd.apache.org From: sf@apache.org X-Mailer: svnmailer-1.0.8 Message-Id: <20091109141040.CE19A238886D@eris.apache.org> X-Virus-Checked: Checked by ClamAV on apache.org Author: sf Date: Mon Nov 9 14:10:31 2009 New Revision: 834073 URL: http://svn.apache.org/viewvc?rev=834073&view=rev Log: Fix litmus warning: According to RFC2518, COPY to non-existant collection should give 409 CONFLICT. Modified: httpd/httpd/trunk/modules/dav/fs/repos.c Modified: httpd/httpd/trunk/modules/dav/fs/repos.c URL: http://svn.apache.org/viewvc/httpd/httpd/trunk/modules/dav/fs/repos.c?rev=834073&r1=834072&r2=834073&view=diff ============================================================================== --- httpd/httpd/trunk/modules/dav/fs/repos.c (original) +++ httpd/httpd/trunk/modules/dav/fs/repos.c Mon Nov 9 14:10:31 2009 @@ -204,6 +204,7 @@ /* returns an appropriate HTTP status code given an APR status code for a * failed I/O operation. ### use something besides 500? */ #define MAP_IO2HTTP(e) (APR_STATUS_IS_ENOSPC(e) ? HTTP_INSUFFICIENT_STORAGE : \ + APR_STATUS_IS_ENOENT(e) ? HTTP_CONFLICT : \ HTTP_INTERNAL_SERVER_ERROR) /* forward declaration for internal treewalkers */