Re: [PHP-DEV] [patch] build_id implementation

2009-01-16 Thread Stanislav Malyshev
Hi! If I got it right it will, when loading a 5.3 extension in 5.2, try to read the extension name from the wrong location and therefor most likely segfault while generating the error message. (it will also try to read zend_debug and zts, of course, but there it should be able to safely read ran

Re: [PHP-DEV] [patch] build_id implementation

2009-01-16 Thread Johannes Schlüter
Hi, On Thu, 2009-01-15 at 17:07 -0800, Stanislav Malyshev wrote: > Index: Zend/zend_modules.h [...] > @@ -70,8 +68,7 @@ > struct _zend_module_entry { > unsigned short size; > unsigned int zend_api; > - unsigned char zend_debug; > - unsigned char zts; > + char *build_id; >

[PHP-DEV] [patch] build_id implementation

2009-01-15 Thread Stanislav Malyshev
Hi! Attached is the patch implementing build ID. Please comment. If no objections are raised I'm going to commit it tomorrow. -- Stanislav Malyshev, Zend Software Architect s...@zend.com http://www.zend.com/ (408)253-8829 MSN: s...@zend.com Index: ext/standard/dl.c =