Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:42662 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 63489 invoked from network); 16 Jan 2009 16:12:28 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 16 Jan 2009 16:12:28 -0000 Authentication-Results: pb1.pair.com header.from=pierre.php@gmail.com; sender-id=pass; domainkeys=bad 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 72.14.220.153 as permitted sender) DomainKey-Status: bad X-DomainKeys: Ecelerity dk_validate implementing draft-delany-domainkeys-base-01 X-PHP-List-Original-Sender: pierre.php@gmail.com X-Host-Fingerprint: 72.14.220.153 fg-out-1718.google.com Received: from [72.14.220.153] ([72.14.220.153:20090] helo=fg-out-1718.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 7E/77-27029-BE1B0794 for ; Fri, 16 Jan 2009 11:12:27 -0500 Received: by fg-out-1718.google.com with SMTP id 16so745913fgg.23 for ; Fri, 16 Jan 2009 08:12:21 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:cc:content-type :content-transfer-encoding; bh=XgZ+y0wZ69hzmrldmx9osOK4RarbMfEFp+2OFH1t2EI=; b=uhIeVvSgOiuOtYwLO+pJ94usHIFkiFfehxi8a3Yxgs6LGNKPk421j1KaXYJuWLN5Pu eHuxYpz66XNPoato7ZEVcPwNDWltcpjsqK8ka+yzytid9NNX3GwMyy33iOLCZT7CvYFZ ZZrd5y9qO8/WOz3nPCliKtMmIjffTgUaSqY70= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:content-transfer-encoding; b=h7zryP7ze7/VajVp9jhUpfxn3w76aAnwgTXF44w9ab1kw3wxLlgqAk5Nejcmj8/D/X PyrtYaBerINyDPfdTXf/lgZn3qaGzpHsE3MXkhwG3GDO+2uY/Zk93fIJont9pg2Wf6B/ XUl33Kma8jFHpxDSQ+zmTTvgz7ewJn1kSQeO8= MIME-Version: 1.0 Received: by 10.86.92.4 with SMTP id p4mr2084620fgb.36.1232122340977; Fri, 16 Jan 2009 08:12:20 -0800 (PST) In-Reply-To: References: <8C.85.27029.97F90794@pb1.pair.com> Date: Fri, 16 Jan 2009 17:12:20 +0100 Message-ID: To: Karsten Dambekalns Cc: internals@lists.php.net Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Subject: Re: [PHP-DEV] Path length for files on NTFS From: pierre.php@gmail.com (Pierre Joye) On Fri, Jan 16, 2009 at 5:03 PM, Pierre Joye wrote: >> Well, not really. Our names include some information, so hashing isn't >> really an option. For now we'll probably just skip supporting Windows. > > The problem is exactly the same on any OS, only the size varies. The > limit is not higher either. What do you use as naming for your > entries? Btw, what do you do when the path len of the path where the cache is stored is closed from MAXPATHLEN (PHP_MAXPATHLEN in userland)? Given than MAXPATHLEN can be between 260 and 2048 (~), that' can happen easily. Cheers, -- Pierre http://blog.thepimp.net | http://www.libgd.org