Re: [PHP-DEV] tsrm_ls

2006-04-13 Thread Kamesh Jayachandran
Hi Richard, I think LS=LIST CC=Comma(,) Call (, tsrm_ls) DC = Comma(,) Declare(, void ***tsrm_ls) With regards Kamesh Jayachandran Richard Lynch wrote: I'm trying to grok PHP Source, and I suspect I've missed some Beginner guide somewhere. I'm looking at the TSRM*_* data types in the header

Re: [PHP-DEV] Known Security Risks in PHP

2005-11-09 Thread Kamesh Jayachandran
Hi, Stefan's http://www.hardened-php.net/advisories.15.html might be what you look at. With regards Kamesh Jayachandran On Thu, 10 Nov 2005 10:02:55 +0530, R, Rajesh (STSD) [EMAIL PROTECTED] said: Hello there, Is there a specific web resource for known SSRT's(Security risks) in PHP

[PHP-DEV] change of variable name from tzname to formal_tzname

2005-10-07 Thread Kamesh Jayachandran
to change the tzname to vague ___tzname function call in php_date_parse_tzfile(). Changing the variable name tzname to formal_tzname or anything more pleasing in php_date_parse_tzfile should fix it. http://puggy.symonds.net/~kameshj/php_date.c.patch Can you check in this? With regards Kamesh

[PHP-DEV] php build fails on php5_1

2005-09-26 Thread Kamesh Jayachandran
This seems to fix http://puggy.symonds.net/~kameshj/ext_pdo_sqlite_sqlite_statement.c.patch with regards Kamesh Jayachandran -- http://www.fastmail.fm - Accessible with your email software or over the web -- PHP Internals - PHP Runtime Development Mailing List

[PHP-DEV] what happened to php-5.0.* snaps in http://snaps.php.net

2005-09-15 Thread Kamesh Jayachandran
Hi All, I could not see the latest snaps of php-5.0.6-dev on http://snaps.php.net. But still could I could get http://snaps.php.net/php5-STABLE-latest.tar.bz2. With regards Kamesh Jayachandran -- http://www.fastmail.fm - A fast, anti-spam email service. -- PHP Internals - PHP Runtime

Re: [PHP-DEV] what happened to php-5.0.* snaps in http://snaps.php.nett

2005-09-15 Thread Kamesh Jayachandran
Thanks Zeev and Jani for the clarification. As long as http://snaps.php.net/php5-STABLE-latest.tar.bz2 is available, I have no issues about what is shown in the web. With regards Kamesh Jayachandran On Thu, 15 Sep 2005 18:17:33 +0300, Zeev Suraski [EMAIL PROTECTED] said: Jani, 5_0 is not dead

Re: [PHP-DEV] 5.0.6-dev build failure

2005-09-12 Thread Kamesh Jayachandran
the difference between the 2 parse.y files). Can someone do something needful in this regard. With regards Kamesh Jayachandran On Thu, 08 Sep 2005 17:01:48 +0530, Kamesh Jayachandran [EMAIL PROTECTED] said: Keep getting the, /root/kamesh/work/php5_0/php-src/ext/sqlite/libsqlite/src/parse.y:3.13-19: parse

Re: [PHP-DEV] 5.0.6-dev build failure

2005-09-12 Thread Kamesh Jayachandran
Hi All, Seems like Hartmut Holzgraefe had fixed the same issue for 5.1 tree on May 30th 2005. Can I reapply the same to 5.0 tree. Adding http://ductape.net/~kameshj/Makefile.frag to ext/sqlite/ http://ductape.net/~kameshj/sqliteconfig.m4.patch With regards Kamesh Jayachandran On Mon, 12 Sep

[PHP-DEV] 5.0.6-dev build failure

2005-09-08 Thread Kamesh Jayachandran
Keep getting the, /root/kamesh/work/php5_0/php-src/ext/sqlite/libsqlite/src/parse.y:3.13-19: parse error, unexpected {...} make: *** [/root/kamesh/work/php5_0/php-src/ext/sqlite/libsqlite/src/parse.c] Error 1 Can someone look at it. With regards Kamesh Jayachandran -- http://www.fastmail.fm

[PHP-DEV] Re: realpath is not available in all LibCs

2005-08-16 Thread Kamesh Jayachandran
Thanks sara for responding. Will write a snippet to address this and get back to you. With regards Kamesh Jayachandran On Thu, 11 Aug 2005 07:52:56 -0700, Sara Golemon [EMAIL PROTECTED] said: Version PHP 5.1 file main/php_init.c function int php_init_config() uses realpath. In NetWare our

[PHP-DEV] realpath is not available in all LibCs

2005-08-11 Thread Kamesh Jayachandran
not this be in TSRM/tsrm_virtual_cwd.h so that it will work in all the cases. Can I go ahead and checkin this? With regards Kamesh Jayachandran -- http://www.fastmail.fm - Does exactly what it says on the tin -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http

Re: [PHP-DEV] Any reasons for not making exif and sockets extensions dynamically loadable.

