Return-Path: X-Original-To: apmail-subversion-dev-archive@minotaur.apache.org Delivered-To: apmail-subversion-dev-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id A055E18914 for ; Fri, 7 Aug 2015 18:54:09 +0000 (UTC) Received: (qmail 20261 invoked by uid 500); 7 Aug 2015 18:53:55 -0000 Delivered-To: apmail-subversion-dev-archive@subversion.apache.org Received: (qmail 20210 invoked by uid 500); 7 Aug 2015 18:53:55 -0000 Mailing-List: contact dev-help@subversion.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Delivered-To: mailing list dev@subversion.apache.org Received: (qmail 20200 invoked by uid 99); 7 Aug 2015 18:53:54 -0000 Received: from Unknown (HELO spamd2-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 07 Aug 2015 18:53:54 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd2-us-west.apache.org (ASF Mail Server at spamd2-us-west.apache.org) with ESMTP id 5B2FC1A9A4B for ; Fri, 7 Aug 2015 18:53:54 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd2-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: -0.1 X-Spam-Level: X-Spam-Status: No, score=-0.1 tagged_above=-999 required=6.31 tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, SPF_PASS=-0.001, URIBL_BLOCKED=0.001] autolearn=disabled Authentication-Results: spamd2-us-west.apache.org (amavisd-new); dkim=pass (1024-bit key) header.d=wandisco.com Received: from mx1-eu-west.apache.org ([10.40.0.8]) by localhost (spamd2-us-west.apache.org [10.40.0.9]) (amavisd-new, port 10024) with ESMTP id RpLnkjgrd2hz for ; Fri, 7 Aug 2015 18:53:46 +0000 (UTC) Received: from mail-wi0-f173.google.com (mail-wi0-f173.google.com [209.85.212.173]) by mx1-eu-west.apache.org (ASF Mail Server at mx1-eu-west.apache.org) with ESMTPS id C01DC20CF5 for ; Fri, 7 Aug 2015 18:53:45 +0000 (UTC) Received: by wicgj17 with SMTP id gj17so72024187wic.1 for ; Fri, 07 Aug 2015 11:53:45 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=wandisco.com; s=gapps; h=message-id:date:from:organization:user-agent:mime-version:to :subject:references:in-reply-to:content-type :content-transfer-encoding; bh=rElGhJE3TdZrhvkYArSLziJ6duq7eBIDnQPtJbkqHYs=; b=Bb8azSOykv37syODSFjGHDhPBxbtIN1FKeF3L4Q/YWQiVHVH87SShOwRIsBCf51QPR 8HKhvB28eDq5SAaMgJLeZroMv4LQiKmp8g0BdLkrTNkEAWAojmb/iVxID2pE8seZOWNx K71g77fVwZBbdDWtBex0LEjIuiT1YiRkFBORE= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:message-id:date:from:organization:user-agent :mime-version:to:subject:references:in-reply-to:content-type :content-transfer-encoding; bh=rElGhJE3TdZrhvkYArSLziJ6duq7eBIDnQPtJbkqHYs=; b=kZGLiAjc2HlNknJsSXWx+v0/0I5Nl83ADfmesv+USinqmObGtdgMatQbP4frZzUafI Wn1VBtD+dnKj+ec4zNrrEw5buZjgBhT8bcr7vfADJlrrvg7//ZYrm9MsrX/NNoni3vmq YB+DbdgoxWwL+sHJxQzZa3nNO2D06CRhg29Zxj428XEOek9UtrGEVtbE+9qcP5GUYdGV XxA7HjLGKy65RBZAxKRyCCEvqdm9AlLGIJyAusaQSfQZFbpa3L7qlpdR9ZJ2EYo4RDlI bUr/Kj5wTO07P9nuVCdbP+XITS3XDu6NqfWhmPpSucFKCk1E7hvdTWzKmVCeroA+uKVs ZUoA== X-Gm-Message-State: ALoCoQlHg/oMIMBzBr1gDv415fi0mmMnTOkuOsoT969m37o/mcJnAFLaY4PBiXr9BONImjnDjqF7 X-Received: by 10.180.81.100 with SMTP id z4mr8913391wix.8.1438973625433; Fri, 07 Aug 2015 11:53:45 -0700 (PDT) Received: from zulu.23.e-reka.si (cpe-90-157-247-142.dynamic.amis.net. [90.157.247.142]) by smtp.gmail.com with ESMTPSA id gm20sm15895233wjc.17.2015.08.07.11.53.44 for (version=TLSv1 cipher=RC4-SHA bits=128/128); Fri, 07 Aug 2015 11:53:44 -0700 (PDT) Received: from zulu.23.e-reka.si (localhost [127.0.0.1]) by zulu.23.e-reka.si (Postfix) with ESMTP id 116FCF4A0CB6 for ; Fri, 7 Aug 2015 20:53:43 +0200 (CEST) Message-ID: <55C4FEB6.1060602@wandisco.com> Date: Fri, 07 Aug 2015 20:53:42 +0200 From: =?UTF-8?B?QnJhbmtvIMSMaWJlag==?= Organization: WANdisco User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.10; rv:31.0) Gecko/20100101 Thunderbird/31.7.0 MIME-Version: 1.0 To: dev@subversion.apache.org Subject: Re: svn commit: r1694502 [1/6] - in /subversion/trunk: ./ notes/subversion/include/private/ subversion/libsvn_fs_x/ subversion/libsvn_subr/subversion/tests/cmdline/ subversion/tests/libsvn_fs/subversion/tests/libsvn_fs_x/ References: <20150806140457.8CF36AC0335@hades.apache.org> <55c3faf3.0d3dc20a.7732.ffffc434@mx.google.com> In-Reply-To: Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit On 07.08.2015 15:02, Stefan Fuhrmann wrote: > On Fri, Aug 7, 2015 at 1:25 AM, > wrote: > > [And now to the proper list] > > > > On the buildbots I see > > [[[ > > ..\..\..\subversion\tests\libsvn_fs_x\fs-x-pack-test.c:873, > > ..\..\..\subversion\libsvn_fs_x\batch_fsync.c:386, > > ..\..\..\subversion\libsvn_fs_x\batch_fsync.c:343, > > ..\..\..\subversion\libsvn_subr\io.c:3515: (apr_err=720005) > > svn_tests: E720005: Can't open file 'E:\svn-local\tests\subversion\tests\libsvn_fs_x': Access is denied. > > FAIL: fs-x-pack-test 13: test batch fsync > > ]]] > > after this commit > > > > It looks like the batch fsync introduced in this patch is trying > to open a directory as a file? > > That is not going to work on Windows, and probably on more > platforms. Opening a directory requires other functions. > > Note that this code is called inside a 'SVN_ON_POSIX' block, which > I would assume shouldn't be active on Windows. > > Yup, that's where the bug is / was. It must be "#if SVN_ON_POSIX" > instead of "#ifdef SVN_ON_POSIX". Fixed in r1694669. Actually, we have a bit of a tradition for using #ifdef everywhere; Julian made a number of changes during 1.9 development to make that consistent. Would be great if the SVN_ON_POSIX symbol followed that pattern. -- Brane