Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:5014 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 19079 invoked by uid 1010); 26 Oct 2003 16:53:40 -0000 Delivered-To: ezmlm-scan-internals@lists.php.net Delivered-To: ezmlm-internals@lists.php.net Received: (qmail 19055 invoked by uid 1007); 26 Oct 2003 16:53:40 -0000 Message-ID: <20031026165338.18992.qmail@pb1.pair.com> To: internals@lists.php.net Date: Sun, 26 Oct 2003 14:53:38 -0200 Lines: 99 X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2800.1106 X-MIMEOLE: Produced By Microsoft MimeOLE V6.00.2800.1106 X-Posted-By: 200.196.104.198 Subject: internal hashtables [patch included] From: cunha17@uol.com.br ("Cristiano Duarte") Hi all, Just to remind about my problem: After updating from latest CVS I still had problems with internal hashtables. I want to make internal class constants and the engine reports memory leaks. So I made this patch wich works for me and removed all memory leaks regarding hashtables. This patch introduces a new macro called ZEND_INIT_INTERNAL_SYMTABLE wich is to be used instead of ZEND_INIT_SYMTABLE when the hashtables is internal. That's the only change that should be done in sources that needs internal hashtables. Best Regards, Cristiano Duarte begin 666 ze2_internal_symtables.patch M/R!P:' MF5N M9%]A;&QO8RYC"CT]/3T]/3T]/3T]/3T]/3T]/3T]/3T]/3T]/3T]/3T]/3T] M/3T]/3T]/3T]/3T]/3T]/3T]/3T]/3T]/3T]/3T]/3T*4D-3(&9I;&4Z("]R M97!OF5N9%]I;G1EF5N9%]H87-H+F,*/3T] M/3T]/3T]/3T]/3T]/3T]/3T]/3T]/3T]/3T]/3T]/3T]/3T]/3T]/3T]/3T] M/3T]/3T]/3T]/3T]/3T]/3T]/0I20U,@9FEL93H@+W)E<&]S:71OF5N9%]H87-H+F,L=@IR971R:65V:6YG(')E=FES:6]N(#$N M,3$S"F1I9F8@+74@+7(Q+C$Q,R!Z96YD7VAAF5N9%]H87-H+F,),C8@3V-T(#(P,#,@ M,38Z-#8Z,3 @+3 P,# *0$ @+3$S,3,L-B K,3,Q,RPU-"! 0 H@?0H@(V5N M9&EF"B **W-TF5N9%]I;G1EPHK M"7)E='5R;B H:6YT97)N86Q?:&%S:'1A8FQEPHK"4AAF5O9BA(87-H5&%B;&4J*2 J("AI;G1EF5N9%]G8U]A9&1?:6YT97)N M86Q?:&%S:'1A8FQE("5L9" H041$140I7&XB+" H;&]N9REH="D["BM]"BL* M*W9O:60@>F5N9%]G8U]D97-TF5N9%]G8U]D97-T2]:96YD16YG:6YE,B]Z96YD7VAA