Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:64651 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 9078 invoked from network); 7 Jan 2013 21:22:15 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 7 Jan 2013 21:22:15 -0000 Authentication-Results: pb1.pair.com header.from=tyra3l@gmail.com; sender-id=pass Authentication-Results: pb1.pair.com smtp.mail=tyra3l@gmail.com; spf=pass; sender-id=pass Received-SPF: pass (pb1.pair.com: domain gmail.com designates 209.85.223.180 as permitted sender) X-PHP-List-Original-Sender: tyra3l@gmail.com X-Host-Fingerprint: 209.85.223.180 mail-ie0-f180.google.com Received: from [209.85.223.180] ([209.85.223.180:60698] helo=mail-ie0-f180.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 82/21-02374-58C3BE05 for ; Mon, 07 Jan 2013 16:22:13 -0500 Received: by mail-ie0-f180.google.com with SMTP id c10so24191980ieb.39 for ; Mon, 07 Jan 2013 13:22:10 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=jasN+duI+5dsrxhlNpdh++w4TkR0KPAro0fylmiaNOQ=; b=qeqA5nF8aQVrgXFdvIG6CkIKnIAIz/VbwcPvk9AuINjwUHADz3wm+OgWmlgmYybgWf 4emFUoHwqF/AcLHczF2YTJeZ5G2D4RC4JnhjCOpPxJ7UFqjUXEs0gMag/ec5bzly3twa VcrAo+cC4gtPSgnhZAv6xWPMVPkTg5PgADBBDLcTq+mEqQ7xi7EKB7+Kq8HwSe2DyJEn atz4H9LW//lYn8mOevmh5puqus+RaMbCIV76jlcyTz6c9FW/4gswDT73T5OC2SZvrLhD cvhZwM52K0iM+pPpJDH7gFnZFRxi+rk1Aa5GHrkT/Hxq6VnkaAR8phYOHX99HH+hduU2 iW4A== MIME-Version: 1.0 Received: by 10.50.42.169 with SMTP id p9mr6781806igl.17.1357593730210; Mon, 07 Jan 2013 13:22:10 -0800 (PST) Received: by 10.50.106.138 with HTTP; Mon, 7 Jan 2013 13:22:10 -0800 (PST) In-Reply-To: References: Date: Mon, 7 Jan 2013 22:22:10 +0100 Message-ID: To: Pierre Joye Cc: Nicolai Scheer , PHP internals Content-Type: multipart/alternative; boundary=14dae93410b909d9da04d2b96c5a Subject: Re: [PHP-DEV] File-Paths exceeding MAX_PATH on Windows From: tyra3l@gmail.com (Ferenc Kovacs) --14dae93410b909d9da04d2b96c5a Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable > > > It would be indeed nice if the "\\?\" prefix was not needed in userspac= e > > and php would do the work. But just for now I really would like to see > php > > support for long paths on windows at all. To my mind the changes needed > for > > the prefix workaround are function is minimal-invasive. Correct me, if > I'm > > wrong :) > > I would not ever expose that prefix to userland, the consequences and > how we have to manage it are way too complicated for a user land > scripting languages (even in C apps it is not recommended). > is this about allowing the user to shot him/herself in the foot, or adding this feature could potentially break some existing functionality (eg. new trick to bypass open_basedir, etc.)? > > A better solution I work on for previous php version (incl. 5.5 as I > won't make it in time) is an extension which would override existing > functions. Next major version (6) will support unicode filenames, > which will solve the 255 chars horrible limitation. > by 6.0 you mean php next after 5.5, or adding this to the core would require a major version for some reason? --=20 Ferenc Kov=C3=A1cs @Tyr43l - http://tyrael.hu --14dae93410b909d9da04d2b96c5a--