Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:60734 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 24446 invoked from network); 4 Jun 2012 07:51:06 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 4 Jun 2012 07:51:06 -0000 Authentication-Results: pb1.pair.com header.from=glopes@nebm.ist.utl.pt; sender-id=unknown Authentication-Results: pb1.pair.com smtp.mail=glopes@nebm.ist.utl.pt; spf=permerror; sender-id=unknown Received-SPF: error (pb1.pair.com: domain nebm.ist.utl.pt from 193.136.128.21 cause and error) X-PHP-List-Original-Sender: glopes@nebm.ist.utl.pt X-Host-Fingerprint: 193.136.128.21 smtp1.ist.utl.pt Linux 2.6 Received: from [193.136.128.21] ([193.136.128.21:47182] helo=smtp1.ist.utl.pt) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id B1/4D-45755-4E86CCF4 for ; Mon, 04 Jun 2012 03:51:01 -0400 Received: from localhost (localhost.localdomain [127.0.0.1]) by smtp1.ist.utl.pt (Postfix) with ESMTP id 7BF8D7000427 for ; Mon, 4 Jun 2012 08:50:57 +0100 (WEST) X-Virus-Scanned: by amavisd-new-2.6.4 (20090625) (Debian) at ist.utl.pt Received: from smtp1.ist.utl.pt ([127.0.0.1]) by localhost (smtp1.ist.utl.pt [127.0.0.1]) (amavisd-new, port 10025) with LMTP id nZyM++6UIYsu for ; Mon, 4 Jun 2012 08:50:57 +0100 (WEST) Received: from nebm.ist.utl.pt (unknown [IPv6:2001:690:2100:4::58:1]) by smtp1.ist.utl.pt (Postfix) with ESMTP id 42F517000426 for ; Mon, 4 Jun 2012 08:50:57 +0100 (WEST) Received: from localhost ([127.0.0.1] helo=nebm.ist.utl.pt) by nebm.ist.utl.pt with esmtp (Exim 4.72) (envelope-from ) id 1SbS41-0002xp-3D for internals@lists.php.net; Mon, 04 Jun 2012 08:50:57 +0100 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Date: Mon, 04 Jun 2012 09:50:57 +0200 To: Organization: =?UTF-8?Q?N=C3=BAcleo_de_Engenharia_Biom=C3=A9dica_do_Insti?= =?UTF-8?Q?tuto_Superior_T=C3=A9cnico?= In-Reply-To: References: <000301cb3304$f645b3c0$e2d11b40$@gmail.com> Message-ID: <71f977cb28d9c976fa466962c6a2abf7@nebm.ist.utl.pt> X-Sender: glopes@nebm.ist.utl.pt User-Agent: RoundCube Webmail/0.5.3 Subject: Re: [PHP-DEV] full LFS support From: glopes@nebm.ist.utl.pt (Gustavo Lopes) On Mon, 4 Jun 2012 09:32:51 +0200, Pierre Joye wrote: > On Sun, Jun 3, 2012 at 1:55 PM, Gustavo Lopes > wrote: > >> This most likely would be doable only in the next version as it >> requires >> changing the signatures of extension API functions. >> >> I suggest that you make a pull request *with some tests* (you can >> add a >> function to the debug build to create a large sparse file). I'll >> offer to >> review it then. > > There are other considerations to take care of besides adding simple > LFS support (with limited needs out there). The magic with double and > co is simply not clean and should be done with real 64bit or large > integer support, or it will just be yet another ugly implementation > in > php. > I should tend to agree, but in any case it shouldn't stop us from fixing the streams C API to use the correct types. As a bonus, we'll have LFS support in compilers with 64-bit longs. -- Gustavo Lopes