Re: [PHP-DEV] Re: SID was accidently changed to CONST_CS?

2005-05-31 Thread Andi Gutmans
Jani, The flag chance was not intentional. I think I made that change as part of a change to nuke empty_string() and that change to 1 was supposed to tell REGISTER_STRINGL_CONSTANT to dup the string. My mistake and I think it should be reverted. I confused it with the RETURN_* macros. Andi

[PHP-DEV] Re: SID was accidently changed to CONST_CS?

2005-05-31 Thread Sara Golemon
> >- REGISTER_STRINGL_CONSTANT("SID", empty_string, 0, 0); > >+ REGISTER_STRINGL_CONSTANT("SID", "", 0, 1); > > > > Where flags changed from 0 to 1.. > > Intentional or not? > > > Yes, the flag change was intentional in order to create an allocated empty > string

[PHP-DEV] Segfault in PDO_ODBC w/db2 v7.2

2005-05-31 Thread Justin Hannus
I'm getting a segfault from PDO_ODBC compiled with IBM-DB2v7.2. Seems like its happening somewhere in the shutdown process. Here's a backtrace, a wierd one but thats all gdb gives me. bt: #0 0x012c8a2c in ?? () #1 0x00b205d7 in exit () from /lib/tls/libc.so.6 #2 0x00b0ae3d in __libc_start_

[PHP-DEV] Re: OT: php5 - target for migration or new apps (was: Re: [PHP-DEV] Re: References Problem Patch)

2005-05-31 Thread Andi Gutmans
Hi George, I see two things: a) Many companies large and small have migrated or are in the process of migrating to PHP 5 mainly for the improved XML and Web Services support. As such migration requires a whole QA cycle, this is often done in sync with an already planned product release. Most o

[PHP-DEV] CVS Account Request: fozzymalk

2005-05-31 Thread Klaus K. Apolinario
Use my experience in writing code in C/C++ to help you guys in this powerfull language -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php

[PHP-DEV] Re: SID was accidently changed to CONST_CS?

2005-05-31 Thread Andi Gutmans
Yes, the flag change was intentional in order to create an allocated empty string. I doubt this has anything to do with the bug report though. At 11:04 AM 5/31/2005 +0300, Jani Taskinen wrote: Regarding this bug: http://bugs.php.net/bug.php?id=29322&edit=1 And by looking at this commi

[PHP-DEV] SID was accidently changed to CONST_CS?

2005-05-31 Thread Jani Taskinen
Regarding this bug: http://bugs.php.net/bug.php?id=29322&edit=1 And by looking at this commit by Andi: http://cvs.php.net/diff.php/php-src/ext/session/session.c?r1=1.391&r2=1.392&ty=u and this part of it: - REGISTER_STRINGL_CONSTANT("SID", empty_string, 0, 0);

Re: [PHP-DEV] PTS support patch

2005-05-31 Thread Jani Taskinen
Sascha pretty well explained why adding such automagic is not possible. But maybe if there is some small test prog to try with AC_TRY_RUN(), I can always add that. (but I lack the knowledge on how to write such prog..) --Jani On Sun, 29 May 2005, Wez Furlong wrote: None f

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

2005-05-31 Thread Kamesh Jayachandran
Hi All, I am not getting exactly what is the issue in refcount with reference variable. One liner will be great for me to understand. Anyway php-5 is not free of such refcount issues. One example is given below. This code is a reduced form of xoops content Management application's one activity whi