From commits-return-7341-apmail-apr-commits-archive=apr.apache.org@apr.apache.org Wed Feb 08 06:17:25 2006 Return-Path: Delivered-To: apmail-apr-commits-archive@www.apache.org Received: (qmail 54729 invoked from network); 8 Feb 2006 06:17:24 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 8 Feb 2006 06:17:24 -0000 Received: (qmail 93391 invoked by uid 500); 8 Feb 2006 06:17:15 -0000 Delivered-To: apmail-apr-commits-archive@apr.apache.org Received: (qmail 93315 invoked by uid 500); 8 Feb 2006 06:17:14 -0000 Mailing-List: contact commits-help@apr.apache.org; run by ezmlm Precedence: bulk List-Post: List-Help: List-Unsubscribe: Reply-To: dev@apr.apache.org List-Id: Delivered-To: mailing list commits@apr.apache.org Received: (qmail 93190 invoked by uid 99); 8 Feb 2006 06:17:14 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 07 Feb 2006 22:17:13 -0800 X-ASF-Spam-Status: No, hits=-9.4 required=10.0 tests=ALL_TRUSTED,NO_REAL_NAME X-Spam-Check-By: apache.org Received: from [209.237.227.194] (HELO minotaur.apache.org) (209.237.227.194) by apache.org (qpsmtpd/0.29) with SMTP; Tue, 07 Feb 2006 22:17:12 -0800 Received: (qmail 54479 invoked by uid 65534); 8 Feb 2006 06:16:52 -0000 Message-ID: <20060208061652.54478.qmail@minotaur.apache.org> Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r375869 - /apr/apr/trunk/include/arch/unix/apr_arch_file_io.h Date: Wed, 08 Feb 2006 06:16:51 -0000 To: commits@apr.apache.org From: rooneg@apache.org X-Mailer: svnmailer-1.0.6 X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N Author: rooneg Date: Tue Feb 7 22:16:48 2006 New Revision: 375869 URL: http://svn.apache.org/viewcvs?rev=375869&view=rev Log: Make apr_file_t::filePtr an apr_off_t on unix so that we avoid truncating the offset into the file when working with files over 2 gigabytes in size. * include/arch/unix/apr_arch_file_io.h (apr_file_t::filePtr): Make this an apr_off_t, since we really need the full 64 bits in many cases. Modified: apr/apr/trunk/include/arch/unix/apr_arch_file_io.h Modified: apr/apr/trunk/include/arch/unix/apr_arch_file_io.h URL: http://svn.apache.org/viewcvs/apr/apr/trunk/include/arch/unix/apr_arch_file_io.h?rev=375869&r1=375868&r2=375869&view=diff ============================================================================== --- apr/apr/trunk/include/arch/unix/apr_arch_file_io.h (original) +++ apr/apr/trunk/include/arch/unix/apr_arch_file_io.h Tue Feb 7 22:16:48 2006 @@ -107,7 +107,7 @@ apr_size_t bufsize; /* The size of the buffer */ unsigned long dataRead; /* amount of valid data read into buffer */ int direction; /* buffer being used for 0 = read, 1 = write */ - unsigned long filePtr; /* position in file of handle */ + apr_off_t filePtr; /* position in file of handle */ #if APR_HAS_THREADS struct apr_thread_mutex_t *thlock; #endif