Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:43217 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 36703 invoked from network); 1 Mar 2009 05:20:29 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 1 Mar 2009 05:20:29 -0000 Authentication-Results: pb1.pair.com header.from=kalle.php@gmail.com; sender-id=pass; domainkeys=bad Authentication-Results: pb1.pair.com smtp.mail=kalle.php@gmail.com; spf=pass; sender-id=pass Received-SPF: pass (pb1.pair.com: domain gmail.com designates 209.85.218.180 as permitted sender) DomainKey-Status: bad X-DomainKeys: Ecelerity dk_validate implementing draft-delany-domainkeys-base-01 X-PHP-List-Original-Sender: kalle.php@gmail.com X-Host-Fingerprint: 209.85.218.180 mail-bw0-f180.google.com Received: from [209.85.218.180] ([209.85.218.180:58554] helo=mail-bw0-f180.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 46/BC-48743-B1B1AA94 for ; Sun, 01 Mar 2009 00:20:28 -0500 Received: by bwz28 with SMTP id 28so1626315bwz.23 for ; Sat, 28 Feb 2009 21:20:24 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:sender:received:in-reply-to :references:date:x-google-sender-auth:message-id:subject:from:to:cc :content-type:content-transfer-encoding; bh=Qoa9vOGgzLp6pDU+JgdhJmYdJuEliS4+GZQPcFykIjU=; b=W7G74EopaTJcFcEXyykzE21qS6Md26znKGlUdnn8rQt9BOXNY/xqEA3Y9zxyK2/3gE L9CZHidfNFKqcaii4ReI8SPPY0ZwDJZnwC45gswO1j/4gk4QDjtDwhuGLo7heQT3y0Dg I0IUkPnKzN+pfmAwmA4Jan2S8ubWZUdTh9POc= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:sender:in-reply-to:references:date :x-google-sender-auth:message-id:subject:from:to:cc:content-type :content-transfer-encoding; b=x4hIqxeehE5w+pic1/kqmJOmpq7UAIOQ/QVdUZSE1qPJF6UT37ReslTmZmBV9SazSZ 9CU0aApGIwmfKZ9Tv5g1bnxRCMkbPmV4xh5vIOS9Pqm47kIDGtouWWYZnPCwy9xPYA5B 3R3tlT/80ENuer13TNVzRXlRpYjUoAUzESGxo= MIME-Version: 1.0 Sender: kalle.php@gmail.com Received: by 10.181.135.5 with SMTP id m5mr1569170bkn.33.1235884824377; Sat, 28 Feb 2009 21:20:24 -0800 (PST) In-Reply-To: <49AA022B.1040701@chiaraquartet.net> References: <499F76C6.4010601@chiaraquartet.net> <2dedb8a0902210755g1b6268f8p34058d23203e0631@mail.gmail.com> <49AA022B.1040701@chiaraquartet.net> Date: Sun, 1 Mar 2009 06:20:24 +0100 X-Google-Sender-Auth: a23ef3e4f2f7133b Message-ID: <2dedb8a0902282120n42fcf625ge8ccc7d82fb7e23d@mail.gmail.com> To: Greg Beaver Cc: PHP Developers Mailing List Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Subject: Re: [PHP-DEV] phar update From: kalle@php.net (Kalle Sommer Nielsen) Hi Greg 2009/3/1 Greg Beaver : > hi Kalle, > > Thank you very much for your work on this, it is much appreciated. > Sorry for the delay in replying, I have been out of town for a while. No problem :) > > Kalle Sommer Nielsen wrote: >> Hi Greg >> >> 2009/2/21 Greg Beaver : >>> Hi, >>> >>> [snip] >> >> Good work! >> >>> I do need some help verifying phar as working with the following >>> configurations: >>> >>> any endian any unix with intel CC >>> any Windows Vista >>> 64-bit Windows XP >>> any other supported OS/compiler/processor combo I didn't list. >> >> I tested phar under 5.3-cvs and HEAD with Windows Vista 32bit little >> endian and VC9. >> >> Theres only one compilation warning which only exists in HEAD: >> ext\phar\func_interceptors.c(101) : warning C4101: 'newlen' : >> unreferenced local variable >> >> However tests wise then the following tests fails in 5.3-cvs: >> Phar front controller with mounted external file >> [C:\php\src\ext\phar\tests\front.phar.phpt] > > It appears that this test is not line-ending agnostic, and I'm about to > commit a fix, as the problem is simply the length of the string is 172 > instead of 167 due to extra \r. =A0This is very good news :) > >> Phar::getSupportedSignatures() >> [C:\php\src\ext\phar\tests\phar_get_supported_signatures_002.phpt] > > This one is perplexing - I wonder if you have built ext/hash statically > or as a .dll? =A0The phar ext is not detected ext/hash, but the test is > not skipping because ext/hash is present in the SKIPIF ext/hash was built staticlly (default) I looked into the issue and it seems like PHAR_HASH_OK isn't getting defined, so I assume its a missing AC_DEFINE call in config.w32, so something along the lines of the following should do if ext/hash is built staticlly: if(PHP_HASH !=3D "no" && !PHP_HASH_SHARED) { AC_DEFINE("PHAR_HASH_OK", 1); } using the above code in config.w32 and then buildconf, configure, nmake and run-tests on that test makes it pass but the test will still fail if ext/hash is built as shared ofcourse. > >> Phar::setStub() (zip-based) [C:\php\src\ext\phar\tests\zip\phar_stub.php= t] > > This one is actually troubling, as it looks like a crash is terminating > the test at the second setStub() I did some more tests and a couple of fresh checkouts and builds and this test does not fail anymore for me, if anyone can confirm it would be good. > > I will try to investigate, but if others can confirm this failure on > their windows, that would be helpful. > > Thanks, > Greg > --=20 Kalle Sommer Nielsen kalle@php.net