Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:76459 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 61476 invoked from network); 12 Aug 2014 23:31:26 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 12 Aug 2014 23:31:26 -0000 Authentication-Results: pb1.pair.com header.from=jakub.php@gmail.com; sender-id=pass Authentication-Results: pb1.pair.com smtp.mail=jakub.php@gmail.com; spf=pass; sender-id=pass Received-SPF: pass (pb1.pair.com: domain gmail.com designates 209.85.213.182 as permitted sender) X-PHP-List-Original-Sender: jakub.php@gmail.com X-Host-Fingerprint: 209.85.213.182 mail-ig0-f182.google.com Received: from [209.85.213.182] ([209.85.213.182:50201] helo=mail-ig0-f182.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 24/00-60902-BC3AAE35 for ; Tue, 12 Aug 2014 19:31:24 -0400 Received: by mail-ig0-f182.google.com with SMTP id c1so47604igq.9 for ; Tue, 12 Aug 2014 16:32:05 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:in-reply-to:references:date:message-id:subject :from:to:content-type; bh=fmPJkPDOC9aw5xW7CI/Ig8XwwAl/4hff+fz3dhixhIk=; b=trgrKFeQdbGd0KjM6fiO9cisrVsumlxCFOoDwXCSPZzfpJOhoZCpwt64gCcQ434U1A 7uSNGUSqXkvqiJyp16F8qnT9Gv+bISo+EA0RFFIMnWzbWsLj1tjiBkC5/OOhzfADD2WN BqNRFmfadlTb3pOBtlWVeQI61f6C1iv0mbSOsoMq/f7AklS/JrfIKm94+n32EsvnbpYh i+9l5Gvwx9yO7FL53Qo3ba6K/PmrXI/uPebm7h9gdqfIOQ8gX+G7YQqkzMFgzl6E7525 te2cw8OK1+9qBnsVshbm2jrvs6g2XrmIIM4nkDHExRt/FSOqJF4eWhuZvMQ8GrqCpmIt BAXA== MIME-Version: 1.0 X-Received: by 10.51.17.2 with SMTP id ga2mr2761758igd.2.1407886325111; Tue, 12 Aug 2014 16:32:05 -0700 (PDT) Sender: jakub.php@gmail.com Received: by 10.107.135.106 with HTTP; Tue, 12 Aug 2014 16:32:05 -0700 (PDT) Received: by 10.107.135.106 with HTTP; Tue, 12 Aug 2014 16:32:05 -0700 (PDT) In-Reply-To: References: <53EA93F0.8090104@sugarcrm.com> Date: Wed, 13 Aug 2014 00:32:05 +0100 X-Google-Sender-Auth: dOUfQqNwpq-p3w2MLQZQAmsrg60 Message-ID: To: Stas Malyshev , PHP internals list Content-Type: multipart/alternative; boundary=001a113491e44b2de005007714ff Subject: Re: [PHP-DEV] glob() bug 47358 From: bukka@php.net (Jakub Zelenka) --001a113491e44b2de005007714ff Content-Type: text/plain; charset=UTF-8 On 13 Aug 2014 00:25, "Jakub Zelenka" wrote: > > Hi, > > On 12 Aug 2014 23:24, "Stas Malyshev" wrote: > > > > Hi! > > > > Recently bug 47358 came to my attention, and there's something strange > > with it. It is fixed only for 5.6, not listed in NEWS for even that > > version, but the log contains these: > > > > commit f566b4d32183032663ecb35895c0dafd8e051853 > > Merge: 7a13ce6 10a2c0d > > Author: Pierre Joye > > Date: Tue Jan 8 15:16:35 2013 +0100 > > > > Merge branch 'PHP-5.5' > > > > * PHP-5.5: > > - fix bug #47358, glob returns error, should be empty array() > > - NEWS entry for #50524 > > > > commit 10a2c0d574be62be1f0224d23909e27e74c87445 > > Merge: f4142a9 2fb7cd3 > > Author: Pierre Joye > > Date: Tue Jan 8 15:13:40 2013 +0100 > > > > Merge branch 'PHP-5.4' into PHP-5.5 > > > > * PHP-5.4: > > - fix bug #47358, glob returns error, should be empty array() > > - NEWS entry for #50524 > > > > However, no trace of fixes for 47358 in either 5.4 or 5.5. Could > > somebody explain what happened there? I couldn't find any discussion on > > this bug except for this: > > http://grokbase.com/t/php/php-internals/11a9mgeftd/bug-47358-unexpected-behaviour > > > > Is there any reason why the fix is only in 5.6? Any reason why it's not > > in the NEWS? > > -- > > Stanislav Malyshev, Software Architect > > SugarCRM: http://www.sugarcrm.com/ > > > > -- > > PHP Internals - PHP Runtime Development Mailing List > > To unsubscribe, visit: http://www.php.net/unsub.php > > > > I think there are quite a few other related bugs. See this PR for more details https://github.com/php/php-src/pull/398 (the discussion is not just about the GlobIterator but also about issues with glob and open_basedir as well) > > Jakub Oops forgot to cc internal. Sorry stas you will get it three times. I'm lame in sending emails from my phone... :) --001a113491e44b2de005007714ff--