Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:2339 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 16031 invoked from network); 15 Jun 2003 15:43:09 -0000 Received: from unknown (HELO mail.zend.com) (192.117.235.230) by pb1.pair.com with SMTP; 15 Jun 2003 15:43:09 -0000 Received: (qmail 4765 invoked from network); 15 Jun 2003 15:43:04 -0000 Received: from shire.zend.office (10.1.1.11) by int.zend.com with SMTP; 15 Jun 2003 15:43:04 -0000 Date: Sun, 15 Jun 2003 18:43:04 +0300 (IDT) X-X-Sender: frodo@shire.zend.office To: internals@lists.php.net Message-ID: Organization: Zend Technologies Ltd (http://www.zend.com/) X-no-productlinks: yes MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Subject: file_context_dtor in file.c From: stas@zend.com (Stanislav Malyshev) Could someone who knows the new streams code look explain me what the code in file.c in ZEND_RSRC_DTOR_FUNC(file_context_dtor) supposed to do? It was destroying context->options twice - once with zval_dtor(context->options) directly (which I have commented out) and once from php_stream_context_free(context). What was it meant to do? -- Stanislav Malyshev, Zend Products Engineer stas@zend.com http://www.zend.com/ +972-3-6139665 ext.109