[PHP-CVS] 回复: [PHP-CVS] com php-src: forked two tests for windows: ext/zlib/tests/bug55544-win.phpt ext/zlib/tests/bug55544.phpt ext/zlib/tests/bug_52944-win.phpt ext/zlib/tests/bug_52944.phpt

2012-09-03 Thread Reeze Xia
Hi Anatoliy,

在 2012年9月3日星期一,下午7:37,Anatoliy Belsky 写道:

 Commit: ff0aa24054c166de64993ef608ccbb8486c64ba5
 Author: Anatoliy Belsky a...@php.net (mailto:a...@php.net) Mon, 3 Sep 2012 
 13:37:34 +0200
 Parents: 33db8c0ef6f46917349fbe07514a06f4f98bff85
 Branches: PHP-5.4 master
  
 Link: 
 http://git.php.net/?p=php-src.git;a=commitdiff;h=ff0aa24054c166de64993ef608ccbb8486c64ba5
  
 Log:
 forked two tests for windows
  
 * bug55544.phpt - VT vs. EXT at the start of the data block,
 but the data can still be decoded correctly
 * bug_52944.phpt works with the corrupted data and has some
 different out
  
 Most likely the ASM optimization under windows is responsible
 for this behaviour.
  
 Bugs:
 https://bugs.php.net/55544
  
 Changed paths:
 A ext/zlib/tests/bug55544-win.phpt
 M ext/zlib/tests/bug55544.phpt
 A ext/zlib/tests/bug_52944-win.phpt
 M ext/zlib/tests/bug_52944.phpt
  
  

https://bugs.php.net/bug.php?id=62962
It output :
'%'
'C'
  
in OSX too, maybe due to the same reason :)
 --  
 PHP CVS Mailing List (http://www.php.net/)
 To unsubscribe, visit: http://www.php.net/unsub.php
  
  
  
  
 附件:  
 - diff_ff0aa24054c166de64993ef608ccbb8486c64ba5.txt
  




[PHP-CVS] 回复: [PHP-CVS] com php-src: forked two tests for windows: ext/zlib/tests/bug55544-win.phpt ext/zlib/tests/bug55544.phpt ext/zlib/tests/bug_52944-win.phpt ext/zlib/tests/bug_52944.phpt

2012-09-03 Thread Reeze Xia
Hi Anatoliy,

I'v attached a patch to https://bugs.php.net/bug.php?id=62962,  
And I test it on the lastest mac os x 10.8 and 10.7, everything looks fine,  
anyway it behavior likes windows :)

Best,

Reeze Xia  

在 2012年9月3日星期一,下午9:43,Anatoliy Belsky 写道:

 Hi Xia,
  
 ok, that might be also due to the ASM parts cause I get no issue with the
 non ASM version under windows. Nevertheless the test works with the
 corrupted data.
  
 Unfortunately I've no macintosh to test that, may be you could fork that
 test for mac?
  
 Cheers
  
 Anatoliy
  
 On Mon, September 3, 2012 13:58, Reeze Xia wrote:
  Hi Anatoliy,
   
  在 2012年9月3日星期一,下午7:37,Anatoliy Belsky 写道:
   
   Commit: ff0aa24054c166de64993ef608ccbb8486c64ba5
   Author: Anatoliy Belsky a...@php.net (mailto:a...@php.net) Mon, 3 Sep 
   2012
   13:37:34 +0200
   Parents: 33db8c0ef6f46917349fbe07514a06f4f98bff85
   Branches: PHP-5.4 master

   Link:
   http://git.php.net/?p=php-src.git;a=commitdiff;h=ff0aa24054c166de64993ef608ccbb8486c64ba5

   Log:
   forked two tests for windows

   * bug55544.phpt - VT vs. EXT at the start of the data block,
   but the data can still be decoded correctly
   * bug_52944.phpt works with the corrupted data and has some
   different out

   Most likely the ASM optimization under windows is responsible
   for this behaviour.

   Bugs:
   https://bugs.php.net/55544

   Changed paths:
   A ext/zlib/tests/bug55544-win.phpt
   M ext/zlib/tests/bug55544.phpt
   A ext/zlib/tests/bug_52944-win.phpt
   M ext/zlib/tests/bug_52944.phpt

   
   
  https://bugs.php.net/bug.php?id=62962
  It output :
  '%'
  'C'
   
  in OSX too, maybe due to the same reason :)
   --
   PHP CVS Mailing List (http://www.php.net/)
   To unsubscribe, visit: http://www.php.net/unsub.php




   附件:
   - diff_ff0aa24054c166de64993ef608ccbb8486c64ba5.txt