Re: Path length for files on NTFS
| From: | Pierre Joye | Date: | Fri, 16 Jan 2009 16:12:20 +0000 |
| Subject: | Re: Path length for files on NTFS | ||
| References: | 1 2 3 4 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-42662@lists.php.net to get a copy of this message | ||
On Fri, Jan 16, 2009 at 5:03 PM, Pierre Joye <pierre.php@gmail.com> 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