Re: [PHP-DEV] Libtool for RH8

2003-02-24 Thread Joseph Tate
Derick, would you post the SRPM for libtool? Joseph Derick Rethans wrote: On 19 Feb 2003, michel 'ziobudda' morelli wrote: Hi, i have downloaded the new cvs version of php5, but: buildconf: libtool version 1.4.2 found. You need libtool version 1.4.3 or newer installed to bu

RE: [PHP-DEV] Register Shutdown Function for Apache

2003-02-13 Thread Joseph Tate
Thanks Jani. I'll work on getting the patch working on HEAD and PHP_4_3 this afternoon. > -Original Message- > From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On > Behalf Of Jani Taskinen > Sent: Thursday, February 13, 2003 2:49 AM > To: Brian Moon > Cc: Jo

RE: [PHP-DEV] Register Shutdown Function for Apache

2003-02-11 Thread Joseph Tate
You're right. I suppose both --with-apache and --with-apxs will have to define HAVE_APACHE or something similar. > -Original Message- > From: Brian Moon [mailto:[EMAIL PROTECTED]] > Sent: Tuesday, February 11, 2003 11:14 AM > To: Joseph Tate; Jani Taskinen > Cc: Ph

RE: [PHP-DEV] Register Shutdown Function for Apache

2003-02-11 Thread Joseph Tate
ruary 10, 2003 7:16 PM > To: Joseph Tate > Cc: Php-Dev List > Subject: RE: [PHP-DEV] Register Shutdown Function for Apache > > > > If you need a define for it, we can add one..? > > --Jani > > > On Mon, 10 Feb 2003, Joseph Tate wrote: > > >Well, to

RE: [PHP-DEV] Register Shutdown Function for Apache

2003-02-10 Thread Joseph Tate
#x27;s not acceptable. Joseph > -Original Message- > From: Brian Moon [mailto:[EMAIL PROTECTED]] > Sent: Monday, February 03, 2003 5:30 PM > To: Joseph Tate; [EMAIL PROTECTED]; [EMAIL PROTECTED]; [EMAIL PROTECTED] > Cc: Php-Dev List > Subject: Re: [PHP-DEV] Register Shutdown F

RE: [PHP-DEV] Bug #21279 Karma request (Windows Bug)

2003-02-05 Thread Joseph Tate
You need to use "C" style /*comments*/. Also, send a unified diff. Do this by running cvs diff -u . Joseph > -Original Message- > From: Ernani Joppert Pontes Martins [mailto:[EMAIL PROTECTED]] > Sent: Wednesday, February 05, 2003 10:05 AM > To: [EMAIL PROTECTED] > Subject: [PHP-DEV] Bug

Re: [PHP-DEV] Register Shutdown Function for Apache

2003-02-03 Thread Joseph Tate
-- > From: Brian Moon [mailto:[EMAIL PROTECTED]] > Sent: Tuesday, January 28, 2003 5:50 PM > To: [EMAIL PROTECTED]; Joseph Tate > Cc: Php-Dev List; PHP Group > Subject: Re: [PHP-DEV] Re: Register Shutdown Function for Apache > > > Give me a patch and I will te

RE: [PHP-DEV] Re: Register Shutdown Function for Apache