2005-08-06 Thread Kamesh Jayachandran
) Can i checkin this? With regards Kamesh Jayachandran On Fri, 5 Aug 2005 23:58:39 +0300 (EEST), Jani Taskinen [EMAIL PROTECTED] said: On Fri, 5 Aug 2005, Kamesh Jayachandran wrote: Hi All, I could not build exif and sockets extension as a shared extension(Our php set up is like windows

[PHP-DEV] Any reasons for not making exif and sockets extensions dynamically loadable.

2005-08-05 Thread Kamesh Jayachandran
would do the needful. Patch is available at, http://puggy.symonds.net/~kameshj/sockets.config.m4.patch http://puggy.symonds.net/~kameshj/exif.config.m4.patch Can I checkin this? With regards Kamesh Jayachandran -- http://www.fastmail.fm - The professional email service -- PHP Internals - PHP

Re: [PHP-DEV] HEAD compile failure in pdo extension

2005-07-29 Thread Kamesh Jayachandran
Hi Joe, It fixes it. Thanks. With regards Kamesh Jayachandran On Fri, 29 Jul 2005 09:20:04 +0100, Joe Orton [EMAIL PROTECTED] said: On Thu, Jul 28, 2005 at 03:46:09PM +0530, Kamesh Jayachandran wrote: In file included from /root/kamesh/work/php-src/ext/pdo_sqlite/pdo_sqlite.c:31: /root

[PHP-DEV] HEAD compile failure in pdo extension

2005-07-28 Thread Kamesh Jayachandran
/pdo_sqlite/php_pdo_sqlite_int.h:58: syntax error before ':' token /root/kamesh/work/php-src/ext/pdo_sqlite/php_pdo_sqlite_int.h:59: syntax error before ':' token With regards Kamesh Jayachandran -- http://www.fastmail.fm - The way an email service should be -- PHP Internals - PHP Runtime Development

Re: [PHP-DEV] HAVE_INT32_T check in ext/date/lib/timelib_structs.h(php 5.1)

2005-06-30 Thread Kamesh Jayachandran
Kamesh Jayachandran On Wed, 29 Jun 2005 21:09:31 +0200 (CEST), Derick Rethans [EMAIL PROTECTED] said: On Wed, 29 Jun 2005, Kamesh Jayachandran wrote: #include php_config.h this at the start of the file(ofcourse after the guard) solves the problem. Should be fixed in CVS, please test

Re: [PHP-DEV] HAVE_INT32_T check in ext/date/lib/timelib_structs.h(php 5.1)

2005-06-30 Thread Kamesh Jayachandran
Thanks. That was so fast. With regards Kamesh Jayachandran On Thu, 30 Jun 2005 08:41:11 +0200 (CEST), Derick Rethans [EMAIL PROTECTED] said: On Thu, 30 Jun 2005, Kamesh Jayachandran wrote: Still have one small issue with it for NetWare. We decided to use autoconf based build for PHP-5.1 so

[PHP-DEV] [PATCH]check for makedev in ext/posix(5.1 tree) (Build failure in NetWare)

2005-06-30 Thread Kamesh Jayachandran
Hi Derick, In NetWare there does not exist a function by name makedev. The following patch checks for the existence of makedev and calls only if it exists. http://www.ductape.net/~kameshj/ext_posix_makedev.patch Please apply the same. Thanks in advance With regards Kamesh Jayachandran -- http

Re: [PHP-DEV] [PATCH]check for makedev in ext/posix(5.1 tree) (Build failure in NetWare)

2005-06-30 Thread Kamesh Jayachandran
be when makdev is implemented this code will automatically take care of the new functionality without any change in the code with just the change in new set of LibC headers. With regards Kamesh Jayachandran On Thu, 30 Jun 2005 11:41:57 +0200 (CEST), Derick Rethans [EMAIL PROTECTED] said: On Thu, 30

Re: [PHP-DEV] [PATCH]check for makedev in ext/posix(5.1 tree) (Build failure in NetWare)

2005-06-30 Thread Kamesh Jayachandran
That is so nice Derick. With regards Kamesh Jayachandran On Thu, 30 Jun 2005 12:00:30 +0200 (CEST), Derick Rethans [EMAIL PROTECTED] said: On Thu, 30 Jun 2005, Kamesh Jayachandran wrote: Hi Derick, Our LibC implementation of mknod as of today allows creation of regular file, regular dir

[PHP-DEV] HAVE_INT32_T check in ext/date/lib/timelib_structs.h(php 5.1)

2005-06-29 Thread Kamesh Jayachandran
the guard) solves the problem. P.S in Zend/zend_strtod.c also we have similar code(checking for HAVE_INT32_T) there it works because we include zend_strtod.h-zend.hzend_config.h-mail/php_config.h), here we don't have anything of that sort. Please do the needful. With regards Kamesh Jayachandran

[PHP-DEV] PATCH for NetWare specific Screen switches

2005-06-29 Thread Kamesh Jayachandran
as it is not a general purpose extension. I could not do it as I could not linker error stating php_netware_module_ptr not found which is defined in ext/netware/php_netware.h. PHP_NEW_EXTENSION(netware, php_netware.c) in configure.in solves all the problem. Please do the needful. With regards Kamesh

