Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:15357 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 91020 invoked by uid 1010); 10 Mar 2005 18:00:03 -0000 Delivered-To: ezmlm-scan-internals@lists.php.net Delivered-To: ezmlm-internals@lists.php.net Received: (qmail 90996 invoked from network); 10 Mar 2005 18:00:02 -0000 Received: from unknown (HELO zend.com) (127.0.0.1) by localhost with SMTP; 10 Mar 2005 18:00:02 -0000 X-Host-Fingerprint: 80.74.107.235 mail.zend.com Linux 2.5 (sometimes 2.4) (4) Received: from ([80.74.107.235:60942] helo=mail.zend.com) by pb1.pair.com (ecelerity HEAD r(5124)) with SMTP id 2F/F2-53294-22B80324 for ; Thu, 10 Mar 2005 13:00:02 -0500 Received: (qmail 20047 invoked from network); 10 Mar 2005 17:59:59 -0000 Received: from shire.zend.office (10.1.2.160) by internal.zend.office with SMTP; 10 Mar 2005 17:59:59 -0000 Date: Thu, 10 Mar 2005 19:59:58 +0200 (IST) X-X-Sender: frodo@shire.zend.office To: Wez Furlong cc: Zeev Suraski , PHP Development In-Reply-To: <4e89b42605031007587e28c846@mail.gmail.com> Message-ID: References: <4e89b4260503090718503f9a5@mail.gmail.com> <4e89b42605030907315a85ce74@mail.gmail.com> <4e89b426050309075047ce556c@mail.gmail.com> <5.1.0.14.2.20050310154031.0678e880@localhost> <787679020.20050310152340@marcus-boerger.de> <4e89b42605031007587e28c846@mail.gmail.com> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Subject: Re: [PHP-DEV] zend_stream_fixup From: stas@zend.com (Stanislav Malyshev) WF>>_FP means that it is a plain file handle, which cannot be used with WF>>the zend_stream functions as-is, STREAM means that the zend_stream WF>>functions can work. That I understand. What I do not understand is why this single function needs it's own type. Why it can't just handle all file_handle types just like any other functions do. I would understand if there were ten function like this - but so far we have one. WF>>Look, if you need to stat the damned thing, why not just add a stat WF>>method to zend_streams.c ? Because stat is not the only thing it is needed and because I think it's wrong way to do things. I think the right way is for STREAM to be php_stream and for FP to be FP. -- Stanislav Malyshev, Zend Products Engineer stas@zend.com http://www.zend.com/ +972-3-6139665 ext.115