Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:32818 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 43257 invoked by uid 1010); 16 Oct 2007 22:16:28 -0000 Delivered-To: ezmlm-scan-internals@lists.php.net Delivered-To: ezmlm-internals@lists.php.net Received: (qmail 43242 invoked from network); 16 Oct 2007 22:16:28 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 16 Oct 2007 22:16:28 -0000 Authentication-Results: pb1.pair.com header.from=stas@zend.com; sender-id=pass Authentication-Results: pb1.pair.com smtp.mail=stas@zend.com; spf=pass; sender-id=pass Received-SPF: pass (pb1.pair.com: domain zend.com designates 212.25.124.162 as permitted sender) X-PHP-List-Original-Sender: stas@zend.com X-Host-Fingerprint: 212.25.124.162 mail.zend.com Windows 2000 SP4, XP SP1 Received: from [212.25.124.162] ([212.25.124.162:43330] helo=mx1.zend.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 30/62-25624-A3835174 for ; Tue, 16 Oct 2007 18:16:28 -0400 Received: from us-ex1.zend.com ([192.168.16.5]) by mx1.zend.com with Microsoft SMTPSVC(6.0.3790.3959); Wed, 17 Oct 2007 00:16:18 +0200 Received: from [192.168.17.17] ([192.168.17.17]) by us-ex1.zend.com with Microsoft SMTPSVC(6.0.3790.1830); Tue, 16 Oct 2007 15:16:14 -0700 Message-ID: <4715382F.9040906@zend.com> Date: Tue, 16 Oct 2007 15:16:15 -0700 Organization: Zend Technologies User-Agent: Thunderbird 2.0.0.6 (Windows/20070728) MIME-Version: 1.0 To: Wez Furlong CC: internals@lists.php.net References: <64ED731E-CA44-498E-9AF9-C9B00037B863@omniti.com> <4713A637.7070100@zend.com> <0FF7924D-52E6-4B22-B494-6E252477B389@omniti.com> In-Reply-To: <0FF7924D-52E6-4B22-B494-6E252477B389@omniti.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-OriginalArrivalTime: 16 Oct 2007 22:16:14.0150 (UTC) FILETIME=[2A2C6E60:01C81042] Subject: Re: [PHP-DEV] Large file support for PHP From: stas@zend.com (Stanislav Malyshev) > Yes, the patch does that; it turns on LFS in the headers, which promotes > the off_t and size_t types that are used by streams to the 64-bit > versions. This is the one liner in configure.in. > The other larger part of the patch is to make PHP functions capable of > returning and accepting numbers that are too big to fit into a long. I think it's better to do it in .h file and not CFLAGS (or both?) so that if somebody includes PHP headers they would always get the same result. This would prevent one from building incompatible module. Is it guaranteed that once you have this define you would always get the same result on all builds (regardless of libc difference, etc.)? -- Stanislav Malyshev, Zend Software Architect stas@zend.com http://www.zend.com/ (408)253-8829 MSN: stas@zend.com