[PHP-DEV] PATCH for cross compilation to NetWare(cli with shared dependency to phpts like shared lib)

2005-06-13 Thread Kamesh Jayachandran
again With regards Kamesh Jayachandran -- http://www.fastmail.fm - Email service worth paying for. Try it for free -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php

[PHP-DEV] PATCH to cross compile mysql extension for NetWare

2005-06-09 Thread Kamesh Jayachandran
://ductape.net/~kameshj/mysql.config.m4.patch.5.0 http://ductape.net/~kameshj/mysql.config.m4.patch.5.1 With regards Kamesh Jayachandran -- http://www.fastmail.fm - Or how I learned to stop worrying and love email again -- PHP Internals - PHP Runtime Development Mailing

Re: [PHP-DEV] Re: References Problem Patch

2005-05-31 Thread Kamesh Jayachandran
ZEND_HANDLE_EXCEPTION object destructor reduces the refcount from 1 to 0 and destroys the $smileys. zend_destroy_class now attempts to destroy it again. This causes a segfault. With regards Kamesh Jayachandran /excerpts_of_my_mail_to_list_48_days_back On Mon, 30 May 2005 18:25:31 +0300 (EEST), Jani Taskinen

Re: [PHP-DEV] refcount problems created by openssl_public_encrypt(symbol table corruption and double free)

2005-05-26 Thread Kamesh Jayachandran
Thanks Wez for pointing out. New patch is available at, http://puggy.symonds.net/~kameshj/openssl.c.patch.5.0 convert_to_string_ex is needed but not on val but on tmpzp.(Got lost while manually copying the changes from my NetWare build environment to Linux). With regards Kamesh Jayachandran

[PHP-DEV] refcount problems created by openssl_public_encrypt(symbol table corruption and double free)

2005-05-25 Thread Kamesh Jayachandran
Tree is available at, http://puggy.symonds.net/~kameshj/openssl.c.patch.5.0 With regards Kamesh Jayachandran -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php

[PHP-DEV] segfault in html_entity_decode

2005-05-11 Thread Kamesh Jayachandran
With regards Kamesh Jayachandran -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php

[PHP-DEV] Re: segfault in html_entity_decode

2005-05-11 Thread Kamesh Jayachandran
, NULL, NULL, /* 400 (0x0190)*/ NULL, NULL, fnof }; Thanks With regards Kamesh Jayachandran On Wed, 11 May 2005 12:58:21 +0100, Joe Orton [EMAIL PROTECTED] said: On Wed, May 11, 2005 at 04:18:40AM -0700, Kamesh Jayachandran wrote: Hi Derick and Joe, html_entity_decode('ensp;thinsp

[PHP-DEV] PATCH for possible segfault with mb_ereg_replace

2005-05-02 Thread Kamesh Jayachandran
-pLast is null or some strange pointer not within the control of the running program) Patch for 5.0 tree is available here http://puggy.symonds.net/~kameshj/php_mbregex.c.patch With regards Kamesh Jayachandran -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http

[PHP-DEV] php-5.0.-dev build failure

2005-04-29 Thread Kamesh Jayachandran
(first use in this function) I could not see this IS_CALLABLE_CHECK_NO_ACCESS getting defined anywhere. Can you look in to this. With regards Kamesh Jayachandran -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP-DEV] Patch to build shared extensions for Netware

2005-04-28 Thread Kamesh Jayachandran
Jayachandran On Tue, 26 Apr 2005 07:16:27 -0700, Kamesh Jayachandran [EMAIL PROTECTED] said: Thanks Jani. Would be great if you can tell me how configure scripts are generated by snapshot. Somehow I keep getting the following error while doing a cross compile on configure that I got from

Re: [PHP-DEV] Patch to build shared extensions for Netware

2005-04-26 Thread Kamesh Jayachandran
be great. With regards Kamesh Jayachandran On Tue, 26 Apr 2005 11:21:10 +0300 (EEST), Jani Taskinen [EMAIL PROTECTED] said: Patch applied. --Jani On Fri, 22 Apr 2005, Kamesh Jayachandran wrote: Hi Jani, Please apply this patch which enables to build NetWare PHP extensions

[PHP-DEV] Patch to build shared extensions for Netware

2005-04-22 Thread Kamesh Jayachandran
Hi Jani, Please apply this patch which enables to build NetWare PHP extensions using gcc cross compiler. For 5.0 http://puggy.symonds.net/~kameshj/acinclude.m4.patch.5.0 For 5.1 http://puggy.symonds.net/~kameshj/acinclude.m4.patch.5.1 With regards Kamesh Jayachandran -- PHP Internals - PHP

[PHP-DEV] PATCH for EXEEXT to configure scripts

2005-04-18 Thread Kamesh Jayachandran
/~kameshj/sapicliconfig.m4.5.1.patch This patch is for netware but it can be for any non-darwin system, provided that windows build calls ./configure with EXEEXT=exe. With regards Kamesh Jayachandran -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net

[PHP-DEV] zend version in php-5.0.4 release 2.0.4-dev?