2003-01-28 Thread Joseph Tate
11:23 AM > To: Brian Moon; [EMAIL PROTECTED]; Joseph Tate > Cc: Php-Dev List; PHP Group > Subject: Re: [PHP-DEV] Re: Register Shutdown Function for Apache > > > It also does not send the headers if there is not content. > > > header("Location:

RE: [PHP-DEV] Register Shutdown Function for Apache

2003-01-27 Thread Joseph Tate
For your reference, and all others on the list, here are the patches against the 4.3.0 release code. See the original post at http://lists.php.net/article.php?group=php.dev&article=93238. If someone e-mails me to say they'll commit the changes, I'll make the patches to head and the 4.3 branch, bu

[PHP-DEV] Register Shutdown Function for Apache

2003-01-23 Thread Joseph Tate
I can have the patches ready to go in a very short amount of time. I'll work on and post them if I can be reasonably sure they'll be committed. I'm tired of spinning my wheels with this though. I've got a personally patched version of 4.3.0 that will be going into production in a few weeks, so I

[PHP-DEV] apache_register_shutdown_functions

2003-01-07 Thread Joseph Tate
This patch should remove all of the concerns about my previous patches. You'll notice that there has been no extension to SAPI, and no explicit closing of the socket. Instead I've returned the Apache SAPI module to its previous execution code path. The only modification is that the shutdown_funct

[PHP-DEV] RE: [PATCH]apache_register_shutdown_function final version

2003-01-06 Thread Joseph Tate
uest memory manager is already deactivated, so any emalloc()'d > memory you may have is already freed. I'm not sure how to tackle > this in a > server independent way... > > Zeev > > At 21:55 30/12/2002, Joseph Tate wrote: > >That's no good. If I remove

[PHP-DEV] Typo in sapi/apache/php_apache.c

2003-01-03 Thread Joseph Tate
Here's a patch. It's in both the 4.3 and head branches. I don't have sufficient karma to apply the patch. --- php4/sapi/apache/php_apache.c +++ php4/sapi/apache/php_apache.c @@ -115,7 +117,7 @@ ap_child_terminate( ((request_rec *)SG(server_context)) ); RETURN_TRUE; } else {

RE: [PHP-DEV] Re: [PHP-CVS] cvs: php4 /sapi/apache2filter php_apache.h sapi_apache2.c

2003-01-03 Thread Joseph Tate
I think you (Sascha) need to provide a proper example of how to do it "properly". It's insufficient to just say "Don't do that". At least point to a place in the code where it is done properly. These changes are needed by the developer, and the developer will use them whether they're in the code

RE: [PHP-DEV] RE: [PATCH]apache_register_shutdown_function final version

2002-12-30 Thread Joseph Tate
Will this placate you? It will thus only break keep-alive if there are offline functions to be run. If this is still unacceptable, the php_request_shutdown may need to be redesigned, and thus, I fear, all of SAPI. Joseph > -Original Message- > From: Joseph Tate [mailto:[EMAIL PROTECT

[PHP-DEV] RE: [PATCH]apache_register_shutdown_function final version

2002-12-30 Thread Joseph Tate
That's no good. If I remove the sapi_close stuff, and try to execute the shutdown functions in php_apache_request_shutdown() all I get is stuff in the error log listing the "leaked" memory. The requested function does not get executed. Joseph > -Original Message- > From: Zeev Suraski [m

[PHP-DEV] RE: [PATCH]apache_register_shutdown_function final version

2002-12-30 Thread Joseph Tate
There probably is a better way to do it. I just haven't been able to figure it out. Most Apache modules wait until the logging stage to execute "offline" code, but it doesn't seem that at that stage PHP code is still in memory. Thus there doesn't seem to be a satisfactory way to do this. As for

[PHP-DEV] [PATCH]apache_register_shutdown_function final version

2002-12-30 Thread Joseph Tate
As a reminder, this replaces the register_shutdown_function functionality removed in 4.1.x as described at http://bugs.php.net/15209. I've made my final adjustments to the patch. Please review and commit both to HEAD and PHP_4_3. I received no response from the SAPI guru's, so I went ahead and a

[PHP-DEV] apache_register_shutdown_function part 2, Now with test script.

2002-12-27 Thread Joseph Tate
I've moved most of the code out of the ext/standard directory and into the sapi/apache directory. In order to do that I had to make a few of the local functions in basic_functions.c non-local. See patch for details. The patch is a complete patch of all my changes and can be applied to a fresh ch

[PHP-DEV] Revision 1 of register_apache_shutdown_function patch

2002-12-26 Thread Joseph Tate
The patch is attached. Please test on your system, especially on non-apache systems. In its present state it will probably break any non-apache build. There are a few changes to SAPI.c and SAPI.h that should be looked over by the SAPI developers. I've added a hook for a beast called sapi_close.

[PHP-DEV] Concerning register_shutdown_function

2002-12-26 Thread Joseph Tate
I've finally figured out a way to add a register_apache_shutdown_function and have it execute after the connection to the client has closed. This will only be available to users of the Apache web server. A patch will be forthcoming. This message is to gear up testers. The patch will be against

RE: [PHP-DEV] GIF support

2002-11-20 Thread Joseph Tate
> -Original Message- > From: Pierre-Alain Joye [mailto:[EMAIL PROTECTED]] > On Wed, 20 Nov 2002 14:01:06 +0100 > "Carsten Gehling" <[EMAIL PROTECTED]> wrote: > > > A question popped into my mind. I know GD doesn't support GIF because > > of Unisys' license on the LZW compression format.

[PHP-DEV] Where is the http connection shut down?

2002-10-25 Thread Joseph Tate
I'm trying to add my new function, register_offline_function, and have it pretty much finished, but need a few pointers. The php_request_function in main/main.c is where I'm working currently. I've set up the function very similarly to the current register_shutdown_function mechanism, and I've ch

Re: [PHP-DEV] [4.3] Current critical bugs

2002-10-15 Thread Joseph Tate
Thanks. I appreciate the response. Joseph Zeev Suraski wrote: > At 21:14 15/10/2002, Joseph Tate wrote: > >> Throw me a bone then. What is the suggested way to offer php >> developers the opportunity to run code after the connection has been >> closed? > >

Re: [PHP-DEV] [4.3] Current critical bugs

2002-10-15 Thread Joseph Tate
Throw me a bone then. What is the suggested way to offer php developers the opportunity to run code after the connection has been closed? Even if it only works under Apache on Linux? Also if the 4.1.0 behavior is the "correct" behavior, why is the function still documented as the 4.0.x beha

RE: [PHP-DEV] Development FAQ?

2002-10-04 Thread Joseph Tate
There are a few ways to do it. http://msdn.microsoft.com/library/default.asp?url=/library/en-us/vsdebug/htm l/_atl_using_debugbreak.asp Add "_asm int 3;" where you want to break. Use a dialog to pause execution until you can attach the debugger to it: #ifdef _DEBUG char szMessage [256];

[PHP-DEV] [RFC] Bug 15209 fix--register_shutdown_function(string function, bool exit)

2002-10-04 Thread Joseph Tate
ssing, i.e. graphics rendering or complex data analyses, to be built using php instead of cgi or some other alternative. I'll be happy to provide a patch for this if I can be reasonably sure that it will be committed. I hope that this issue can be resolved before the release of 4.3.

RE: [PHP-DEV] [PATCH] Win32 project files

2002-09-12 Thread Joseph Tate
Looks ok to me. > -Original Message- > From: Sebastian Bergmann [mailto:[EMAIL PROTECTED]] > Sent: Wednesday, September 11, 2002 4:41 AM > To: [EMAIL PROTECTED] > Subject: [PHP-DEV] [PATCH] Win32 project files > > > A while ago I started working on main/config.w32.h beeing generated >

RE: [PHP-DEV] Windows builds and ftp.c

2002-09-05 Thread Joseph Tate
I believe that the consensus with warnings on the windows builds is that we don't care. We're not going to cast where it isn't necessary. So you might want to revert your last patch. Joseph > -Original Message- > From: Dan Kalowsky [mailto:[EMAIL PROTECTED]] > Sent: Thursday, September

RE: [PHP-DEV] PHP 4.3 and PHP 5

2002-08-21 Thread Joseph Tate
And a couple more things. > Adding to the ever expanding list... > > On Wed, 21 Aug 2002, Sterling Hughes wrote: > > > > Hi all, > > > > > > Following on from the recent debug_backtrace discussion, and the > > > discussion about just what we are releasing next and so on, I'd just > > > thought I

RE: [PHP-DEV] PHP (Tutorial) Documentation

2002-08-02 Thread Joseph Tate
www.php.net Please ask questions like these on the php-general list. This list is for the development of PHP, not with PHP. > -Original Message- > From: Joshua Abbott [mailto:[EMAIL PROTECTED]] > Sent: Friday, August 02, 2002 5:17 PM > To: [EMAIL PROTECTED] > Subject: [PHP-DEV] PHP (Tut

RE: [PHP-DEV] HELP HELP HELP

2002-08-02 Thread Joseph Tate
You have to declare the variables as globals, or set register_globals to On in you php.ini file. In any case. Please direct all newbie questions on developing with php to php-general. php-dev is for development of php itself. Joseph > -Original Message- > From: JJ [mailto:[EMAIL PROTE

RE: [PHP-DEV] how to debug a php extension...

2002-07-16 Thread Joseph Tate
Which platform are you on? Linux? Look for 'How to generate a backtrace' on the php.net website, as David posted. Windows? Limit the number of active server processes to 1, then using MSDEV, attach to the running apache process. (It'll help if both apache and your extension are built in debug

RE: [PHP-DEV] Bugpack 13

2002-07-03 Thread Joseph Tate
You can convert back to NTFS, just not for free. The better Disk Management utilities (i.e. Partition Magic) offer this functionality. > -Original Message- > From: Tit "Black" Petric [mailto:[EMAIL PROTECTED]] > Sent: Wednesday, July 03, 2002 6:37 AM > To: Magnus M; Michael Dransfield >

RE: [PHP-DEV] Re: [Zend Engine 2] Re: [PHP-DEV] Re: [Zend Engine 2] PHP in the future

2002-06-07 Thread Joseph Tate
How much of C has been reused, and reused and reused again? There is no oo in stdlib. > -Original Message- > Code reusability is a psychological issue. You can reuse code in PHP 4, > and it'll be even better in 5 - PEAR is a clear demonstration of > this. Whether people actually end up

[PHP-DEV] DOMXML Function consistency

2002-06-07 Thread Joseph Tate
A bug report or two have been made regarding function names in attribute nodes. Taking a look, nodes have the following access functions: node_name node_type node_value etc. However attribute nodes have the following access functions: name value specified I am thinking that to make it more c

RE: [PHP-DEV] PHP in the future

2002-06-06 Thread Joseph Tate
Emacs!!! XEmacs!!! Emacs!!! XEmacs!!! Now seriosly kids. My opinion is that none of the modifications that have been discussed actually change the language into something better. Everything that you can do with the proposed modification, you can do without. Sure multiple inheritance makes t

RE: [PHP-DEV] changed behavior of shutdown-registered function in 4.0.x->4.1.x (conn. handling)

2002-06-03 Thread Joseph Tate
Please do not cross post. The register_shutdown_function bug has been open for quite some time: See bug #15209 at http://bugs.php.net/bug.php?id=15209. I work with the original poster, and have access to his patch that seems to fix the problem. I'm working on it today, and hopefully will have a

RE: [PHP-DEV] Compile php_zend2 w32 domxml, the 2nd

2002-05-31 Thread Joseph Tate
I think this would be the correct list, but I doubt that anyone has tried to do what you're trying to do. What I would look at first is the list of linked libraries in the project settings. They're probably set to ZE1 settings, and could stand to be updated. Other than that, the standard tricks

RE: [PHP-DEV] bundling libxml2 / bundling locations

2002-05-31 Thread Joseph Tate
Really what we should do is in the configure process, if --with-dom is specified and not found on the system, we could call wget, untar, ./configure make, etc. It's the same right? Oh, then we depend on wget being installed. What is the status quo? If you install perl on a system, it runs out

Re: [PHP-DEV] [PATCH] Fix for bug 16888

2002-05-17 Thread Joseph Tate
We'll try this again. Here's the patch in a .txt file. - Original Message - From: "Christian Stocker" <[EMAIL PROTECTED]> To: "Joseph Tate" <[EMAIL PROTECTED]> Cc: "Php-Dev List" <[EMAIL PROTECTED]> Sent: Thursday, May 16, 200

[PHP-DEV] [PATCH] Fix for bug 16888

2002-05-16 Thread Joseph Tate
The following fixes bug 16888 so that Apache and IIS no longer crash on Windows when using the domxml extension with more than 128 nodes. See http://bugs.php.net/bug.php?id=16888 for details. Will the memory leak gurus please have a go at this and let me know what problems arise? Also, please t

RE: [PHP-DEV] Re: PHP 4.3 charter and release plan

2002-05-06 Thread Joseph Tate
Uwe and Christian have together just about doubled the number of available functions. I'd call that pretty major. > -Original Message- > From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] > Sent: Sunday, May 05, 2002 3:07 AM > To: Stig S. Bakken > Cc: Christian Stocker; [EMAIL PROTECTED]

RE: [PHP-DEV] config.w32.h...registry configuration

2002-05-03 Thread Joseph Tate
> Well, you are correct that the size of the executable is irrelevant, but > having different instances of PHP means less shared pages when multiple > copies are loaded. There is a definite advantage to having a single httpd > binary that is the same for everyone when it comes to runtime memory >

RE: [PHP-DEV] config.w32.h

2002-05-01 Thread Joseph Tate
1. I think it's ok. 2. I'd create a batch file that does the renaming, and then set it up to run in a custom build step. You can set those up through the Custom Build tab in the Project settings dialog. Joseph > -Original Message- > From: Sebastian Bergmann [mailto:[EMAIL PROTECTED]]

[PHP-DEV] [Suggestion] Web server line in bug reporting form

2002-04-29 Thread Joseph Tate
I think we should add a dedicated line for the web server type in the bug reporting form. That will cut down on the number of what "webserver are you running" questions as well as the number of bad assumptions. This should also go into the e-mails sent to the php-bugs list. If this has been sug

RE: [PHP-DEV] php extensions on windows

2002-04-18 Thread Joseph Tate
Look through the php4/ext directories for project files. Add the project files to the php4ts workspace in VC++, and then compile them. If an extension doesn't have a .dsp file for it, it hasn't been compiled for windows. (Though support for windows is not that hard to add, if all the libraries

RE: [PHP-DEV] The PHP Platform

2002-04-17 Thread Joseph Tate
> I didn't know that compiling with just domxml gave xslt as well. > are you sure of this? > --with-dom-xslt and --with-dom-exslt -- PHP Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php

RE: [PHP-DEV] php installation in XP

2002-04-16 Thread Joseph Tate
The better forum to ask these kinds of questions is on the php-general list. See http://www.php.net/mailing-lists.php for the complete listing. Make sure that you read through the installation guide again before posting though. > -Original Message- > From: maria [mailto:[EMAIL PROTECTED]

RE: [PHP-DEV] domxml "nightmare" and suggestion

2002-04-15 Thread Joseph Tate
I personally could care less about w3c-DOM compliance, as long as I can do everything to the DOM that I need to, and as of 4.2.0, I can. Yes the DOMXML stuff could be cleaned up, or even replaced, but it's functional. It looks like gdome2 is just a wrapper around libxml2 that makes it w3c-Dom co

RE: [PHP-DEV] Patch to add version info to php4isapi dll.

2002-04-11 Thread Joseph Tate
Note if after applying this patch the project fails to load, it's because of a \r\n issue. Fix those and the project will load just fine. Joseph > -Original Message- > From: Joseph Tate [mailto:[EMAIL PROTECTED]] > Sent: Thursday, April 11, 2002 12:21 PM > To: Php-D

RE: [PHP-DEV] cvs: php4 /win32 php4dllts.dsp php4dllts.rc php4dllts.rc2 php4ts.dsp php4ts.rc php4ts.rc2 php4ts_cli.dsp php4ts_cli.rc php4ts_cli.rc2 resource.h

2002-04-11 Thread Joseph Tate
They're fixed now. Sorry about that. > -Original Message- > From: Joseph Tate [mailto:[EMAIL PROTECTED]] > Sent: Thursday, April 11, 2002 1:48 PM > To: Sebastian Bergmann; [EMAIL PROTECTED] > Subject: RE: [PHP-DEV] cvs: php4 /win32 php4dllts.dsp php4dllts.rc > p

RE: [PHP-DEV] cvs: php4 /win32 php4dllts.dsp php4dllts.rc php4dllts.rc2 php4ts.dsp php4ts.rc php4ts.rc2 php4ts_cli.dsp php4ts_cli.rc php4ts_cli.rc2 resource.h

2002-04-11 Thread Joseph Tate
ilto:[EMAIL PROTECTED]] > Sent: Thursday, April 11, 2002 1:31 PM > To: [EMAIL PROTECTED] > Subject: Re: [PHP-DEV] cvs: php4 /win32 php4dllts.dsp php4dllts.rc > php4dllts.rc2 php4ts.dsp php4ts.rc php4ts.rc2 php4ts_cli.dsp > php4ts_cli.rc php4ts_cli.rc2 resource.h > > > Jose

RE: [PHP-DEV] cvs: php4 /win32 php4dllts.dsp php4dllts.rc php4dllts.rc2 php4ts.dsp php4ts.rc php4ts.rc2 php4ts_cli.dsp php4ts_cli.rc php4ts_cli.rc2 resource.h

2002-04-11 Thread Joseph Tate
Sorry. I do have vc 98. It's just I've never referred to it as that. I call it VC 6.0. I'm checking it out right now. Should be a pretty quick fix. > -Original Message- > From: Sebastian Bergmann [mailto:[EMAIL PROTECTED]] > Sent: Thursday, April 11, 2002 1

RE: [PHP-DEV] cvs: php4 /win32 php4dllts.dsp php4dllts.rc php4dllts.rc2 php4ts.dsp php4ts.rc php4ts.rc2 php4ts_cli.dsp php4ts_cli.rc php4ts_cli.rc2 resource.h

2002-04-11 Thread Joseph Tate
April 11, 2002 12:46 PM > To: [EMAIL PROTECTED] > Subject: [PHP-DEV] Re: [PHP-CVS] cvs: php4 /win32 php4dllts.dsp > php4dllts.rc php4dllts.rc2 php4ts.dsp php4ts.rc php4ts.rc2 > php4ts_cli.dsp php4ts_cli.rc php4ts_cli.rc2 resource.h > > > Joseph Tate wrote: > > jtate

[PHP-DEV] Patch to add version info to php4isapi dll.

2002-04-11 Thread Joseph Tate
If someone would like to apply it, here's a patch to add versioning to the php4isapi.dll file. The necessary files are attached and should go in the same directory as the .dsp project file. Note due to the new partitioned version scheme just inserted today. These files require no modification w

RE: [PHP-DEV] Addition of PHP_MINOR_VERSION, PHP_MAJOR_VERSION and PHP_RELEASE_VERSION (patch included)

2002-04-11 Thread Joseph Tate
Thanks. One day I'll muster up the nerve to ask for Karma. Not yet though. Much power requires much responsibility. > -Original Message- > From: Wez Furlong [mailto:[EMAIL PROTECTED]] > Sent: Thursday, April 11, 2002 11:14 AM > To: Joseph Tate > Cc: Php-Dev List

[PHP-DEV] Addition of PHP_MINOR_VERSION, PHP_MAJOR_VERSION and PHP_RELEASE_VERSION (patch included)

2002-04-11 Thread Joseph Tate
In order to accommodate different operating systems (most notably windows, which likes a "Major, Minor, Release, Build" release number) who use a different version numbering scheme, I've modified configure.in and the stock main/php_version.h to separate out the Major Minor Release &c. from PHP_VER

[PHP-DEV] Request for change of configure.in and main/php_version.h

2002-04-10 Thread Joseph Tate
In order to accommodate different operating systems (most notably windows, which likes a "Major, Minor, Release, Build" release number) who use a different version numbering scheme, I've modified configure.in and the stock main/php_version.h to separate out the Major Minor Release &c. from PHP_VER

RE: [PHP-DEV] zend questions and bug #15333

2002-04-09 Thread Joseph Tate
y, April 09, 2002 3:29 PM > To: 'Joseph Tate'; Rose, Billy; Php-Dev List > Subject: RE: [PHP-DEV] zend questions and bug #15333 > > > In your stack dump, the function call that bombed was memcpy in > the MS lib. > Looking at the source in zend_alloc.c, I find tha

RE: [PHP-DEV] zend questions and bug #15333

2002-04-09 Thread Joseph Tate
Release_TSDbg version of php4isapi rather than a release, so that's why I have a stack trace. All of this is with the current PHP_4_2_0 release branch. Joseph > -Original Message- > From: Rose, Billy [mailto:[EMAIL PROTECTED]] > Sent: Tuesday, April 09, 2002 2:54 PM > To: '

[PHP-DEV] zend questions and bug #15333

2002-04-09 Thread Joseph Tate
http://bugs.php.net/15333 I've narrowed down the problem, but can't seem to get anywhere with it. The state of the server when the problem occurrs: All serviceable threads have been killed or have timed out. A request is received prompting the spawning of a new thread. The new thread then goes

RE: [PHP-DEV] Memory leak and possible cause of bug #15333

2002-04-08 Thread Joseph Tate
lafountain [mailto:[EMAIL PROTECTED]] > Sent: Monday, April 08, 2002 4:25 PM > To: Joseph Tate; Php-Dev List > Subject: RE: [PHP-DEV] Memory leak and possible cause of bug #15333 > > > hmm > ok > > zend_constant *c, *b; > char *sname = "myname"; > > c-

RE: [PHP-DEV] Memory leak and possible cause of bug #15333

2002-04-08 Thread Joseph Tate
I don't follow you. Why does it need to be copied? c->name already contains the value. Old? New? c is c is c. Commenting out the code causes other problems elsewhere (or seems to). I just don't understand why it has to be done. > -Original Message----- > ---

[PHP-DEV] Memory leak and possible cause of bug #15333

2002-04-08 Thread Joseph Tate
in the copy_zend_constant function it reads: void copy_zend_constant(zend_constant *c) { c->name = zend_strndup(c->name, c->name_len); if (!(c->flags & CONST_PERSISTENT)) { zval_copy_ctor(&c->value); if (c->flags & CONST_EFREE_PERSISTENT) { /* persi

[PHP-DEV] proposed domxml funciton name changes:

2002-04-05 Thread Joseph Tate
I propose the following function name changes for clarity and consistency: Rename: domxml_node_insert_before -> domxml_node_insert_node domxml_node_append_child -> domxml_node_append_node Remove: alias to unlink (in favor of the more consistent unlink_node) domxml_node_new_child() (in favor of

[PHP-DEV] RE: [PHP-CVS] cvs: php4 /ext/domxml php_domxml.c

2002-04-05 Thread Joseph Tate
Any objections to merging this into 4.2.0? > -Original Message- > From: Joseph Tate [mailto:[EMAIL PROTECTED]] > Sent: Friday, April 05, 2002 1:18 PM > To: [EMAIL PROTECTED] > Subject: [PHP-CVS] cvs: php4 /ext/domxml php_domxml.c > > > jtate Fri

[PHP-DEV] Patch for php.ini-* as mentioned in commit for /ext/crack/crack.dsp

2002-03-28 Thread Joseph Tate
Here it is. Will someone with karma please commit it? Thanks, Joseph php.ini-patch Description: Binary data -- PHP Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php

[PHP-DEV] Patch to php4ts.dsp

2002-03-26 Thread Joseph Tate
The Release_TSDbg target for the php4ts project does not build out of the box. Attached is a patch which adds the Ws2_32.lib to the linking list. Joseph php4ts.patch Description: Binary data -- PHP Development Mailing List To unsubscribe, visit: http://www.php.net/unsu

RE: [PHP-DEV] Unsigned Right Shift Sould there be a matching left shift?

2002-03-25 Thread Joseph Tate
-1 Even if it does make for consistency (which is debatable) anyone who uses the >>> operator will also know that <<< is the same as << (one less character to type too). > -Original Message- > From: Jason Greene [mailto:[EMAIL PROTECTED]] > Sent: Sunday, March 24, 2002 2:37 AM > To: PHP-D

RE: [PHP-DEV] question

2002-03-25 Thread Joseph Tate
a) Yes, if and only if memory has been allocated and you have to deallocate it. Otherwise a memory leak occurs. b) No if a is not the case. > -Original Message- > From: Vergoz Michael (SYSDOOR) [mailto:[EMAIL PROTECTED]] > Sent: Sunday, March 24, 2002 6:00 PM > To: [EMAIL PROTECTED] > S

RE: [PHP-DEV] FTP returns wrong file size (and a fix) - second try

2002-03-18 Thread Joseph Tate
; To: [EMAIL PROTECTED] > Cc: Joseph Tate; PHP Developers Mailing List > Subject: Re: [PHP-DEV] FTP returns wrong file size (and a fix) - second > try > > > If someone needs an ASCII size, they need to scream and file a bug > report and then I'll implement it. This function

RE: [PHP-DEV] FTP returns wrong file size (and a fix) - second try

2002-03-18 Thread Joseph Tate
Would there ever be a need to get the ASCII ftp_size? If not, the go ahead, but if there ever might be, you may want to add a parameter to ftp_size so that it behaves like ftp_get et all. The parameter could default to BINARY. Joseph > -Original Message- > From: Vlad Krupin [mailto:[EM

[PHP-DEV] Re: cvs: php4 /main php.h

2002-03-15 Thread Joseph Tate
Ok. From the MSDN (Which is available for free perusal from msdn.microsoft.com): --Begin M$ Technobabble-- The ANSI assert macro is typically used to identify logic errors during program development, by implementing the expression argument to evaluate to false only when the program is operating

[PHP-DEV] I feel kind of silly that I can't track this down, but...

2002-03-08 Thread Joseph Tate
I've got the current CVS version of php configured as follows: EXTENSION_DIR=/home/jtate/php-dev/php4/modules \ ./configure --with-zlib-dir --with-dom=shared --with-dom-xslt --with-dom-exs lt --without-mysql --without-ldap Everything compiles and builds just fine, but when I run the following sc

RE: [PHP-DEV] [patch] domxml ./. trivial cleanup

2002-03-07 Thread Joseph Tate
The maintainer seems to be AWOL. I've never heard from him anyway. I'll commit the change though if there are no objections. It seems like instead of an assumption that found will always be !NULL, we should assert that it be !NULL. > -Original Message- > From: Lukas Schroeder [mailto

RE: [PHP-DEV] Not getting output I expect on all pages

2002-03-07 Thread Joseph Tate
Ask this question on the php-general list. This mail list is for issues involving the development _of_ PHP, not development _in_ PHP. Joseph > -Original Message- > From: Liam Gibbs [mailto:[EMAIL PROTECTED]] > Sent: Thursday, March 07, 2002 10:06 AM > To: [EMAIL PROTECTED] > Subject: [P

RE: [PHP-DEV] new bug "status"

2002-03-06 Thread Joseph Tate
I like it, but first I'd like to see a file upload option to upload the patch much like bugzilla has. > -Original Message- > From: Robin Ericsson [mailto:[EMAIL PROTECTED]] > Sent: Wednesday, March 06, 2002 9:17 AM > To: [EMAIL PROTECTED] > Subject: [PHP-DEV] new bug "status" > > > I ment

[PHP-DEV] cracklib under Windows

2002-03-05 Thread Joseph Tate
What's the status of cracklib support under windows? Has it even been attempted? Is anyone working on it? We're going to need to get it going, but I was wondering if anyone else has gotten started on this so that we could pool resources. Joseph -- PHP Development Mailing List

RE: [PHP-DEV] New Module

2002-03-05 Thread Joseph Tate
ser Soze [mailto:[EMAIL PROTECTED]] > Sent: Tuesday, March 05, 2002 1:19 PM > To: Joseph Tate; Brad Fisher; [EMAIL PROTECTED] > Cc: [EMAIL PROTECTED] > Subject: Re: [PHP-DEV] New Module > > > I agree, so I think this module could be packaged with a default mycrypt >

RE: [PHP-DEV] New Module

2002-03-05 Thread Joseph Tate
What Brad is suggesting doesn't take away from your module, just makes it easier to use from php land. No need to write your own crypt functions in C, just write them in PHP and use them as callbacks. Of course leaving that option for advanced users is a good idea. I personally don't think that

RE: [PHP-DEV] New Module

2002-03-05 Thread Joseph Tate
I agree that there should be a better way to store db connection data and such in PHP. Since php scripts have to be readable by a webserver, that usually makes them readable to the users on the box. Not necessarily, but it requires custom setup to have it otherwise, and unless you have a true ac

[PHP-DEV] RE: Bug #15530 Updated: conent of node node correct reading new DOM value after set_content of node

2002-02-13 Thread Joseph Tate
As for the time frame for the next release of php? I don't know. Joseph > -Original Message- > From: Rob Richards [mailto:[EMAIL PROTECTED]] > Sent: Wednesday, February 13, 2002 11:42 AM > To: Joseph Tate > Subject: Re: Bug #15530 Updated: conent of node node correct rea

[PHP-DEV] RE: Bug #15530 Updated: conent of node node correct reading new DOM value after set_content of node

2002-02-13 Thread Joseph Tate
You kind of have to have a custom php build anyway because DOMXML stuff isn't part of the RH php installation. I've got rpms for RH 7.2 if that will help. They don't have the get_content stuff, but I could add that to my custom patch (that fixes bug #14934) no problem. Besides, it'll be in the

[PHP-DEV] CVS Account Request: jtate

2002-02-13 Thread Joseph Tate
I'd like to help with the DOM-XML extension, getting it up to snuff. Filling in the holes, etc. I've already submitted one patch, and feel I can help a very strapped development team. -- PHP Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php

[PHP-DEV] DOMXML maintainer

2001-05-03 Thread Joseph Tate
Who is the domxml maintainer? I would like to make some of the functions a little more useful/robust, less verbose (about warning messages, and so forth). Joseph -- PHP Development Mailing List To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [E