Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:67055 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 53662 invoked from network); 11 Apr 2013 18:12:07 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 11 Apr 2013 18:12:07 -0000 Authentication-Results: pb1.pair.com header.from=pierre.php@gmail.com; sender-id=pass Authentication-Results: pb1.pair.com smtp.mail=pierre.php@gmail.com; spf=pass; sender-id=pass Received-SPF: pass (pb1.pair.com: domain gmail.com designates 209.85.215.48 as permitted sender) X-PHP-List-Original-Sender: pierre.php@gmail.com X-Host-Fingerprint: 209.85.215.48 mail-la0-f48.google.com Received: from [209.85.215.48] ([209.85.215.48:61004] helo=mail-la0-f48.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id EC/13-36029-6FCF6615 for ; Thu, 11 Apr 2013 14:12:06 -0400 Received: by mail-la0-f48.google.com with SMTP id fq12so1741206lab.21 for ; Thu, 11 Apr 2013 11:12:03 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:x-received:in-reply-to:references:date:message-id :subject:from:to:cc:content-type:content-transfer-encoding; bh=LYhOCyxOoqOGDZSR2PNWsW0ld17sLfQNK9oZuckHfgU=; b=OOgL4Eg6we5YTftfuUbt/6yRUXEbbRdvcEQvKR7Z2998/3QIZh6FbtgE+0DwgsPjg9 xTnynD+ztO/GggwEwVVs5fG9VyWjAlBv4zmoQNT35kt2nz3biTr4dz2cGfHApjYCeX3L SPUzo6BfQJO2JWYm9oGiJpSF4vWYH6aw7xtbt9QGz+7QuvKXg6JfZ9HJzcSb8NLR1oPv irKp5ax1XriWTs/41BaAwpotWLFCdYoC71wwqn8XXKZU53L7vMajeVwth9fklAkLG3lr PlgA/Y9JzxwP0SMitxTNboaYpMjcXc8dDBECSzcHstyMDalgzcoP7/c5UDSTm5X+6uzZ mjRA== MIME-Version: 1.0 X-Received: by 10.112.125.167 with SMTP id mr7mr3594313lbb.19.1365703923224; Thu, 11 Apr 2013 11:12:03 -0700 (PDT) Received: by 10.112.163.40 with HTTP; Thu, 11 Apr 2013 11:12:03 -0700 (PDT) In-Reply-To: References: <1364337846.21443.58.camel@ghost> <51533A7A.8060204@gmx.net> <51536022.5080202@gmx.net> <1364836405.2855.16.camel@ghost> <5160B9F2.5080806@sugarcrm.com> <1365356692.2351.11.camel@atom.net> Date: Thu, 11 Apr 2013 20:12:03 +0200 Message-ID: To: =?UTF-8?B?T25kxZllaiBTdXLDvQ==?= Cc: Anatoliy Belsky , Stas Malyshev , David Soria Parra , =?ISO-8859-1?Q?Johannes_Schl=FCter?= , PHP Internals , jpauli Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Subject: Re: [PHP-DEV] Re: libmagic 5.14 upgrade From: pierre.php@gmail.com (Pierre Joye) On Thu, Apr 11, 2013 at 5:27 PM, Ond=C5=99ej Sur=C3=BD wr= ote: > Just a curious question =E2=80=93 would it be possible to add some code > directly to upstream, so you wouldn't have to engulf > yet-another-library into PHP source tree? It is a bit of work to support php's stream upstream. I wanted to do it back then but it was simply easier to patch the bundled version. To support stream it would need something like what we do in libgd or something along this line, so we can pass our own handles and ops. > It's always a security nightmare to have various copies of libraries > at various places of the system. I totally agree but not always possible. Same problem with the timezone, users experience matters more too as everyone gets on the same line/stage with a given PHP release and avoids many data related issues. Cheers, -- Pierre @pierrejoye