2005-04-13 Thread Kamesh Jayachandran
Hi All, I could see a #define ZEND_VERSION 2.0.4-dev in zend.h that got released along with php-5.0.4 should it not be #define ZEND_VERSION 2.0.4 With regards Kamesh Jayachandran -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP-DEV] refcount and hence double free issue

2005-04-13 Thread Kamesh Jayachandran
the $smileys. zend_destroy_class now attempts to destroy it again. This causes a segfault. With regards Kamesh Jayachandran On Wed, 06 Apr 2005 00:18:35 -0700, Kamesh Jayachandran [EMAIL PROTECTED] said: It happens in php-5.0.4 also. With regards Kamesh Jayachandran On Wed, 6 Apr 2005 09:16

[PHP-DEV] refcount and hence double free issue

2005-04-06 Thread Kamesh Jayachandran
where to increment it or not to decrement it. With regards Kamesh Jayachandran -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP-DEV] refcount and hence double free issue

2005-04-06 Thread Kamesh Jayachandran
It happens in php-5.0.4 also. With regards Kamesh Jayachandran On Wed, 6 Apr 2005 09:16:34 +0200 (CEST), Derick Rethans [EMAIL PROTECTED] said: On Wed, 6 Apr 2005, Kamesh Jayachandran wrote: Hi All, I have come across a double free because of improper refcount manipulation. ?php

[PHP-DEV] ./configure on a cross compile environment

2005-04-06 Thread Kamesh Jayachandran
/cross-gcc/opt/cross/bin/i586-netware-gcc: invalid host type configure: error: can only configure for one host and one target at a time How the ./configure is built while doing the releases? Even the ./buildconf --force on a released packages dis not help. With regards Kamesh Jayachandran -- PHP

Re: Re[2]: [PHP-DEV] Fix for 30818, 28839, 32229, 30513

2005-03-28 Thread Kamesh Jayachandran
Hi Jani, Thanks for commiting the patch. But I feel you can do the same on PHP-5.0.4-dev tree also. With regards Kamesh Jayachandran On Sat, 26 Mar 2005 04:45:58 +0200 (EET), Jani Taskinen [EMAIL PROTECTED] said: On Sun, 20 Mar 2005, Kamesh Jayachandran wrote: Hi Andi, I could not see

Re: [PHP-DEV] php streams - generating the http header

2005-03-22 Thread Kamesh Jayachandran
Hi, Have a look at main/SAPI.c for the function sapi_header_op PHP_FUNCTION(header)in ext/standard/head.c With reagrds Kamesh Jayachandran On Tue, 22 Mar 2005 18:55:58 +0530, Arjun Jain [EMAIL PROTECTED] said: Hi everyone, Back Again :). I tried searching around, but all in vain. My

Re: [PHP-DEV] PHP auto global variables inside C extension

2005-03-21 Thread Kamesh Jayachandran
SG(rfc1867_uploaded_files) will have a list of filenames uploaded. With regards Kamesh Jayachandran On Tue, 22 Mar 2005 12:32:44 +0530, Arjun Jain [EMAIL PROTECTED] said: Hi everyone, I was wondering if there was any way in which the PHP auto global variables could be used inside the C

Re: Re[2]: [PHP-DEV] Fix for 30818, 28839, 32229, 30513

2005-03-20 Thread Kamesh Jayachandran
Hi Andi, I could not see this change in CVS both in 5_0_4-dev tree and HEAD. Can someone apply my patch? With regards Kamesh Jayachandran On Fri, 18 Mar 2005 13:56:25 -0800, Andi Gutmans [EMAIL PROTECTED] said: Yeah it might make sense to move that to a function. But for some reason I

[PHP-DEV] Fix for 30818, 28839, 32229, 30513

2005-03-18 Thread Kamesh Jayachandran
happens from pass_two. I am attaching the patch which does this jmp_addr evaluation. This patch is against php-5.0.4-dev-RC[2]. http://puggy.symonds.net/~kameshj/zend_execute_API.c.patch Can someone apply this patch? With regards Kamesh Jayachandran -- PHP Internals - PHP Runtime Development

Re: [PHP-DEV] Fix for 30818, 28839, 32229, 30513

2005-03-18 Thread Kamesh Jayachandran
Hi Val, Yes I got this fix from pass_two only. It duplicates pass_two especially the while loop. With regards Kamesh Jayachandran On Fri, 18 Mar 2005 13:05:46 +0200, val khokhlov [EMAIL PROTECTED] said: Hello Kamesh, Friday, March 18, 2005, 12:46:44 PM, you wrote: KJ This normally happens

Re: [PHP-DEV] Patch to TSRM to configure properly in cross compilation environment.(Especially NetWare)

2005-02-25 Thread Kamesh Jayachandran
Thanks Jani. With regards Kamesh Jayachandran On Thu, 24 Feb 2005 21:30:03 +0200 (EET), Jani Taskinen [EMAIL PROTECTED] said: On Thu, 24 Feb 2005, Kamesh Jayachandran wrote: Hi Jani, PTHREADS_CHECK_COMPILE macro fails with pthreads_working=no for cross compilation environment. As I am

