Return-Path: X-Original-To: apmail-subversion-commits-archive@minotaur.apache.org Delivered-To: apmail-subversion-commits-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 63E48102C0 for ; Thu, 22 Aug 2013 19:27:50 +0000 (UTC) Received: (qmail 86421 invoked by uid 500); 22 Aug 2013 19:27:44 -0000 Delivered-To: apmail-subversion-commits-archive@subversion.apache.org Received: (qmail 86373 invoked by uid 500); 22 Aug 2013 19:27:42 -0000 Mailing-List: contact commits-help@subversion.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@subversion.apache.org Delivered-To: mailing list commits@subversion.apache.org Received: (qmail 86365 invoked by uid 99); 22 Aug 2013 19:27:40 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 22 Aug 2013 19:27:40 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=5.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; Thu, 22 Aug 2013 19:27:39 +0000 Received: from eris.apache.org (localhost [127.0.0.1]) by eris.apache.org (Postfix) with ESMTP id 5B97F23888E2; Thu, 22 Aug 2013 19:27:19 +0000 (UTC) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r1516544 - in /subversion/branches/1.8.x: ./ STATUS subversion/libsvn_fs_fs/fs_fs.c Date: Thu, 22 Aug 2013 19:27:19 -0000 To: commits@subversion.apache.org From: breser@apache.org X-Mailer: svnmailer-1.0.9 Message-Id: <20130822192719.5B97F23888E2@eris.apache.org> X-Virus-Checked: Checked by ClamAV on apache.org Author: breser Date: Thu Aug 22 19:27:18 2013 New Revision: 1516544 URL: http://svn.apache.org/r1516544 Log: Merge r1516429 from trunk: * r1516429 Cast to ensure int size matches format specifier. Justification: If the error condition triggers the message could be bogus on 32-bit platforms. Votes: +1: philip, danielsh, rhuijben Modified: subversion/branches/1.8.x/ (props changed) subversion/branches/1.8.x/STATUS subversion/branches/1.8.x/subversion/libsvn_fs_fs/fs_fs.c Propchange: subversion/branches/1.8.x/ ------------------------------------------------------------------------------ Merged /subversion/trunk:r1516429 Modified: subversion/branches/1.8.x/STATUS URL: http://svn.apache.org/viewvc/subversion/branches/1.8.x/STATUS?rev=1516544&r1=1516543&r2=1516544&view=diff ============================================================================== --- subversion/branches/1.8.x/STATUS (original) +++ subversion/branches/1.8.x/STATUS Thu Aug 22 19:27:18 2013 @@ -120,14 +120,6 @@ Veto-blocked changes: Approved changes: ================= - * r1516429 - Cast to ensure int size matches format specifier. - Justification: - If the error condition triggers the message could be bogus on 32-bit - platforms. - Votes: - +1: philip, danielsh, rhuijben - * r1516271 svnwcsub: Fix creation of pid files. Justification: Modified: subversion/branches/1.8.x/subversion/libsvn_fs_fs/fs_fs.c URL: http://svn.apache.org/viewvc/subversion/branches/1.8.x/subversion/libsvn_fs_fs/fs_fs.c?rev=1516544&r1=1516543&r2=1516544&view=diff ============================================================================== --- subversion/branches/1.8.x/subversion/libsvn_fs_fs/fs_fs.c (original) +++ subversion/branches/1.8.x/subversion/libsvn_fs_fs/fs_fs.c Thu Aug 22 19:27:18 2013 @@ -3741,8 +3741,9 @@ parse_packed_revprops(svn_fs_t *fs, return svn_error_createf(SVN_ERR_FS_CORRUPT, NULL, _("Revprop pack for revision r%ld" " contains revprops for r%ld .. r%ld"), - revprops->revision, first_rev, - first_rev + count -1); + revprops->revision, + (svn_revnum_t)first_rev, + (svn_revnum_t)(first_rev + count -1)); /* Since start & end are in the same shard, it is enough to just test * the FIRST_REV for being actually packed. That will also cover the @@ -3751,7 +3752,7 @@ parse_packed_revprops(svn_fs_t *fs, return svn_error_createf(SVN_ERR_FS_CORRUPT, NULL, _("Revprop pack for revision r%ld" " starts at non-packed revisions r%ld"), - revprops->revision, first_rev); + revprops->revision, (svn_revnum_t)first_rev); /* make PACKED_REVPROPS point to the first char after the header. * This is where the serialized revprops are. */