Re: [PHP-DEV] include bug in 5.3

2008-08-07 Thread Arnaud Le Blanc
On Thursday 07 August 2008 21:52:37 Rasmus Lerdorf wrote: Felipe Pena wrote: Em Qui, 2008-08-07 às 20:55 +0200, Hannes Magnusson escreveu: On Thu, Aug 7, 2008 at 20:20, Rasmus Lerdorf[EMAIL PROTECTED] wrote: Christian Stocker wrote: Hi Since quite some time (weeks), I have this very

Re: [PHP-DEV] clearstatcache change

2008-08-06 Thread Arnaud Le Blanc
Hi, On Wednesday 06 August 2008 18:18:49 Jani Taskinen wrote: Rasmus Lerdorf wrote: I think we either need to make clearstatcache() not affect the realpath cache, or we should add an optional argument to it to specify whether or not the realpath cache should be cleared as well. See this:

Re: [PHP-DEV] clearstatcache change

2008-08-06 Thread Arnaud Le Blanc
On Wednesday 06 August 2008 19:56:58 Arnaud Le Blanc wrote: Hi, On Wednesday 06 August 2008 18:18:49 Jani Taskinen wrote: Rasmus Lerdorf wrote: I think we either need to make clearstatcache() not affect the realpath cache, or we should add an optional argument to it to specify whether

Re: [PHP-DEV] [RFC] Zend Signal Handling

2008-08-05 Thread Arnaud Le Blanc
Votre message: Greetings! On 8/3/08 9:37 PM, Arnaud LB [EMAIL PROTECTED] wrote: If sigaction is not available Zend Signal Handling will not be enabled, so it will not be enabled on Windows (I assume sigaction is not available on Windows, it is ?). For pthreads and sigprocmask,

Re: [PHP-DEV] [RFC] Zend Signal Handling

2008-08-05 Thread Arnaud Le Blanc
On Tuesday 05 August 2008 12:28:19 Lucas Nealan wrote: On 8/4/08 11:51 PM, Arnaud Le Blanc [EMAIL PROTECTED] wrote: global_sigmask is initialized using sigfillset(), so it contains _all_ signals (except SIGSEGV, etc because non-blockable or not safe to block) and there is no need to add

Re: [PHP-DEV] [RFC] Zend Signal Handling

2008-08-05 Thread Arnaud Le Blanc
On Tuesday 05 August 2008 08:51:33 Arnaud Le Blanc wrote: Votre message: Greetings! On 8/3/08 9:37 PM, Arnaud LB [EMAIL PROTECTED] wrote: If sigaction is not available Zend Signal Handling will not be enabled, so it will not be enabled on Windows (I assume sigaction

Re: [PHP-DEV] [RFC] Zend Signal Handling

2008-08-01 Thread Arnaud Le Blanc
Hi, On Friday 01 August 2008 05:39:27 Lucas Nealan wrote: I was initially planning to implement ZTS, however the more I learned the harder it became. The first issue being that not every scope implementing the blocking macros has implemented or fetched TSRMLS data. Many places in zend_alloc.c

Re: [PHP-DEV] [RFC] Zend Signal Handling

2008-08-01 Thread Arnaud Le Blanc
On Friday 01 August 2008 13:27:44 Lucas Nealan wrote: Hi! On 7/31/08 11:07 PM, Arnaud Le Blanc [EMAIL PROTECTED] wrote: I worked a bit on the ZTS version, this actually fixes many problems with ZTS on non-windows plateforms :) [...snip...] I will send a modified version of your patch

Re: [PHP-DEV] [RFC] Zend Signal Handling

2008-07-30 Thread Arnaud Le Blanc
Hi, On Wednesday 30 July 2008 18:37:26 Dmitry Stogov wrote: I see several issues with the patch 1) It assumes that web server (and webserver extensions) won't setup any signal handlers after PHP startup. This assumption may be wrong. 2) It is incompatible with ext/pcntl If zend_signal()

