Re: phar update
| From: | Greg Beaver | Date: | Sun, 01 Mar 2009 03:34:03 +0000 |
| Subject: | Re: phar update | ||
| References: | 1 2 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-43216@lists.php.net to get a copy of this message | ||
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.
Kalle Sommer Nielsen wrote:
> Hi Greg
>
> 2009/2/21 Greg Beaver <greg@chiaraquartet.net>:
>> 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. This 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? The phar ext is not detected ext/hash, but the test is
not skipping because ext/hash is present in the SKIPIF
> Phar::setStub() (zip-based) [C:\php\src\ext\phar\tests\zip\phar_stub.phpt]
This one is actually troubling, as it looks like a crash is terminating
the test at the second setStub()
I will try to investigate, but if others can confirm this failure on
their windows, that would be helpful.
Thanks,
Greg