[PHP-DEV] Patch to TSRM to configure properly in cross compilation environment.(Especially NetWare)

2005-02-24 Thread Kamesh Jayachandran
the same along with my earlier patch on configure.in. With regards Kamesh Jayachandran -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php

[PHP-DEV] patch for cross compilation to Netware

2005-02-23 Thread Kamesh Jayachandran
Hi, Thanks for committing the earlier patch. win32/sendmail.c needs to be compiled for Netware as it don't have sendmail binary as Unices do. This patch adds sendmail.c to NetWare build. http://puggy.symonds.net/~kameshj/configure.in.patch With regards Kamesh Jayachandran With regards Kamesh

[PHP-DEV] Patch for not to run some tests while cross compiling

2005-02-22 Thread Kamesh Jayachandran
compiling.. I have a fix for this located at, http://puggy.symonds.net/~kameshj/Zend.m4.patch Can someone review it and apply the patch? With regards Kamesh Jayachandran -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP-DEV] Patch for not to run some tests while cross compiling

2005-02-22 Thread Kamesh Jayachandran
://puggy.symonds.net/~kameshj/Zend.m4.patch With regards Kamesh Jayachandran On Tue, 22 Feb 2005 15:53:41 +0200 (EET), Jani Taskinen [EMAIL PROTECTED] said: On Tue, 22 Feb 2005, Kamesh Jayachandran wrote: Hi All, I am working for NetWare port of PHP. I am trying to use the autoconf based build

Re: [PHP-DEV] Segmentation fault in html_entity_decode

2005-01-12 Thread Kamesh Jayachandran
Hi Moriyoshi, My mistake. I Thought you would have fixed these 2 in one commit and diffed the latest with earlier one version and found only one fix. Now things work fine. With regards Kamesh Jayachandran On Wed, 12 Jan 2005 17:27:06 +0900, Moriyoshi Koizumi [EMAIL PROTECTED] said: On 2005

[PHP-DEV] php-src/tests/lang/038.phpt fails on php-5.0.3

2005-01-11 Thread Kamesh Jayachandran
to fopen. Earlier this used to return array of size 2. Changing the var_dump($trace[1]['function']); to var_dump($trace[2]['function']); will make the testcase go through. Still I am interested in knowing the reason behind three entries in getTrace() return value. With regards Kamesh

[PHP-DEV] Segmentation fault in html_entity_decode

2005-01-10 Thread Kamesh Jayachandran
1.97.2.1. With regards Kamesh Jayachandran -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php

[PHP-DEV] vsprintf returns int not char*

2005-01-04 Thread Kamesh Jayachandran
) should be if(ret 0) With regards Kamesh Jayachandran -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP-DEV] ftp_get_resp ftp_get_conv functions

2004-12-16 Thread Kamesh Jayachandran
to track the ftp conversation. With regards Kamesh Jayachandran On Wed, 15 Dec 2004 21:47:09 -0700, Binam, Jesse [EMAIL PROTECTED] said: The attached diff adds 2 ftp functions. I read the README.SUBMITTING_PATCH and went thru all the steps, but there are no tests for ftp, and I didn't understand how

[PHP-DEV] info needed regarding compiled in extensions

2004-12-13 Thread Kamesh Jayachandran
in by default. mysql, posix Is there any standard that exists that states what extension should go compiled in by default for a particular version of PHP? With regards Kamesh Jayachandran -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP-DEV] Memory leak per request in apache2filter PHP+ZTS(reposting third time)

2004-12-06 Thread Kamesh Jayachandran
Can Someone respond to this? With regards Kamesh Jayachandran On Thu, 02 Dec 2004 06:27:32 -0800, Kamesh Jayachandran [EMAIL PROTECTED] said: Can Someone respond to this? With regards Kamesh Jayachandran On Mon, 29 Nov 2004 23:56:13 -0800, Kamesh Jayachandran [EMAIL PROTECTED] said: Hi

Re: [PHP-DEV] Memory leak per request in apache2filter PHP+ZTS

2004-12-02 Thread Kamesh Jayachandran
Can Someone respond to this? With regards Kamesh Jayachandran On Mon, 29 Nov 2004 23:56:13 -0800, Kamesh Jayachandran [EMAIL PROTECTED] said: Hi All, I could see a leak of 60 bytes for the following script. ?php //echo hi; ? While investigation I found that SG(request_info

[PHP-DEV] [PATCH] one more possible seg fault in openssl

2004-10-27 Thread Kamesh Jayachandran
generated. Later when the php_request_shutdown is called it agains frees the EG(regular_list) this causes the seg fault. Patch is available at, http://puggy.symonds.net/~kameshj/openssl.c.patch With regards Kamesh Jayachandran -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe

[PHP-DEV] Re: Why module shutdown function is not called for openssl extension?

2004-10-26 Thread Kamesh Jayachandran
. NULL, NULL, PHP_MINFO(openssl), NO_VERSION_YET, STANDARD_MODULE_PROPERTIES }; My patch for making the req.priv_key not to get dispopsed is available here. http://puggy.symonds.net/~kameshj/openssl.c.patch With regards Kamesh Jayachandran On Mon, 25 Oct 2004 16:49:17

