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*_*

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 k

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

2005-10-07 Thread Kamesh Jayachandran
essor 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 regard

[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 To

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: >

[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] 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

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

2005-09-11 Thread Kamesh Jayachandran
ot see 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/sqli

[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.f

[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_i

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

2005-08-11 Thread Kamesh Jayachandran
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
IBADD) 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

[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

[PHP-DEV] HEAD compile failure in pdo extension

2005-07-28 Thread Kamesh Jayachandran
/root/kamesh/work/php-src/ext/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

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 a

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

2005-06-30 Thread Kamesh Jayachandran
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

[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] 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 decid

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

2005-06-29 Thread Kamesh Jayachandran
gards 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 this at the start of the file(ofcourse after the > > guard) solves the problem. &

[PHP-DEV] PATCH for NetWare specific Screen switches

2005-06-29 Thread Kamesh Jayachandran
m. Please do the needful. With regards Kamesh Jayachandran -- http://www.fastmail.fm - A fast, anti-spam email service. -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php

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

2005-06-29 Thread Kamesh Jayachandran
) 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.h>zend_config.h->mail/php_config.h), here we don't have anything of that sort. Please do the needful. With regards Kamesh Jayachan

[PHP-DEV] what happened to run-tests2.php

2005-06-22 Thread Kamesh Jayachandran
Hi All, I used to see run-tests2.php in php source bundle. But I could not see it anymore. In http://cvs.php.net/php-src show deleted file shows run-tests2.php has been renamed by helly 3 months back. I want to what it has been renamed to. With regards Kamesh Jayachandran -- http

[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
pts to destroy it again. This causes a segfault. With regards Kamesh Jayachandran On Mon, 30 May 2005 18:25:31 +0300 (EEST), "Jani Taskinen" <[EMAIL PROTECTED]> said: > > Switching to PHP 5 (.1) here is not an option yet either. > (and nobody can guarante

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 Jayachandra

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

2005-05-25 Thread Kamesh Jayachandran
as a normal cleanup upon return from openssl_public_encrypt. And hence zval associated with $pk is getting freed. But symbol table still refers to freed pointer. The patch for 5.0 Tree is available at, http://puggy.symonds.net/~kameshj/openssl.c.patch.5.0 With regards Kamesh Jayachandran --

[PHP-DEV] Re: segfault in html_entity_decode

2005-05-11 Thread Kamesh Jayachandran
, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 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

[PHP-DEV] segfault in html_entity_decode

2005-05-11 Thread Kamesh Jayachandran
LL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, /* 400 (0x0190)*/ hence the array ent_uni_338_402 got truncated greatly to the size of 41 bytes. This causes a seg fault while php_unescape_html_entities access from ent_uni_338_402 with the index 402-338=64 With re

[PHP-DEV] PATCH to check for availablity of getlogin and getgroups to posix extension

2005-05-05 Thread Kamesh Jayachandran
/~kameshj/posixconfig.m4.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] PATCH for possible segfault with mb_ereg_replace

2005-05-02 Thread Kamesh Jayachandran
eg fault.(As p->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 unsubsc

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

2005-04-29 Thread Kamesh Jayachandran
Hi Dmitry, I did a cvs upd at php-src. The updates has not percolated to Zend directory at all. even make clean did not help. After cd Zend cvs upd Everything is fine now. With regards Kamesh Jayachandran On Fri, 29 Apr 2005 11:52:08 +0400, "Dmitry Stogov" <[EMAIL PROTECTED]> s

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

2005-04-28 Thread Kamesh Jayachandran
lared (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 cros

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

2005-04-26 Thread Kamesh Jayachandran
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

[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

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

2005-04-13 Thread Kamesh Jayachandran
uses 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:34 +0200 (CEST), "Derick

[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

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

2005-04-06 Thread Kamesh Jayachandran
nfigure: warning: CC=/usr/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

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

[PHP-DEV] refcount and hence double free issue

2005-04-06 Thread Kamesh Jayachandran
time $smiley->refcount=0 and storage is already freed which is accessed by _zval_ptr_dtor to decrement the refcount which causes a segfault with a huge script. Anyway will see who and all increment/decrement the refcount and see where to increment it or not to decrement it. With rega

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: > &g

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 searchin

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 > variab

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

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,

[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] 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

[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 K

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

2005-02-22 Thread Kamesh Jayachandran
http://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

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

2005-02-22 Thread Kamesh Jayachandran
while cross 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] 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]&g

Re: [PHP-DEV] Segmentation fault in html_entity_decode

2005-01-11 Thread Kamesh Jayachandran
Hi Moriyoshi, Still ent_uni_8592_9002's actual size is 410 but accessed with a index 410. With regards Kamesh Jayachandran On Wed, 12 Jan 2005 05:51:01 +0900, "Moriyoshi Koizumi" <[EMAIL PROTECTED]> said: > Now fixed in CVS. Thanks for the good report. > > Moriyosh

[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 valu

[PHP-DEV] Segmentation fault in html_entity_decode

2005-01-10 Thread Kamesh Jayachandran
ing array or reduce our endchar in entity_map You can see the index with which this arrays are accessed by putting a printf("k - entity_map[j].basechar = %d\n", k - entity_map[j].basechar); in a for loop which is around line 898 in html.c version 1.97.2.1. With regards Kamesh Jayachan

[PHP-DEV] Re: vsprintf returns int not char*

2005-01-04 Thread Kamesh Jayachandran
, a negative value is returned. With regards Kamesh Jayachandran On Tue, 4 Jan 2005 14:44:56 +0100 (CET), "Derick Rethans" <[EMAIL PROTECTED]> said: > On Tue, 4 Jan 2005, Kamesh Jayachandran wrote: > > > Hi Derick, > > in php-src/main/php_sprintf.c > > PHP

[PHP-DEV] vsprintf returns int not char*

2005-01-04 Thread Kamesh Jayachandran
ar*. if (!ret) 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
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 > te

[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,

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. > //echo "hi"; > ?> > While investi

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

2004-11-29 Thread Kamesh Jayachandran
ame in php_apache_request_dtor? I could see the above safe_strdup in sapi_apache2.c,v 1.108 on 2003/04/10 11:28:54 by stas. With regards Kamesh Jayachandran -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php

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

2004-10-27 Thread Kamesh Jayachandran
r_new tries to create a fresh private key and adds to the resource list and fails to req.priv_key to null so the dispose function frees the private key 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:

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 th

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]> s

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 f

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, &quo

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

2004-10-26 Thread Kamesh Jayachandran
mmand line switch 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 r

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. > &g

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

2004-10-25 Thread Kamesh Jayachandran
on defined. 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 200

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

2004-10-25 Thread Kamesh Jayachandran
o NULL this causes dispose function to free the req.priv_key. As a part of php_request_shutdown $privkey is again freed(second time). This causes a seg 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 shu

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

2004-10-19 Thread Kamesh Jayachandran
says "make 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-17 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_

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

2004-10-07 Thread Kamesh Jayachandran
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 To

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

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

[PHP-DEV] FD_CLOEXEC issue

2004-10-04 Thread Kamesh Jayachandran
in stead of 1. With regards Kamesh Jayachandran -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php

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

2004-09-28 Thread Kamesh Jayachandran
ended by "\n". But I feel the lines are ended by "\r\n" So I get 46(\r in the first line) and 98(8 \r preceding 8 lines). How to differentiate between \r\n and \n? I tried vi editor with ":se list" it was showing $ for both "\r\n" and "\n&

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

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

2004-09-27 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_CA

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 hangi

[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] [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. > >

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

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

2004-09-23 Thread Kamesh Jayachandran
=== newline preceded in warning message brings the cursor to next immedeate line with a warning message. So expecting one more new line between ===DONE=== and warning message is incorrect. Correct me if I am wrong. If I am correct can I go ahead and commit it. With regards Kamesh Jayachandran

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

2004-09-22 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 mul

[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
hread 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

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

2004-09-09 Thread Kamesh Jayachandran
ly to all the scripts. 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
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: &g

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 st

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

2004-09-09 Thread Kamesh Jayachandran
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

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. >

[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,

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

[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.

[PHP-DEV] bug with display_startup_errors to On

2004-08-09 Thread Kamesh Jayachandran
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

  1   2   >