Hi,

Compiling with memory limit gives me :

/bin/sh ../libtool --silent --mode=compile gcc -DHAVE_CONFIG_H -I. -I.
-I../main   -DSUPPORT_UTF8 -DXML_BYTE_ORDER=12  -g -O2 -prefer-non-pic
-static -c zend_alloc.c
zend_alloc.c: In function `_emalloc':
zend_alloc.c:187: parse error before `{'
zend_alloc.c: In function `_erealloc':
zend_alloc.c:322: parse error before `char'
zend_alloc.c:327: `length' undeclared (first use in this function)
zend_alloc.c:327: (Each undeclared identifier is reported only once
zend_alloc.c:327: for each function it appears in.)
zend_alloc.c:327: `s' undeclared (first use in this function)
zend_alloc.c:329: warning: assignment from incompatible pointer type
make: *** [zend_alloc.lo] Error 1

Attached patch fixes that.


        Regards,


                Igmar

-- 

Igmar Palsenberg
JDI Media Solutions

Boulevard Heuvelink 102
6828 KT Arnhem
The Netherlands

mailto: [EMAIL PROTECTED]
PGP/GPG key : http://www.jdimedia.nl/formulier/pgp/igmar
? zend_limit_fix.patch
Index: zend_alloc.c
===================================================================
RCS file: /repository/Zend/zend_alloc.c,v
retrieving revision 1.78
diff -r1.78 zend_alloc.c
187c187
<       if (AG(allocated_memory) > AG(allocated_memory_peak) {
---
>       if (AG(allocated_memory) > AG(allocated_memory_peak)) {
312a313
>       }
314d314
< 
-- 
PHP Development Mailing List <http://www.php.net/>
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to