Re: [PHP-DEV] Re: Why module shutdown function is not called for openssl extension?

2004-10-26 Thread Kamesh Jayachandran
Thanks for applying my patches. When will it be applied to PHP4.3 and 5.0 tree? With regards Kamesh Jayachandran On Tue, 26 Oct 2004 10:34:19 +0100, Wez Furlong [EMAIL PROTECTED] said: Heh, looks like it's never ever been enabled since ext/openssl was born. I committed your patch

[PHP-DEV] Can someone allocate 2 command line switches for php cli on NetWare?

2004-10-26 Thread Kamesh Jayachandran
to conditionally prompting for user's attention 'pressanykey'. Another command line switch we need is to conditionally open or not to open the screen at all. Currently I could see g, j, k, o, p, t,u, x, y not being used. Can I make use of any two of them? With regards Kamesh Jayachandran -- PHP

Re: [PHP-DEV] Can someone allocate 2 command line switches for php cli on NetWare?

2004-10-26 Thread Kamesh Jayachandran
. Still we need to have switches to have this interactivity or not(Based on usage regular/cron) We need one more switch to determine whether to have output in the Logger screen(System wide log console) or Interpreter screen. With regards Kamesh Jayachandran On Tue, 26 Oct 2004 15:01:34 +0100, Wez

Re: [PHP-DEV] Can someone allocate 2 command line switches for php cli on NetWare?

2004-10-26 Thread Kamesh Jayachandran
Shane, This solution seems interesting. I will give a try. With regards Kamesh Jayachandran On Tue, 26 Oct 2004 08:24:03 -0700, Shane Caraveo [EMAIL PROTECTED] said: Here is my suggestion, Rather than taking two switches, php should grow a generic switch for this kind of use: php -o

Re: [PHP-DEV] Can someone allocate 2 command line switches for php cli on NetWare?

2004-10-26 Thread Kamesh Jayachandran
Wez, Seems interesting but the bit invasive to the scripts they already have. They have to change call my custome ext/netware function I will try this solution too. Thanks With regards Kamesh Jayachandran On Tue, 26 Oct 2004 15:57:47 +0100, Wez Furlong [EMAIL PROTECTED] said: How about moving

Re: [PHP-DEV] Can someone allocate 2 command line switches for php cli on NetWare?

2004-10-26 Thread Kamesh Jayachandran
Seems a better option I will give it a try. With regards Kamesh Jayachandran On Tue, 26 Oct 2004 18:40:33 -0700, Andi Gutmans [EMAIL PROTECTED] said: I suggest to go with Wez's recommendation of adding ext/netware. You can use -d to change INI values at the command line which can be accessed

[PHP-DEV] Why module shutdown function is not called for openssl extension?

2004-10-25 Thread Kamesh Jayachandran
fault in NetWare. Can I go ahead and set req.priv_key = NULL when php_openssl_make_REQ returns failure and we_made_the_key == 0? I have seen shutdown function is set to NULL even though it is defined. With regards Kamesh Jayachandran -- PHP Internals - PHP Runtime Development Mailing List

[PHP-DEV] Why zend_static_allocator.c does not iclude stdlib.h?

2004-10-19 Thread Kamesh Jayachandran
win32 debug output more verbose. Can I include stdlib.h? With regards Kamesh Jayachandran -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP-DEV] why to call php_output_activate(TSRMLS_C) from php_module_startup(reposting first time)(bug #30397)

2004-10-18 Thread Kamesh Jayachandran
Can someone respoond to this. With regards Kamesh Jayachandran On Thu, 07 Oct 2004 23:10:24 -0700, Kamesh Jayachandran [EMAIL PROTECTED] said: Hi All, I could see php_output_activate(TSRMLS_C) getting called from php_module_startup immedeately after php_output_startup. Why is this needed

[PHP-DEV] why to call php_output_activate(TSRMLS_C) from php_module_startup

2004-10-08 Thread Kamesh Jayachandran
to php_output_activate(TSRMLS_C) from php_module_startup? PS:What is the use of display_startup_errors? What does display mean with respect to startup as it might not have any associated request context? With regards Kamesh Jayachandran -- PHP Internals - PHP Runtime Development Mailing List

[PHP-DEV] Shall we remove including config.w32.h and php_config.h from php_scandir.c?

2004-10-07 Thread Kamesh Jayachandran
or php_config.h). With regards Kamesh Jayachandran -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP-DEV] issues in compiling the zend_execute.c in CVS HEAD

2004-09-28 Thread Kamesh Jayachandran
. With regards Kamesh Jayachandran On Mon, 27 Sep 2004 19:11:53 -0700, Andi Gutmans [EMAIL PROTECTED] said: What platform are you on? What compiler? (Netware?) Try and edit zend_vm.h: #ifndef ZEND_VM_OLD_EXECUTOR /*# define ZEND_VM_KIND ZEND_VM_KIND_CALL */ And uncomment the second line

Re: [PHP-DEV] issues in compiling the zend_execute.c in CVS HEAD

2004-09-28 Thread Kamesh Jayachandran
Hi Wez, Yes there is no problem. I got scared after my CPU getting hog for continous 5 minutes on a single file. Ultimately It compiles after around 10 minutes. FYI: I did not configure explicitly with --enable-inline-optimization switch. With regards Kamesh Jayachandran On Tue, 28 Sep 2004 08

[PHP-DEV] issues with ext/xml/tests/bug26614.phpt

2004-09-28 Thread Kamesh Jayachandran
$ for both \r\n and \n. With regards Kamesh Jayachandran -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php

[PHP-DEV] issues in compiling the zend_execute.c in CVS HEAD

2004-09-25 Thread Kamesh Jayachandran
/zend_execute.c -o Zend/zend_execute.lo With regards Kamesh Jayachandran -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP-DEV] issues in compiling the zend_execute.c in CVS HEAD

2004-09-25 Thread Kamesh Jayachandran
just 1 down and My problem(ZTS build) is solved. With regards Kamesh Jayachandran On Sat, 25 Sep 2004 05:18:14 -0700, Kamesh Jayachandran [EMAIL PROTECTED] said: Hi All, I have updated the php to latest HEAD from then on compiling zend_execute.c keeps hanging. This is the compile command I

Re: [PHP-DEV] [PATCH] tests/classes/factory_and_singleton_009.phpt

2004-09-24 Thread Kamesh Jayachandran
. The only difference I could see is the way the php factory_and_singleton_009.php In run-tests.php All the -d option value pairs are enclosed by double quote has extra options -d xdebug.default_enable=0 -d session.auto_start=0 runs the script with -f option. With regards Kamesh Jayachandran

Re: [PHP-DEV] [PATCH] tests/classes/factory_and_singleton_009.phpt

2004-09-24 Thread Kamesh Jayachandran
testcases or run-tests.php? Please advise. With regards Kamesh Jayachandran On Fri, 24 Sep 2004 00:20:15 -0700, Kamesh Jayachandran [EMAIL PROTECTED] said: Hi Marcus, For me also this test is going through if I run the test using run-tests.php. But it fails with run-tests2.php With run

Re: [PHP-DEV] Fwd: [ZEND-ENGINE-CVS] cvs: ZendEngine2 / zend_execute_API.c zend_globals.h

2004-09-23 Thread Kamesh Jayachandran
Hi All, Reverted the NetWare specific stack limit check related changes. With regards Kamesh Jayachandran On Wed, 22 Sep 2004 11:12:05 -0700, Andi Gutmans [EMAIL PROTECTED] said: Do we want this in the core engine? If so, why not create a general solution for multi-threaded systems (I think

[PHP-DEV] Why to have owner's uid of the file when WWW-Authenticate header?

2004-09-22 Thread Kamesh Jayachandran
Hi All, I want to know the reason behind the having the uid of the owner of the file shown as a part of realm string the WWW-Authenticate when safe_mode is enabled. With regards Kamesh Jayachandran -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http

[PHP-DEV] Why zend_shutdown_constants not called from executor_globals_dtor?

2004-09-11 Thread Kamesh Jayachandran
EG(zend_constants) are freed whereas other threads EG(zend_constants) are not freed. Correct me if I am wrong. With regards Kamesh Jayachandran -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php

[PHP-DEV] who calls ts_free_thread?

2004-09-10 Thread Kamesh Jayachandran
. If at all have to be called from where it should be called. With regards Kamesh Jayachandran -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP-DEV] Info needed

2004-09-09 Thread Kamesh Jayachandran
Hi Derick, Just one more reminder to apply my patches for NetWare port. With regards Kamesh Jayachandran On Fri, 13 Aug 2004 01:10:56 -0700, Kamesh Jayachandran [EMAIL PROTECTED] said: Hi Derick, Just a remainder to apply my patches for NetWare port. With regards Kamesh Jayachandran

[PHP-DEV] info needed regarding TSRM thread local storage

2004-09-09 Thread Kamesh Jayachandran
local storage is freed?. With regards Kamesh Jayachandran -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP-DEV] info needed regarding TSRM thread local storage

2004-09-09 Thread Kamesh Jayachandran
is defined. Correct me if I am wrong. With regards Kamesh Jayachandran On Thu, 09 Sep 2004 16:30:12 +0200, Andrey Hristov [EMAIL PROTECTED] said: Hi, probably MBO_0 stands for MarcusBOerger_0 . I am not sure whether this was somewehere in the coding standards document, but this means

Re: [PHP-DEV] info needed regarding TSRM thread local storage

2004-09-09 Thread Kamesh Jayachandran
Console which might be bit higher that actual called with malloc or calloc or realloc. With regards Kamesh Jayachandran On Thu, 9 Sep 2004 17:05:32 +0200, Marcus Boerger [EMAIL PROTECTED] said: Hello Kamesh, Thursday, September 9, 2004, 4:37:24 PM, you wrote: Thanks Andrey. I have Apache

[PHP-DEV] clarification needed regarding tests\lang\bug22510.phpt and tests\lang\bug22231.phpt

2004-09-09 Thread Kamesh Jayachandran
to all the scripts. With regards Kamesh Jayachandran -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php

[PHP-DEV] Re: Clarification needed regarding tests/run-test/test005.phpt

2004-08-18 Thread Kamesh Jayachandran
Can Someone clarify on this? With regards Kamesh Jayachandran On Wed, 11 Aug 2004 22:43:20 -0700, Kamesh Jayachandran [EMAIL PROTECTED] said: Can someone clarify me on this? With regards Kamesh Jayachandran On Tue, 27 Jul 2004 22:46:40 -0700, Kamesh Jayachandran [EMAIL PROTECTED] said

Re: [PHP-DEV] Info needed

2004-08-13 Thread Kamesh Jayachandran
Hi Derick, Just a remainder to apply my patches for NetWare port. With regards Kamesh Jayachandran On Mon, 2 Aug 2004 16:19:56 +0200 (CEST), Derick Rethans [EMAIL PROTECTED] said: On Mon, 2 Aug 2004, Kamesh Jayachandran wrote: Hi Derick, Did you apply my patches? Not yet, but I will. I

[PHP-DEV] Re: Clarification needed regarding tests/run-test/test005.phpt

2004-08-11 Thread Kamesh Jayachandran
Can someone clarify me on this? With regards Kamesh Jayachandran On Tue, 27 Jul 2004 22:46:40 -0700, Kamesh Jayachandran [EMAIL PROTECTED] said: Hi All, tests/run-test/test005.phpt is failing in PHP-5.0.0 linux. The log of test execution is pasted below. EXPECTED OUTPUT string(1) 1

[PHP-DEV] bug with display_startup_errors to On

2004-08-09 Thread Kamesh Jayachandran
the following The following two functions are not checking for not null on SG(server_context). php_apache_sapi_send_headers php_apache_sapi_ub_write This functions were causing a segmentation fault. This happens only with display_startup_errors set to On With regards Kamesh Jayachandran -- PHP

[PHP-DEV] bug in sapi apache2filter

2004-08-08 Thread Kamesh Jayachandran
causes divide by zero error in THREAD_HASH_OF macro. With regards Kamesh Jayachandran -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php

[PHP-DEV] dom extension corrupting the Exception class

2004-08-03 Thread Kamesh Jayachandran
their __construct method set to some function pointer or else to NULL not just left at all. This is no the case with DOMException. With regards Kamesh Jayachandran -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP-DEV] dom extension corrupting the Exception class

2004-08-03 Thread Kamesh Jayachandran
Hi Wez, Will the fix be available in 5.0.1? How to browse the cvs tree of 5.0.1 from the web? With regards Kamesh Jayachandran On Tue, 3 Aug 2004 11:52:48 +0100, Wez Furlong [EMAIL PROTECTED] said: Already fixed in HEAD. On Tue, 03 Aug 2004 03:36:06 -0700, Kamesh Jayachandran [EMAIL

[PHP-DEV] Re: How to access the per-class constant from a member function?

2004-08-02 Thread Kamesh Jayachandran
Jayachandran On Wed, 28 Jul 2004 18:10:52 +0200, Mehdi Achour [EMAIL PROTECTED] said: Hi Kamesh, Try replacing Foo::HELLO with self::HELLO. This should work. (this is documented, the manual will reflect it in the next build) didou Kamesh Jayachandran wrote: Hi All, ?php class Foo

[PHP-DEV] How to access the per-class constant from a member function?

2004-07-28 Thread Kamesh Jayachandran
-5.0.0/test.php on line 5 Whey echo HELLO fails? With regards Kamesh Jayachandran -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php

[PHP-DEV] Clarification needed regarding tests/run-test/test005.phpt

2004-07-27 Thread Kamesh Jayachandran
auto_prepend_file= -d auto_append_file= -d magic_quotes_runtime=0 testsuite/tests/run-test/test005.php Why the testcase is expecting 4095 as I could not find any --INI section inside the testcase that sets this value to 4095? With regards Kamesh Jayachandran -- PHP Internals - PHP Runtime Development Mailing

Re: [PHP-DEV] [PATCH] tests/classes/factory_and_singleton_010.phpt

2004-07-26 Thread Kamesh Jayachandran
Hello Marcus, I am attaching my test log file after adding echo *\n; as the first executable statment. With regards Kamesh Jayachandran On Sun, 25 Jul 2004 08:21:38 +0200, Marcus Boerger [EMAIL PROTECTED] said: Hello Kamesh, Saturday, July 24, 2004, 6:10:56 PM, you wrote: Hello Marcus

Re: [PHP-DEV] [PATCH] tests/classes/factory_and_singleton_010.phpt

2004-07-24 Thread Kamesh Jayachandran
what you mean by this. Do you want me to go to each test case and add echo '\n'; as the first executable statement? How it will help? With regards Kamesh Jayachandran I checked all testfiles again and they all PASS for me pretty fine. And in all the qa reports we got so far there was never

  1   2   >