Re: [PHP-DEV] [RFC] Zend Signal Handling

2008-07-30 Thread Arnaud Le Blanc
On Wednesday 30 July 2008 20:46:13 Jani Taskinen wrote: Arnaud Le Blanc kirjoitti: Hi, On Wednesday 30 July 2008 18:37:26 Dmitry Stogov wrote: I see several issues with the patch 1) It assumes that web server (and webserver extensions) won't setup any signal handlers after PHP

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

2008-07-29 Thread Arnaud Le Blanc
On Monday 28 July 2008 23:11:21 Stanislav Malyshev wrote: Hi! The problem was experienced by 5 persons at least. How many persons is not very important, what important is how many different compilers they used and how recent those are, in other words - how frequently you could hit this

Re: [PHP-DEV] Replacement to ticks for signals

2008-07-29 Thread Arnaud Le Blanc
On Monday 28 July 2008 17:26:39 Arnaud Le Blanc wrote: On Sunday 27 July 2008 16:38:47 Arnaud Le Blanc wrote: On Sunday 27 July 2008 16:04:58 Derick Rethans wrote: On Sun, 27 Jul 2008, Arnaud Le Blanc wrote: Hi, I made a pcntl_signal_dispatch() function [1] to allow scripts

Re: [PHP-DEV] Replacement to ticks for signals

2008-07-29 Thread Arnaud Le Blanc
On Tuesday 29 July 2008 16:40:03 Antony Dovgal wrote: On 29.07.2008 18:28, Arnaud Le Blanc wrote: I added pcntl_sigwaitinfo(), pcntl_sigtimedwait() and pcntl_sigprocmask() to my patch: http://arnaud.lb.s3.amazonaws.com/pcntl.patch pcntl_sigwaitinfo() allows to block until

Re: [PHP-DEV] Replacement to ticks for signals

2008-07-29 Thread Arnaud Le Blanc
On Tuesday 29 July 2008 16:55:12 Lukas Kahwe Smith wrote: On 29.07.2008, at 16:40, Antony Dovgal wrote: On 29.07.2008 18:28, Arnaud Le Blanc wrote: I added pcntl_sigwaitinfo(), pcntl_sigtimedwait() and pcntl_sigprocmask() to my patch: http://arnaud.lb.s3.amazonaws.com/pcntl.patch

Re: [PHP-DEV] Replacement to ticks for signals

2008-07-28 Thread Arnaud Le Blanc
On Sunday 27 July 2008 16:38:47 Arnaud Le Blanc wrote: On Sunday 27 July 2008 16:04:58 Derick Rethans wrote: On Sun, 27 Jul 2008, Arnaud Le Blanc wrote: Hi, I made a pcntl_signal_dispatch() function [1] to allow scripts that use signals to work without ticks

[PHP-DEV] Replacement to ticks for signals

2008-07-27 Thread Arnaud Le Blanc
Hi, I made a pcntl_signal_dispatch() function [1] to allow scripts that use signals to work without ticks. This function just calls the pcntl's tick handler on-demand so that all signal handler functions are called if there are pending signals. It does not allow the signal handlers to be

Re: [PHP-DEV] New optimization idea; was: No runtime fetching of built-in global constants

