Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:60608 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 48371 invoked from network); 18 May 2012 10:45:37 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 18 May 2012 10:45:37 -0000 Received: from [127.0.0.1] ([127.0.0.1:14813]) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ECSTREAM id FD/E5-01728-15826BF4 for ; Fri, 18 May 2012 06:45:37 -0400 X-Host-Fingerprint: 83.82.144.78 5352904E.cm-6-3c.dynamic.ziggo.nl Received: from [83.82.144.78] ([83.82.144.78:6429] helo=localhost.localdomain) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id BB/E5-01728-4B726BF4 for ; Fri, 18 May 2012 06:43:00 -0400 Message-ID: To: internals@lists.php.net Date: Fri, 18 May 2012 12:42:58 +0200 Organization: nCode User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:12.0) Gecko/20120430 Thunderbird/12.0.1 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Posted-By: 83.82.144.78 Subject: Old bug 40459: Stat and Dir stream wrapper methods do not call constructor From: jschippers@php.net (Jorrit Schippers - nCode) Hi all, I encountered bug #40459 [1] recently. It seems the bug has been ignored because not many people encounter it and the original author did not give feedback. The issue is assigned to Wez. According to the git checkin history, he doesn't seem to be a contributor anymore. I mailed him to see if he can recommend someone to handle this issue, no response. So my question is: can anyone familiar with the Stream Wrapper code take a look at this issue? My C is not of sufficient level to fix this myself. My idea would be to abstract creating a stream wrapper instance and invoking the constructor to a separate function and calling that function from the various functions that use stream wrappers, as the amount of code needed to construct an instance and call the constructor seems quite high to copy everywhere. Kind regards, Jorrit Schippers [1] https://bugs.php.net/bug.php?id=40459