Re: [PHP] Patch for PHP 4.0.6 memory limit problem posted

2001-07-02 Thread Rouvas Stathis
> > This is the official PHP 4.0.6 version. After line 448 insert: > > #if MEMORY_LIMIT > AG(allocated_memory) -= REAL_SIZE(ptr->size); > #endif > > If you'll take a good look at the diff file the first half is what you're > supposed to have and the second half i

Re: [PHP] Patch for PHP 4.0.6 memory limit problem posted

2001-07-01 Thread Andi Gutmans
At 10:49 PM 7/1/2001 +0300, Rouvas Stathis wrote: >Andi Gutmans wrote: > > > > At 10:17 PM 7/1/2001 +0300, Rouvas Stathis wrote: > > >It is indeed strange, since in the sources I have (downloaded about a > > >week ago), I already have the exact source that the patch presents > > >(without the line

Re: [PHP] Patch for PHP 4.0.6 memory limit problem posted

2001-07-01 Thread Rouvas Stathis
Andi Gutmans wrote: > > At 10:17 PM 7/1/2001 +0300, Rouvas Stathis wrote: > >It is indeed strange, since in the sources I have (downloaded about a > >week ago), I already have the exact source that the patch presents > >(without the lines prefixed with +). > >I'm looking at $PHPHOME/Zend/zend_all

Re: [PHP] Patch for PHP 4.0.6 memory limit problem posted

2001-07-01 Thread Andi Gutmans
At 10:17 PM 7/1/2001 +0300, Rouvas Stathis wrote: >It is indeed strange, since in the sources I have (downloaded about a >week ago), I already have the exact source that the patch presents >(without the lines prefixed with +). >I'm looking at $PHPHOME/Zend/zend_alloc.c file. > >Am I to suppose tha

Re: [PHP] Patch for PHP 4.0.6 memory limit problem posted

2001-07-01 Thread Rouvas Stathis
It is indeed strange, since in the sources I have (downloaded about a week ago), I already have the exact source that the patch presents (without the lines prefixed with +). I'm looking at $PHPHOME/Zend/zend_alloc.c file. Am I to suppose that there is no need to patch anything? -Stathis. Andi G

Re: [PHP] Patch for PHP 4.0.6 memory limit problem posted

2001-07-01 Thread Andi Gutmans
Very strange. I just checked it and it worked for me with GNU patch 2.5. Do you know how to apply it yourself? You just need to add those three lines (without the leading +). Andi At 07:48 PM 7/1/2001 +0300, Rouvas Stathis wrote: >Patch cannot be successfully applied. Any suggestions ? > >Outpu

Re: [PHP] Patch for PHP 4.0.6 memory limit problem posted

2001-07-01 Thread Rouvas Stathis
Patch cannot be successfully applied. Any suggestions ? Output from patch application: rouvas@aspasia(12) /opt/ide2/rouvas/tmp/php-4.0.6/Zend >patch -i patch.zend_alloc.c patching file zend_alloc.c Hunk #1 FAILED at 446. 1 out of 1 hunk FAILED -- saving rejects to file zend_alloc.c.rej rouvas@