2008-07-27 Thread Arnaud Le Blanc
Hi, On Sunday 27 July 2008 15:35:11 Matt Wilmas wrote: Sorry, but now I'm the one who's confused here, since I have no idea what I'm supposed to look into exactly. :-/ I know about shebang lines, and I know there's a check in the scanner now to skip over it (must have been somewhere else

Re: [PHP-DEV] Replacement to ticks for signals

2008-07-27 Thread Arnaud Le Blanc
On Sunday 27 July 2008 16:04:58 Derick Rethans wrote: On Sun, 27 Jul 2008, Arnaud Le Blanc wrote: Hi, I made a pcntl_signal_dispatch() function [1] to allow scripts that use signals to work without ticks. This function just calls the pcntl's tick handler on-demand so that all

Re: [PHP-DEV] towards 5.3 alpha1

2008-07-26 Thread Arnaud Le Blanc
On Saturday 26 July 2008 13:57:45 Lukas Kahwe Smith wrote: On 26.07.2008, at 13:02, Johannes Schlüter wrote: Again a general request to the developer and user community at large: Please concentrate on findingfixing bugs instead of functional changes (including arginfo and

Re: [PHP-DEV] [PATCH] RecursiveTreeIterator implementation

2008-07-23 Thread Arnaud Le Blanc
Hello Marcus, On Wednesday 23 July 2008 01:16:14 Marcus Boerger wrote: Hello Arnaud, Tuesday, July 22, 2008, 11:23:47 AM, you wrote: Hello, Care to look into the MultipleIterator next? That's done, for 5_3 [1] and HEAD [2]. And a test [3][4] covering mostly all the cases.

Re: [PHP-DEV] [PATCH] RecursiveTreeIterator implementation

2008-07-22 Thread Arnaud Le Blanc
Hello, Care to look into the MultipleIterator next? That's done, for 5_3 [1] and HEAD [2]. And a test [3][4] covering mostly all the cases. [1] http://arnaud.lb.s3.amazonaws.com/MultipleIterator_5_3.patch [2] http://arnaud.lb.s3.amazonaws.com/MultipleIterator_HEAD.patch [3]

Re: [PHP-DEV] [PATCH] RecursiveTreeIterator implementation

2008-07-19 Thread Arnaud Le Blanc
Hello, Slightly modified and applied. Thanks for the good work. Thanks :) Care to look into the MultipleIterator next? Ok, I will do that. Etienne, I think I can do that before the 24th. Regards, Arnaud -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit:

Re: [PHP-DEV] [PATCH] RecursiveTreeIterator implementation

2008-07-17 Thread Arnaud Le Blanc
Hello, Ok, that's why I said that I didn't know what to do with these conversions. At now I just left the E_NOTICE errors. Regards Hello Arnaud, I will commit it afte I have reviewed and changed it a bit. Right now you ignore conversoin errors. I'll change this to throw exceptions to be

Re: [PHP-DEV] [PATCH] RecursiveTreeIterator implementation

2008-07-10 Thread Arnaud Le Blanc
Hello, On Wednesday 09 July 2008 20:06:14 Marcus Boerger wrote: Hello Arnaud, if you can provicde the same for HEAD then I'll submit it. And if you're fast enough we might even get it into 5.3.0 :-) Johannes, Lukas, how much time does he have? marcus Ok, I made it [1]. I never

[PHP-DEV] [PATH] bug#42663: gzinflate() try to allocate all memory

2008-07-09 Thread Arnaud Le Blanc
Hi, I made a patch [1] for a bug I reported some times ago [2]. gzinflate() passes the Z_FINISH flag to inflate(). This flag may be used when the length of the decoded data is known, so that the data is decoded in one pass. When gzinflate() do not know the decoded length, it grows the buffer

Re: [PHP-DEV] [PATCH] RecursiveTreeIterator implementation

2008-07-09 Thread Arnaud Le Blanc
On Wed, Jul 9, 2008 at 11:18 AM, Marcus Boerger [EMAIL PROTECTED] wrote: Looks very good! Many thanks. Best regards, Marcus Thanks :) -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php

[PHP-DEV] [PATCH] RecursiveTreeIterator implementation

2008-07-08 Thread Arnaud Le Blanc
Hi, I have seen a NEEDS DEVELOPER flag on the TODO for the Implement RecursiveTreeIterator in C task, so I would like to propose my implementation [1]. Currently it follows the PHP implementation, except that it does not have a $prefix public property (how about a private property and a

<    1   2