Re: [PHP-DEV] emalloc() troubles

2002-12-29 Thread Ari Pollak
Again, I told you that I already fixed the problem from within PHP, but there's just one memory leak that I can't track down. On Sun, Dec 29, 2002 at 06:39:18PM +0900, Yasuo Ohgaki wrote: > I realized that now. Anyway, if there is problem with qmail, > I'll fix it iff I think it's really a proble

Re: [PHP-DEV] PHP 4.3.0 released

2002-12-27 Thread Ari Pollak
On Fri, Dec 27, 2002 at 07:41:50PM -0500, Mike Robinson wrote: > Shouldn't that be 'sapi/cgi/php and sapi/cli/php respectively'? The second path is wrong, and respectfully should be respectively. -- PHP Development Mailing List To unsubscribe, visit

Re: [PHP-DEV] emalloc() troubles

2002-12-27 Thread Ari Pollak
PHP isn't leaking memory, my modification to the mail() function is leaking memory, as said earlier in this thread, which is what's troubling me because I can't track down what's leaking. Yasuo Ohgaki said: > PHP shouldn't leak memory even if output/input from/to external program > differs. It see

Re: [PHP-DEV] emalloc() troubles

2002-12-27 Thread Ari Pollak
Unless you come up with a way to migrate 500+ virtualhosts to some other MTA, no, that is not feasible. You can think of qmail like minix in both author and license, in that the author is really arrogant about changing the way his software behaves even though it's not standards-compliant, and yo

Re: [PHP-DEV] emalloc() troubles

2002-12-27 Thread Ari Pollak
The problem is that there are no "qmail devs", and it's easier to fix in PHP than in qmail. -- PHP Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP-DEV] emalloc() troubles

2002-12-26 Thread Ari Pollak
This works perfectly, there's just a single memory leak that keeps happening that I can't get rid of. On Fri, Dec 27, 2002 at 02:33:37AM +0100, Daniel Lorch wrote: > hi, > > > Hi there, I'm trying to hack mail.c to automatically pass a -f argument > > to qmail with a return address, so that the

[PHP-DEV] memleak in string.c?

2002-12-26 Thread Ari Pollak
/home/ari/php-4.3.0RC4/ext/standard/string.c(1350) : Freeing 0x08D0D354 (29 bytes), script=/home/alienhosting/public_html/webmail/src/read_body.php This seems to happen a lot when using SquirrelMail with php 4.3.0RC4, and AFAIK did not happen with 4.2.3. It seems that haystack_orig is allocat

Re: [PHP-DEV] emalloc() troubles

2002-12-26 Thread Ari Pollak
; strcat(sendmail_cmd, qmail_from); efree(qmail_from); that's almost verbatim from stock code already in the function, which doesn't give an error. On Thu, Dec 26, 2002 at 08:11:01PM +0100, Derick Rethans wrote: > On Thu, 26 Dec 2002, Ari Pollak wrote: > > >

Re: [PHP-DEV] emalloc() troubles

2002-12-26 Thread Ari Pollak
In case it helps anyone to have the entire code to look at, attached is a patch against mail.c that contains all my changes. > On Thu, 26 Dec 2002, Ari Pollak wrote: > > > Hi there, I'm trying to hack mail.c to automatically pass a -f argument > > to qmail with a retu

Re: [PHP-DEV] emalloc() troubles

2002-12-26 Thread Ari Pollak
p://php-mag.net/ > - > -- ___ ___ / _ | / _ \ Ari Pollak - [EMAIL PROTECTED] - www.aripollak.com / __ |/ ___/ /_/ |_/_/ -- PHP Development Mailing List <http://www.php.net/> To unsubscribe, visit: http://www.php.net/unsub.php

[PHP-DEV] emalloc() troubles

2002-12-26 Thread Ari Pollak
Hi there, I'm trying to hack mail.c to automatically pass a -f argument to qmail with a return address, so that the Return-path of the message is not always root@blah. Anyway, I seem to have been successful in this endeavor, but I have a slight problem - whenever my code gets executed, I get tw