Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:15416 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 54292 invoked by uid 1010); 13 Mar 2005 15:01:33 -0000 Delivered-To: ezmlm-scan-internals@lists.php.net Delivered-To: ezmlm-internals@lists.php.net Received: (qmail 54277 invoked from network); 13 Mar 2005 15:01:33 -0000 Received: from unknown (HELO gmail.com) (127.0.0.1) by localhost with SMTP; 13 Mar 2005 15:01:33 -0000 X-Host-Fingerprint: 64.233.184.194 wproxy.gmail.com Linux 2.4/2.6 Received: from ([64.233.184.194:24056] helo=wproxy.gmail.com) by pb1.pair.com (ecelerity HEAD r(5124)) with SMTP id 5D/AF-31540-DC554324 for ; Sun, 13 Mar 2005 10:01:33 -0500 Received: by wproxy.gmail.com with SMTP id 37so1002928wra for ; Sun, 13 Mar 2005 07:01:31 -0800 (PST) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:reply-to:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:references; b=UUne/YpH7ypvEAhUr6FFPxgy1s8hyc28yRtfx3ijQ+8LLnK1ETBrR7Zh8YjVbhwd4FSzcaFC9Y3+id6hXzsL6xQu+U4u4r+RlLmFc9Ve+uUSiCLMnEEWTUn9wqU7KrVhbRaBndRJ/sF5ZaP19+bvo5eBl2VQjAu+xCS7iF10JhY= Received: by 10.54.4.30 with SMTP id 30mr2112789wrd; Sun, 13 Mar 2005 07:01:31 -0800 (PST) Received: by 10.54.44.57 with HTTP; Sun, 13 Mar 2005 07:01:31 -0800 (PST) Message-ID: <4e89b42605031307013841d59@mail.gmail.com> Date: Sun, 13 Mar 2005 10:01:31 -0500 Reply-To: Wez Furlong To: Stanislav Malyshev Cc: Zeev Suraski , PHP Development In-Reply-To: Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit References: <4e89b42605031007587e28c846@mail.gmail.com> <4e89b42605031010124c2a4092@mail.gmail.com> <4e89b42605031012432aac07ae@mail.gmail.com> <4e89b4260503111229565d2a15@mail.gmail.com> Subject: Re: [PHP-DEV] zend_stream_fixup From: kingwez@gmail.com (Wez Furlong) On Sun, 13 Mar 2005 11:10:20 +0200 (IST), Stanislav Malyshev wrote: > WF>>The point is that you associate the approprite methods with the file > WF>>handle at the time you set it to STREAM. > > I think we started to go in circles or you not paying attention what I > actually ask. Once more: I KNOW and I UNDERSTAND why you have these two > handlers for streams (php_stream *). I do not understand why do you use > the same thing for FPs (once more for FILE *, not for php_stream *!) - > provided that the only function that actually benefits from it is > zend_stream_read and it is not overridable. Read the code again; the read function is assigned along with the type and pointer. --Wez.