From:             
Operating system: GNU/Linux (Fedora 15)
PHP version:      5.4.0RC1
Package:          mailparse
Bug Type:         Bug
Bug description:php 5.4 + zts build fails

Description:
------------
Building this extension against PHP 5.4.0RC1 fails.

function_entry should be replace by zend_function_entry

In ZTS mode, zome tsrm_ls are missing, adding TSRMLS_* macro solves this
issue.


Please consider attached patch

Note : build and load fine.
All tests succed.


Expected result:
----------------
=====================================================================
PHP         : /usr/bin/php 
PHP_SAPI    : cli
PHP_VERSION : 5.4.0RC2-dev
ZEND_VERSION: 2.4.0
PHP_OS      : Linux - Linux lovelock.famillecollet.com
2.6.41.1-1.fc15.x86_64 #1 SMP Fri Nov 11 21:36:28 UTC 2011 x86_64
INI actual  : /dev/shm/php-pecl-mailparse-2.1.5/mailparse-2.1.5
More .INIs  :  
CWD         : /dev/shm/php-pecl-mailparse-2.1.5/mailparse-2.1.5
Extra dirs  : 
VALGRIND    : Not used
=====================================================================
TIME START 2011-11-18 18:00:37
=====================================================================
PASS Check for mailparse presence [tests/001.phpt] 
PASS Check stream encoding [tests/002.phpt] 
PASS Check handling of multiple To headers [tests/003.phpt] 
PASS Check uudecode_all [tests/004.phpt] 
PASS Check quoted-printable encoding generates S/MIME safe content
[tests/005.phpt] 
PASS Check extract_part_file [tests/006.phpt] 
PASS Check RFC822 Conformance [tests/007.phpt] 
PASS OO API Segfault when opening a file is not possible [tests/008.phpt] 
PASS Multiple UUE attachments not recognized [tests/009.phpt] 
PASS Multiple headers not parsed into arra bug #6862 [tests/010.phpt] 
PASS Parse messages in testdata dir [tests/parse_test_messages.phpt] 
=====================================================================
TIME END 2011-11-18 18:00:37

=====================================================================
TEST RESULT SUMMARY
---------------------------------------------------------------------
Exts skipped    :    0
Exts tested     :   31
---------------------------------------------------------------------

Number of tests :   11                11
Tests skipped   :    0 (  0.0%) --------
Tests warned    :    0 (  0.0%) (  0.0%)
Tests failed    :    0 (  0.0%) (  0.0%)
Expected fail   :    0 (  0.0%) (  0.0%)
Tests passed    :   11 (100.0%) (100.0%)
---------------------------------------------------------------------
Time taken      :    0 seconds
=====================================================================



-- 
Edit bug report at https://bugs.php.net/bug.php?id=60331&edit=1
-- 
Try a snapshot (PHP 5.4):            
https://bugs.php.net/fix.php?id=60331&r=trysnapshot54
Try a snapshot (PHP 5.3):            
https://bugs.php.net/fix.php?id=60331&r=trysnapshot53
Try a snapshot (trunk):              
https://bugs.php.net/fix.php?id=60331&r=trysnapshottrunk
Fixed in SVN:                        
https://bugs.php.net/fix.php?id=60331&r=fixed
Fixed in SVN and need be documented: 
https://bugs.php.net/fix.php?id=60331&r=needdocs
Fixed in release:                    
https://bugs.php.net/fix.php?id=60331&r=alreadyfixed
Need backtrace:                      
https://bugs.php.net/fix.php?id=60331&r=needtrace
Need Reproduce Script:               
https://bugs.php.net/fix.php?id=60331&r=needscript
Try newer version:                   
https://bugs.php.net/fix.php?id=60331&r=oldversion
Not developer issue:                 
https://bugs.php.net/fix.php?id=60331&r=support
Expected behavior:                   
https://bugs.php.net/fix.php?id=60331&r=notwrong
Not enough info:                     
https://bugs.php.net/fix.php?id=60331&r=notenoughinfo
Submitted twice:                     
https://bugs.php.net/fix.php?id=60331&r=submittedtwice
register_globals:                    
https://bugs.php.net/fix.php?id=60331&r=globals
PHP 4 support discontinued:          
https://bugs.php.net/fix.php?id=60331&r=php4
Daylight Savings:                    https://bugs.php.net/fix.php?id=60331&r=dst
IIS Stability:                       
https://bugs.php.net/fix.php?id=60331&r=isapi
Install GNU Sed:                     
https://bugs.php.net/fix.php?id=60331&r=gnused
Floating point limitations:          
https://bugs.php.net/fix.php?id=60331&r=float
No Zend Extensions:                  
https://bugs.php.net/fix.php?id=60331&r=nozend
MySQL Configuration Error:           
https://bugs.php.net/fix.php?id=60331&r=mysqlcfg

Reply via email to